mirror of
https://github.com/boostorg/test.git
synced 2026-01-22 17:52:18 +00:00
61 lines
2.7 KiB
HTML
61 lines
2.7 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>Boost Test Library: errors_handling_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">errors_handling_test</SPAN>
|
|
</DIV>
|
|
<DIV class="body"> <IMG src="../btl1.gif" width="252" height="43" alt="Boost Test logo">
|
|
<H1 class="subtitle">The Unit Test Framework errors handling test</H1>
|
|
<TABLE class="test-example-summary">
|
|
<TR>
|
|
<TD class="title" valign="top">Rationale:</TD>
|
|
<TD>intended to test that the Unit Test Framework properly handle different errors during different
|
|
stages of testing. Testing output is matched the pattern file. The pattern file is located in
|
|
test directory. To run test in a match mode (default) you does not need to provide any more arguments.
|
|
To run test in save mode (this way you could generate pattern file) run test with the additional
|
|
argument: --save_pattern=yes. </TD>
|
|
</TR>
|
|
<TR>
|
|
<TD class="title" valign="top">Type:</TD>
|
|
<TD>run-time</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD class="title" valign="top">Component needed:</TD>
|
|
<TD>the Test Execution Monitor</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD class="title" valign="top">Need Test Pattern:</TD>
|
|
<TD><A href="../../test/test_files/errors_handling_test.pattern">yes</A></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD class="title" valign="top">Expected Output:</TD>
|
|
<TD><SPAN class="test-output"><BR>
|
|
*** No errors detected </SPAN> </TD>
|
|
</TR>
|
|
<TR>
|
|
<TD class="title" valign="top">Result Code:</TD>
|
|
<TD>0</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD class="title" valign="top">Source:</TD>
|
|
<TD><A href="../../test/errors_handling_test.cpp">errors_handling_test.cpp</A></TD>
|
|
</TR>
|
|
</TABLE>
|
|
</DIV>
|
|
<DIV class="footer">
|
|
<DIV class="footer-body">
|
|
<P> © <A name="Copyright">Copyright</A> <A href="mailto:boost-test%20at%20emailaccount%20dot%20com%20%28please%20unobscure%29">Gennadiy Rozental</A> 2001-2006. <BR>
|
|
Distributed under 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>
|