| 1 | <HTML> |
|---|
| 2 | <HEAD> |
|---|
| 3 | <TITLE>Boost Test Library: minimal_test test</TITLE> |
|---|
| 4 | <LINK rel="stylesheet" type="text/css" href="../style/btl.css" media="screen"> |
|---|
| 5 | <LINK rel="stylesheet" type="text/css" href="../style/btl-print.css" media="print"> |
|---|
| 6 | <META http-equiv="Content-Language" content="en-us"> |
|---|
| 7 | <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
|---|
| 8 | </HEAD> |
|---|
| 9 | <BODY> |
|---|
| 10 | <DIV class="header"> <A href="../index.html">Boost.Test</A> > <A href="index.html">Tests</A> > <SPAN class="current_article">minimal_test</SPAN> |
|---|
| 11 | </DIV> |
|---|
| 12 | <DIV class="body"> <IMG src='../btl1.gif' width='252' height='43' alt="Boost Test logo"> |
|---|
| 13 | <H1 class="subtitle">The minimal testing facility unit test</H1> |
|---|
| 14 | <TABLE class="test-example-summary"> |
|---|
| 15 | <TR> |
|---|
| 16 | <TD class="title" valign="top">Rationale:</TD> |
|---|
| 17 | <TD>intend to perform the detailed test and demonstrate usage of the minimal testing facility </TD> |
|---|
| 18 | </TR> |
|---|
| 19 | <TR> |
|---|
| 20 | <TD class="title" valign="top">Type:</TD> |
|---|
| 21 | <TD>run-time-failure</TD> |
|---|
| 22 | </TR> |
|---|
| 23 | <TR> |
|---|
| 24 | <TD class="title" valign="top">Component needed:</TD> |
|---|
| 25 | <TD>none</TD> |
|---|
| 26 | </TR> |
|---|
| 27 | <TR> |
|---|
| 28 | <TD class="title" valign="top">Need Test Pattern:</TD> |
|---|
| 29 | <TD>no</TD> |
|---|
| 30 | </TR> |
|---|
| 31 | <TR> |
|---|
| 32 | <TD class="title" valign="top">Expected Output:</TD> |
|---|
| 33 | <TD><SPAN class="test-output"> .../minimal_test.cpp(56): test i == 2 failed<BR> |
|---|
| 34 | .../minimal_test.cpp(59): test bool_convertible1( false ) failed<BR> |
|---|
| 35 | .../minimal_test.cpp(62): test bool_convertible2( 0 ) failed<BR> |
|---|
| 36 | .../minimal_test.cpp(65): test bool_convertible3( NULL ) failed<BR> |
|---|
| 37 | .../minimal_test.cpp(67): Some error<BR> |
|---|
| 38 | .../minimal_test.cpp(69): test i == 4 failed<BR> |
|---|
| 39 | <BR> |
|---|
| 40 | **** Testing aborted.<BR> |
|---|
| 41 | **** 6 errors detected<BR> |
|---|
| 42 | </SPAN> </TD> |
|---|
| 43 | </TR> |
|---|
| 44 | <TR> |
|---|
| 45 | <TD class="title" valign="top">Result Code:</TD> |
|---|
| 46 | <TD>201</TD> |
|---|
| 47 | </TR> |
|---|
| 48 | <TR> |
|---|
| 49 | <TD class="title" valign="top">Source:</TD> |
|---|
| 50 | <TD><A href="../../test/minimal_test.cpp">minimal_test.cpp</A></TD> |
|---|
| 51 | </TR> |
|---|
| 52 | </TABLE> |
|---|
| 53 | </DIV> |
|---|
| 54 | <DIV class="footer"> |
|---|
| 55 | <DIV class="footer-body"> |
|---|
| 56 | <P> © <A name="Copyright">Copyright</A> <A href='mailto:boost-test at emailaccount dot com (please unobscure)'>Gennadiy Rozental</A> 2001-2005. <BR> |
|---|
| 57 | Distributed under the Boost Software License, Version 1.0. |
|---|
| 58 | (See accompanying file <A href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A> or copy at |
|---|
| 59 | <A href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</A>)</P> |
|---|
| 60 | <P>Revised: <!-- #BeginDate format:Sw1 -->6 January, 2004<!-- #EndDate --> </P> |
|---|
| 61 | </DIV> |
|---|
| 62 | </DIV> |
|---|
| 63 | </BODY> |
|---|
| 64 | </HTML> |
|---|