<HTML> <HEAD> <TITLE>Boost Test Library: minimal_test test</TITLE> <LINK rel="stylesheet" type="text/css" href="../style/btl.css" media="screen"> <LINK rel="stylesheet" type="text/css" href="../style/btl-print.css" media="print"> <META http-equiv="Content-Language" content="en-us"> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </HEAD> <BODY> <DIV class="header"> <A href="../index.html">Boost.Test</A> > <A href="index.html">Tests</A> > <SPAN class="current_article">minimal_test</SPAN> </DIV> <DIV class="body"> <IMG src='../btl1.gif' width='252' height='43' alt="Boost Test logo"> <H1 class="subtitle">The minimal testing facility unit test</H1> <TABLE class="test-example-summary"> <TR> <TD class="title" valign="top">Rationale:</TD> <TD>intend to perform the detailed test and demonstrate usage of the minimal testing facility </TD> </TR> <TR> <TD class="title" valign="top">Type:</TD> <TD>run-time-failure</TD> </TR> <TR> <TD class="title" valign="top">Component needed:</TD> <TD>none</TD> </TR> <TR> <TD class="title" valign="top">Need Test Pattern:</TD> <TD>no</TD> </TR> <TR> <TD class="title" valign="top">Expected Output:</TD> <TD><SPAN class="test-output"> .../minimal_test.cpp(56): test i == 2 failed<BR> .../minimal_test.cpp(59): test bool_convertible1( false ) failed<BR> .../minimal_test.cpp(62): test bool_convertible2( 0 ) failed<BR> .../minimal_test.cpp(65): test bool_convertible3( NULL ) failed<BR> .../minimal_test.cpp(67): Some error<BR> .../minimal_test.cpp(69): test i == 4 failed<BR> <BR> **** Testing aborted.<BR> **** 6 errors detected<BR> </SPAN> </TD> </TR> <TR> <TD class="title" valign="top">Result Code:</TD> <TD>201</TD> </TR> <TR> <TD class="title" valign="top">Source:</TD> <TD><A href="../../test/minimal_test.cpp">minimal_test.cpp</A></TD> </TR> </TABLE> </DIV> <DIV class="footer"> <DIV class="footer-body"> <P> © <A name="Copyright">Copyright</A> <A href='mailto:rogeeff@fusemail.com'>Gennadiy Rozental</A> 2001-2004. <BR> Use, modification, and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file <A href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A> or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</A>)</P> <P>Revised: <!-- #BeginDate format:Sw1 -->6 January, 2004<!-- #EndDate --> </P> </DIV> </DIV> </BODY> </HTML>