2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-18 02:22:09 +00:00

some cleanup

[SVN r81191]
This commit is contained in:
Gennadiy Rozental
2012-11-05 06:03:48 +00:00
parent 601e292135
commit bd6850ccc3
75 changed files with 412 additions and 412 deletions

View File

@@ -41,7 +41,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -61,8 +61,8 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: , at </small></p></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -69,7 +69,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -50,14 +50,14 @@
<span class="keyword">class</span> <a class="link" href="reference.html#boost.execution_monitor" title="Class execution_monitor">execution_monitor</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="comment">// <a class="link" href="reference.html#boost.execution_monitorconstruct-copy-destruct">construct/copy/destruct</a></span>
<a class="link" href="reference.html#id365451-bb"><span class="identifier">execution_monitor</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<a class="link" href="reference.html#id306127-bb"><span class="identifier">execution_monitor</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="reference.html#id366146-bb">execution</a></span>
<span class="keyword">int</span> <a class="link" href="reference.html#id366474-bb"><span class="identifier">execute</span></a><span class="special">(</span>unit_test::callback0<span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="keyword">const</span><span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="reference.html#id306628-bb">execution</a></span>
<span class="keyword">int</span> <a class="link" href="reference.html#id306657-bb"><span class="identifier">execute</span></a><span class="special">(</span>unit_test::callback0<span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="keyword">const</span><span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="reference.html#id367017-bb">registration</a></span>
<span class="comment">// <a class="link" href="reference.html#id306341-bb">registration</a></span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Exception<span class="special">,</span> <span class="keyword">typename</span> ExceptionTranslator<span class="special">&gt;</span>
<span class="keyword">void</span> <a class="link" href="reference.html#id367013-bb"><span class="identifier">register_exception_translator</span></a><span class="special">(</span><span class="identifier">ExceptionTranslator</span> <span class="keyword">const</span><span class="special">&amp;</span><span class="special">,</span>
<span class="keyword">void</span> <a class="link" href="reference.html#id306668-bb"><span class="identifier">register_exception_translator</span></a><span class="special">(</span><span class="identifier">ExceptionTranslator</span> <span class="keyword">const</span><span class="special">&amp;</span><span class="special">,</span>
boost::type<span class="special">&lt;</span><span class="identifier">Exception</span><span class="special">&gt;</span><span class="special">*</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// public data members</span>
@@ -80,14 +80,14 @@
</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id603792"></a><h2>Description</h2>
<a name="id552194"></a><h2>Description</h2>
<div class="refsect2">
<a name="id603796"></a><h3>
<a name="id552198"></a><h3>
<a name="boost.execution_monitorconstruct-copy-destruct"></a><code class="computeroutput">execution_monitor</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><a name="id365451-bb"></a><span class="identifier">execution_monitor</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<pre class="literallayout"><a name="id306127-bb"></a><span class="identifier">execution_monitor</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
@@ -104,10 +104,10 @@
</li></ol></div>
</div>
<div class="refsect2">
<a name="id603855"></a><h3>
<a name="id366146-bb"></a><code class="computeroutput">execution_monitor</code> execution</h3>
<a name="id552256"></a><h3>
<a name="id306628-bb"></a><code class="computeroutput">execution_monitor</code> execution</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><span class="keyword">int</span> <a name="id366474-bb"></a><span class="identifier">execute</span><span class="special">(</span>unit_test::callback0<span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="keyword">const</span><span class="special">&amp;</span> F<span class="special">)</span><span class="special">;</span></pre>
<pre class="literallayout"><span class="keyword">int</span> <a name="id306657-bb"></a><span class="identifier">execute</span><span class="special">(</span>unit_test::callback0<span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="keyword">const</span><span class="special">&amp;</span> F<span class="special">)</span><span class="special">;</span></pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
@@ -141,11 +141,11 @@
</li></ol></div>
</div>
<div class="refsect2">
<a name="id603963"></a><h3>
<a name="id367017-bb"></a><code class="computeroutput">execution_monitor</code> registration</h3>
<a name="id552364"></a><h3>
<a name="id306341-bb"></a><code class="computeroutput">execution_monitor</code> registration</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Exception<span class="special">,</span> <span class="keyword">typename</span> ExceptionTranslator<span class="special">&gt;</span>
<span class="keyword">void</span> <a name="id367013-bb"></a><span class="identifier">register_exception_translator</span><span class="special">(</span><span class="identifier">ExceptionTranslator</span> <span class="keyword">const</span><span class="special">&amp;</span> tr<span class="special">,</span>
<span class="keyword">void</span> <a name="id306668-bb"></a><span class="identifier">register_exception_translator</span><span class="special">(</span><span class="identifier">ExceptionTranslator</span> <span class="keyword">const</span><span class="special">&amp;</span> tr<span class="special">,</span>
boost::type<span class="special">&lt;</span><span class="identifier">Exception</span><span class="special">&gt;</span><span class="special">*</span> dummy <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span></pre>register custom (user supplied) exception translator<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
@@ -187,7 +187,7 @@
<span class="keyword">enum</span> <a class="link" href="reference.html#boost.execution_exception.error_code" title="Type error_code">error_code</a><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id604162"></a><h2>Description</h2>
<a name="id552564"></a><h2>Description</h2>
<p class="first-line-indented">
The class execution_exception is an exception used by the Execution Monitor to report problems detected during
a monitored function execution. It intentionally does not allocate any memory so as to be safe for use when
@@ -206,7 +206,7 @@
<span class="keyword">enum</span> <span class="identifier">error_code</span> <span class="special">{</span> no_error, user_error, cpp_exception_error, system_error,
timeout_error, user_fatal_error, system_fatal_error <span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id604220"></a><h2>Description</h2>
<a name="id552621"></a><h2>Description</h2>
<p class="first-line-indented">
These values are sometimes used as program return codes. The particular values have been chosen to avoid
conflicts with commonly used program return codes: values &lt; 100 are often user assigned, values &gt; 255 are
@@ -272,7 +272,7 @@
<span class="keyword">class</span> <a class="link" href="reference.html#boost.system_error" title="Class system_error">system_error</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="comment">// <a class="link" href="reference.html#boost.system_errorconstruct-copy-destruct">construct/copy/destruct</a></span>
<a class="link" href="reference.html#id366178-bb"><span class="identifier">system_error</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<a class="link" href="reference.html#id305959-bb"><span class="identifier">system_error</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// public data members</span>
unit_test::readonly_property<span class="special">&lt;</span><span class="keyword">long</span><span class="special">&gt;</span> <span class="identifier">p_errno</span><span class="special">;</span> <span class="comment">//
@@ -280,14 +280,14 @@
</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id604421"></a><h2>Description</h2>
<a name="id552823"></a><h2>Description</h2>
<div class="refsect2">
<a name="id604425"></a><h3>
<a name="id552826"></a><h3>
<a name="boost.system_errorconstruct-copy-destruct"></a><code class="computeroutput">system_error</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><a name="id366178-bb"></a><span class="identifier">system_error</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<pre class="literallayout"><a name="id305959-bb"></a><span class="identifier">system_error</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
@@ -309,7 +309,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -54,7 +54,7 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="execution-monitor.user-guide.monitor-outcomes"></a>Monitored function execution</h4></div></div></div>
<p class="first-line-indented">
To start the monitored function, invoke the method <code class="computeroutput"><a class="link" href="reference.html#id366474-bb">execution_monitor::execute</a></code> and pass
To start the monitored function, invoke the method <code class="computeroutput"><a class="link" href="reference.html#id306657-bb">execution_monitor::execute</a></code> and pass
the monitored function as an argument. If the call succeeds, the method returns the result code produced by the
monitored function. If any of the following conditions occur:
</p>
@@ -128,7 +128,7 @@
<p class="first-line-indented">
Finally, if you need to abort the monitored function execution without reporting any errors, you can throw an
exception <code class="computeroutput"><a class="link" href="reference.html#boost.execution_aborted" title="Class execution_aborted">execution_aborted</a></code>. As a result the execution is aborted and zero result code
is produced by the method <code class="computeroutput"><a class="link" href="reference.html#id366474-bb">execution_monitor::execute</a></code>.
is produced by the method <code class="computeroutput"><a class="link" href="reference.html#id306657-bb">execution_monitor::execute</a></code>.
</p>
</div>
<div class="section">
@@ -154,7 +154,7 @@ void break_memory_alloc( long mem_alloc_order_num );</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -28,40 +28,40 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="btl.faq"></a>Frequently Asked Questions</h3></div></div></div>
<div class="qandaset">
<a name="id578660"></a><dl>
<dt> <a href="faq.html#id578666">
<a name="id526419"></a><dl>
<dt> <a href="faq.html#id526425">
Where the latest version of the Boost Test Library is located?
</a>
</dt>
<dt> <a href="faq.html#id578688">
<dt> <a href="faq.html#id526448">
I found a bug. Where can I report it?
</a>
</dt>
<dt> <a href="faq.html#id578712">
<dt> <a href="faq.html#id526472">
I have a request for a new feature. Where can I ask for it?
</a>
</dt>
<dt> <a href="faq.html#id578736">
<dt> <a href="faq.html#id526496">
How to create test case using the Unit Test Framework?
</a>
</dt>
<dt> <a href="faq.html#id578760">
<dt> <a href="faq.html#id526520">
How to create test suite using the Unit Test Framework?
</a>
</dt>
<dt> <a href="faq.html#id578784">
<dt> <a href="faq.html#id526544">
Why did I get a linker error when compiling my test program?
</a>
</dt>
<dt> <a href="faq.html#id578828">
<dt> <a href="faq.html#id526587">
How can I redirect testing output?
</a>
</dt>
<dt> <a href="faq.html#id578852">
<dt> <a href="faq.html#id526611">
I want different default log trace level
</a>
</dt>
<dt> <a href="faq.html#id578876">
<dt> <a href="faq.html#id526635">
Is there DLL version of Boost.Test components available on Win32 platform?
</a>
</dt>
@@ -72,7 +72,7 @@
<tbody>
<tr class="question">
<td align="left" valign="top">
<a name="id578666"></a><a name="id578668"></a>
<a name="id526425"></a><a name="id526428"></a>
</td>
<td align="left" valign="top"><b><p>
Where the latest version of the Boost Test Library is located?
@@ -86,7 +86,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id578688"></a><a name="id578691"></a>
<a name="id526448"></a><a name="id526450"></a>
</td>
<td align="left" valign="top"><b><p>
I found a bug. Where can I report it?
@@ -96,12 +96,12 @@
<td align="left" valign="top"></td>
<td align="left" valign="top"><p class="first-line-indented">
You can send a bug report to the boost users' mailing list and/or directly to
<a href="mailto:boost-test%20-at-%20emailacocunt%20-dot-%20com" target="_top">Gennadiy Rozental</a>.
<a href="mailto:boost-test%20=at=%20emailaccount%20=dot=%20com" target="_top">Gennadiy Rozental</a>.
</p></td>
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id578712"></a><a name="id578715"></a>
<a name="id526472"></a><a name="id526474"></a>
</td>
<td align="left" valign="top"><b><p>
I have a request for a new feature. Where can I ask for it?
@@ -111,12 +111,12 @@
<td align="left" valign="top"></td>
<td align="left" valign="top"><p class="first-line-indented">
You can send a request to the boost developers' mailing list and/or directly to
<a href="mailto:boost-test%20-at-%20emailacocunt%20-dot-%20com" target="_top">Gennadiy Rozental</a>.
<a href="mailto:boost-test%20=at=%20emailaccount%20-dot-%20com" target="_top">Gennadiy Rozental</a>.
</p></td>
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id578736"></a><a name="id578739"></a>
<a name="id526496"></a><a name="id526498"></a>
</td>
<td align="left" valign="top"><b><p>
How to create test case using the Unit Test Framework?
@@ -131,7 +131,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id578760"></a><a name="id578763"></a>
<a name="id526520"></a><a name="id526522"></a>
</td>
<td align="left" valign="top"><b><p>
How to create test suite using the Unit Test Framework?
@@ -146,7 +146,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id578784"></a><a name="id578787"></a>
<a name="id526544"></a><a name="id526546"></a>
</td>
<td align="left" valign="top"><b><p>
Why did I get a linker error when compiling my test program?
@@ -172,7 +172,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id578828"></a><a name="id578830"></a>
<a name="id526587"></a><a name="id526590"></a>
</td>
<td align="left" valign="top"><b><p>
How can I redirect testing output?
@@ -187,7 +187,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id578852"></a><a name="id578854"></a>
<a name="id526611"></a><a name="id526614"></a>
</td>
<td align="left" valign="top"><b><p>
I want different default log trace level
@@ -203,7 +203,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id578876"></a><a name="id578878"></a>
<a name="id526635"></a><a name="id526638"></a>
</td>
<td align="left" valign="top"><b><p>
Is there DLL version of Boost.Test components available on Win32 platform?
@@ -221,7 +221,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -25,9 +25,9 @@
</h3>
<code class="email">&lt;<a class="email" href="mailto:boost-test%20=at=%20emailaccount%20=dot=%20com">boost-test =at= emailaccount =dot= com</a>&gt;</code>
</div></div>
<div><p class="copyright">Copyright &#169; 2001-2011 Gennadiy Rozental</p></div>
<div><p class="copyright">Copyright &#169; 2001-2012 Gennadiy Rozental</p></div>
<div><div class="legalnotice">
<a name="id578559"></a><p>
<a name="id526318"></a><p>
Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file
<code class="filename">LICENSE_1_0.txt</code> or copy at
<a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a> )
@@ -125,7 +125,7 @@
<dt><a href="utf/user-guide/initialization.html">Test module initialization</a></dt>
<dt><a href="utf/user-guide/test-runners.html">Supplied test runners</a></dt>
<dl><dt><a href="utf/user-guide/usage-variants/extern-test-runner.html">External test runner</a></dt></dl>
<dt><a href="utf/user-guide/glossary.html">Introduction</a></dt>
<dt><a href="utf/user-guide/glossary.html">Glossary</a></dt>
</dl>
<dt><a href="utf/usage-recommendations.html">Usage recommendations</a></dt>
<dl>
@@ -151,7 +151,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: , at </small></p></td>
<td align="left"></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>

View File

@@ -80,7 +80,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -92,9 +92,9 @@ int test_main( int, char *[] ) // note the name!
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../src/examples/example27.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id605857" onclick="toggle_element( 'example27-annot', 'id605857', 'Show annotations', 'Hide annotations' ); return false;">Show annotations</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id555613" onclick="toggle_element( 'example27-annot', 'id555613', 'Show annotations', 'Hide annotations' ); return false;">Show annotations</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id605868" onclick="toggle_element( 'example27-output', 'id605868', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id555624" onclick="toggle_element( 'example27-output', 'id555624', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<div class="example-annot" id="example27-annot"><table border="0" summary="Callout list">
<tr>
@@ -183,8 +183,8 @@ BOOST_FAIL(<span class="emphasis"><em>message</em></span>)</pre>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: , at </small></p></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -56,7 +56,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -95,7 +95,7 @@ int cpp_main( int, char* [] ) // note name cpp_main, not main.
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../src/examples/example24.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id604599" onclick="toggle_element( 'example24-output', 'id604599', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id552999" onclick="toggle_element( 'example24-output', 'id552999', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example24-output">Hello, world
@@ -141,7 +141,7 @@ int cpp_main( int, char* [] ) // note the name
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../src/examples/example25.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id604684" onclick="toggle_element( 'example25-output', 'id604684', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id553084" onclick="toggle_element( 'example25-output', 'id553084', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example25-output">**** exception(205): std::runtime_error: big trouble
******** errors detected; see standard output for details ********</pre>
@@ -175,7 +175,7 @@ int cpp_main( int, char* [] ) // note the name
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../src/examples/example26.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id604763" onclick="toggle_element( 'example26-output', 'id604763', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id554860" onclick="toggle_element( 'example26-output', 'id554860', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example26-output">**** error return code: 5
******** errors detected; see standard output for details ********</pre>
@@ -239,8 +239,8 @@ int cpp_main( int, char* [] ) // note the name
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: , at </small></p></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -65,7 +65,7 @@
<p class="first-line-indented">
If you opted to link your program with the standalone library, you need to build it first. To build a standalone
library all C++ files (.cpp), that constitute Program Execution Monitor <a class="link" href="impl.html" title="The Program Execution Monitor implementation">implementation</a> need to be
listed as source files in your makefile<sup>[<a name="id605470" href="#ftn.id605470" class="footnote">10</a>]</sup>.
listed as source files in your makefile<sup>[<a name="id555228" href="#ftn.id555228" class="footnote">10</a>]</sup>.
</p>
<p class="first-line-indented">
The makefile for use with Boost.Build system is supplied in <code class="filename">libs/test/build</code>
@@ -88,7 +88,7 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="pem.compilation.standalone.dynamic"></a>Dynamic library compilation</h5></div></div></div>
<p class="first-line-indented">
To build the dynamic library<sup>[<a name="id605554" href="#ftn.id605554" class="footnote">11</a>]</sup> you
To build the dynamic library<sup>[<a name="id555312" href="#ftn.id555312" class="footnote">11</a>]</sup> you
need to add <a class="xref" href="compilation.html#pem.flag.dyn-link">BOOST_TEST_DYN_LINK</a> to the list of macro definitions in the
makefile. Using the Boost.Build system you can build the dynamic library with the following command from
<code class="filename">libs/test/build</code> directory:
@@ -142,19 +142,19 @@
</div>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a id="ftn.id605470" href="#id605470" class="simpara">10</a>] </sup>There are varieties of make systems that can be used. To name
<div class="footnote"><p><sup>[<a id="ftn.id555228" href="#id555228" class="simpara">10</a>] </sup>There are varieties of make systems that can be used. To name
a few: <acronym class="acronym">GNU</acronym> make (and other make clones) and build systems integrated into <acronym class="acronym">IDE</acronym>s
(for example Microsoft Visual Studio). The Boost preferred solution is Boost.Build system that is based on top of
bjam tool. Make systems require some kind of configuration file that lists all files that constitute the library
and all build options. For example the makefile that is used by make, or the Microsoft Visual Studio project file,
Jamfile is used by Boost.Build. For the sake of simplicity let's call this file the makefile.</p></div>
<div class="footnote"><p><sup>[<a id="ftn.id605554" href="#id605554" class="simpara">11</a>] </sup>What is meant by the term dynamic library is a <em class="firstterm">dynamically
<div class="footnote"><p><sup>[<a id="ftn.id555312" href="#id555312" class="simpara">11</a>] </sup>What is meant by the term dynamic library is a <em class="firstterm">dynamically
loaded library</em>, alternatively called a <em class="firstterm">shared library</em>.</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -54,7 +54,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -183,7 +183,7 @@ BOOST_AUTO_TEST_CASE( my_test )
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -36,7 +36,7 @@
</div></div>
<div><p class="copyright">Copyright &#169; 2006 John R. Phillips</p></div>
<div><div class="legalnotice">
<a name="id579359"></a><p>
<a name="id527118"></a><p>
Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file
<code class="filename">LICENSE_1_0.txt</code> or copy at
<a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a> )
@@ -207,7 +207,7 @@ int main()
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -198,7 +198,7 @@ BOOST_AUTO_TEST_CASE( data_access_test )
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -108,7 +108,7 @@
<dt><a href="utf/user-guide/initialization.html">Test module initialization</a></dt>
<dt><a href="utf/user-guide/test-runners.html">Supplied test runners</a></dt>
<dl><dt><a href="utf/user-guide/usage-variants/extern-test-runner.html">External test runner</a></dt></dl>
<dt><a href="utf/user-guide/glossary.html">Introduction</a></dt>
<dt><a href="utf/user-guide/glossary.html">Glossary</a></dt>
</dl>
<dt><a href="utf/usage-recommendations.html">Usage recommendations</a></dt>
<dl>
@@ -121,8 +121,8 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: , at </small></p></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -41,7 +41,7 @@
The <acronym class="acronym">UTF</acronym> is comparatively complicated component and is implemented in close to hundred header and source files,
so for long term usage the preferable solution is to build the <acronym class="acronym">UTF</acronym> as a reusable standalone library.
Depending on your platform this may save you a significant time during test module compilation and doesn't
really require that much effort <sup>[<a name="id584400" href="#ftn.id584400" class="footnote">1</a>]</sup>.
really require that much effort <sup>[<a name="id532010" href="#ftn.id532010" class="footnote">1</a>]</sup>.
<a href="http://boost.org/more/getting_started/index.html" target="_top">Boost Getting started</a> tells you how to get
pre-built libraries for some platforms. If available, this is the easiest option and you can ignore standalone
library compilation instructions below.
@@ -143,14 +143,14 @@
</div>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a id="ftn.id584400" href="#id584400" class="simpara">1</a>] </sup>If you are using Visual studio compilers do not forget to
<div class="footnote"><p><sup>[<a id="ftn.id532010" href="#id532010" class="simpara">1</a>] </sup>If you are using Visual studio compilers do not forget to
set a subsystem to console when you build test modules. You can do it either in project properties or by setting
command line /SUBSYTEM:CONSOLE. Number of people reported link error caused specifically by this omission</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -37,7 +37,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -43,7 +43,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -30,7 +30,7 @@
<p class="first-line-indented">
If you opted to link your program with the standalone library, you need to build it first. To build a standalone
library the all C++ files (.cpp), that constitute <acronym class="acronym">UTF</acronym> <a class="link" href="../../prg-exec-monitor/impl.html" title="The Program Execution Monitor implementation">implementation</a> need to be
listed as source files in your makefile<sup>[<a name="id584834" href="#ftn.id584834" class="footnote">2</a>]</sup>.
listed as source files in your makefile<sup>[<a name="id532443" href="#ftn.id532443" class="footnote">2</a>]</sup>.
</p>
<p class="first-line-indented">
The Jamfile for use with Boost.Build system is supplied in <code class="filename">libs/test/build</code>
@@ -54,7 +54,7 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="utf.compilation.standalone.dynamic"></a>Dynamic library compilation</h5></div></div></div>
<p class="first-line-indented">
To build the dynamic library<sup>[<a name="id584927" href="#ftn.id584927" class="footnote">3</a>]</sup> you
To build the dynamic library<sup>[<a name="id532536" href="#ftn.id532536" class="footnote">3</a>]</sup> you
need to add <a class="xref" href="../compilation.html#utf.flag.dyn-link">BOOST_TEST_DYN_LINK</a> to the list of macro definitions in the
makefile. Using the Boost.Build system you can build the dynamic library with the following command from
<code class="filename">libs/test/build</code> directory:
@@ -77,19 +77,19 @@
</div>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a id="ftn.id584834" href="#id584834" class="simpara">2</a>] </sup>There are varieties of make systems that can be used. To name
<div class="footnote"><p><sup>[<a id="ftn.id532443" href="#id532443" class="simpara">2</a>] </sup>There are varieties of make systems that can be used. To name
a few: <acronym class="acronym">GNU</acronym> make (and other make clones) and build systems integrated into <acronym class="acronym">IDE</acronym>s
(for example Microsoft Visual Studio). The Boost preferred solution is Boost.Build system that is based on top of
bjam tool. Make systems require some kind of configuration file that lists all files that constitute the library
and all build options. For example the makefile that is used by make, or the Microsoft Visual Studio project file,
Jamfile is used by Boost.Build. For the sake of simplicity let's call this file the makefile.</p></div>
<div class="footnote"><p><sup>[<a id="ftn.id584927" href="#id584927" class="simpara">3</a>] </sup>What is meant by the term dynamic library is a <em class="firstterm">dynamically
<div class="footnote"><p><sup>[<a id="ftn.id532536" href="#id532536" class="simpara">3</a>] </sup>What is meant by the term dynamic library is a <em class="firstterm">dynamically
loaded library</em>, alternatively called a <em class="firstterm">shared library</em>.</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -204,7 +204,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -94,7 +94,7 @@
</li>
</ul></div>
<p class="first-line-indented">
The <acronym class="acronym">UTF</acronym> keeps track of all passed/failed testing tools <a class="link" href="user-guide/glossary.html#test-assertion.def">assertions</a>,
The <acronym class="acronym">UTF</acronym> keeps track of all passed/failed testing tools <a class="link" href="user-guide/glossary.html#test-assertion.def" title="Test assertion">assertions</a>,
provides an ability to check the <a class="link" href="user-guide/test-output/test-progress.html" title="Test progress display">test progress</a>
and generates a <a class="link" href="user-guide/test-output/results-report.html" title="Test report output">result report</a> in several different
formats. The <acronym class="acronym">UTF</acronym> supplies command line test runners that initialize the framework and run the requested tests.
@@ -129,7 +129,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -44,7 +44,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../index.html" title="Boost Test Library">
<link rel="up" href="../utf.html" title="Boost Test Library: The Unit Test Framework">
<link rel="prev" href="user-guide/glossary.html" title="Introduction &#8230; or what's your name?">
<link rel="prev" href="user-guide/glossary.html" title="">
<link rel="next" href="usage-recommendations/generic.html" title="Generic usage recommendations">
<script language="JavaScript1.2" src="../../js/boost-test.js"></script>
</head>
@@ -42,7 +42,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -28,13 +28,13 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="utf.usage-recommendations.command-line-specific"></a>Command line usage recommendations</h4></div></div></div>
<div class="qandaset">
<a name="id601618"></a><dl>
<dt> <a href="command-line-specific.html#id601624">
<a name="id550305"></a><dl>
<dt> <a href="command-line-specific.html#id550311">
If you got fatal exception somewhere within test case, make program generate coredump by adding extra command
line argument
</a>
</dt>
<dt> <a href="command-line-specific.html#id601643">
<dt> <a href="command-line-specific.html#id550330">
How to use test module build with Boost.Test framework under management of automated regression test facilities?
</a>
</dt>
@@ -45,7 +45,7 @@
<tbody>
<tr class="question">
<td align="left" valign="top">
<a name="id601624"></a><a name="id601627"></a>
<a name="id550311"></a><a name="id550313"></a>
</td>
<td align="left" valign="top"><b><p>
If you got fatal exception somewhere within test case, make program generate coredump by adding extra command
@@ -63,7 +63,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id601643"></a><a name="id601646"></a>
<a name="id550330"></a><a name="id550332"></a>
</td>
<td align="left" valign="top"><b><p>
How to use test module build with Boost.Test framework under management of automated regression test facilities?
@@ -89,7 +89,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -28,12 +28,12 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="utf.usage-recommendations.dot-net-specific"></a>Microsoft Visual Studio .NET usage recommendations</h4></div></div></div>
<div class="qandaset">
<a name="id601487"></a><dl>
<dt> <a href="dot-net-specific.html#id601493">
<a name="id550174"></a><dl>
<dt> <a href="dot-net-specific.html#id550180">
Use custom build step to automatically start test program after compilation
</a>
</dt>
<dt> <a href="dot-net-specific.html#id601569">
<dt> <a href="dot-net-specific.html#id550255">
If you got fatal exception somewhere within test case, make debugger break at the point the failure by adding
extra command line argument
</a>
@@ -45,7 +45,7 @@
<tbody>
<tr class="question">
<td align="left" valign="top">
<a name="id601493"></a><a name="id601496"></a>
<a name="id550180"></a><a name="id550182"></a>
</td>
<td align="left" valign="top"><b><p>
Use custom build step to automatically start test program after compilation
@@ -73,7 +73,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id601569"></a><a name="id601571"></a>
<a name="id550255"></a><a name="id550258"></a>
</td>
<td align="left" valign="top"><b><p>
If you got fatal exception somewhere within test case, make debugger break at the point the failure by adding
@@ -100,7 +100,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -28,25 +28,25 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="utf.usage-recommendations.generic"></a>Generic usage recommendations</h4></div></div></div>
<div class="qandaset">
<a name="id601351"></a><dl>
<dt> <a href="generic.html#id601357">
<a name="id550037"></a><dl>
<dt> <a href="generic.html#id550043">
Prefer offline compiled libraries to the inline included components
</a>
</dt>
<dt> <a href="generic.html#id601376">
<dt> <a href="generic.html#id550062">
If you use only free function based test cases advance to the automatic registration facility
</a>
</dt>
<dt> <a href="generic.html#id601395">
<dt> <a href="generic.html#id550081">
To find location of first error reported by test tool within reused template function, use special hook within
framework headers
</a>
</dt>
<dt> <a href="generic.html#id601419">
<dt> <a href="generic.html#id550105">
To test reusable template base component with different template parameter use test case template facility
</a>
</dt>
<dt> <a href="generic.html#id601455">
<dt> <a href="generic.html#id550141">
Prefer BOOST_CHECK_EQUAL to BOOST_CHECK
</a>
</dt>
@@ -57,7 +57,7 @@
<tbody>
<tr class="question">
<td align="left" valign="top">
<a name="id601357"></a><a name="id601359"></a>
<a name="id550043"></a><a name="id550045"></a>
</td>
<td align="left" valign="top"><b><p>
Prefer offline compiled libraries to the inline included components
@@ -74,7 +74,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id601376"></a><a name="id601378"></a>
<a name="id550062"></a><a name="id550065"></a>
</td>
<td align="left" valign="top"><b><p>
If you use only free function based test cases advance to the automatic registration facility
@@ -89,7 +89,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id601395"></a><a name="id601397"></a>
<a name="id550081"></a><a name="id550084"></a>
</td>
<td align="left" valign="top"><b><p>
To find location of first error reported by test tool within reused template function, use special hook within
@@ -110,7 +110,7 @@
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id601419"></a><a name="id601421"></a>
<a name="id550105"></a><a name="id550108"></a>
</td>
<td align="left" valign="top"><b><p>
To test reusable template base component with different template parameter use test case template facility
@@ -149,7 +149,7 @@ void my_component_test()
</tr>
<tr class="question">
<td align="left" valign="top">
<a name="id601455"></a><a name="id601457"></a>
<a name="id550141"></a><a name="id550144"></a>
</td>
<td align="left" valign="top"><b><p>
Prefer BOOST_CHECK_EQUAL to BOOST_CHECK
@@ -171,7 +171,7 @@ void my_component_test()
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -95,7 +95,7 @@
<dt><a href="user-guide/initialization.html">Test module initialization</a></dt>
<dt><a href="user-guide/test-runners.html">Supplied test runners</a></dt>
<dl><dt><a href="user-guide/usage-variants/extern-test-runner.html">External test runner</a></dt></dl>
<dt><a href="user-guide/glossary.html">Introduction</a></dt>
<dt><a href="user-guide/glossary.html">Glossary</a></dt>
</dl>
</div>
<div class="section">
@@ -112,7 +112,7 @@
<p class="first-line-indented">
Well &#8230; This is a User's Guide after all. Let's go by what <span class="bold"><strong>you</strong></span> need to know to successfully use the <acronym class="acronym">UTF</acronym>. Thus I follow
the order of decisions you as a user have to make and order of complexity of the problems you have to solve. If you find yourself
faces with some unclear term feel free to jump directly to the <a class="link" href="user-guide/glossary.html" title="Introduction &#8230; or what's your name?">Glossary</a> section,
faces with some unclear term feel free to jump directly to the <a class="link" href="user-guide/glossary.html">Glossary</a> section,
where I collection short definition for all used terms. And again if you want to jump right into coding the
<a class="link" href="tutorials.html" title="The unit test framework tutorials">Tutorials</a> section would be a better place to start.
</p>
@@ -148,8 +148,8 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: , at </small></p></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -112,7 +112,7 @@ BOOST_AUTO_TEST_CASE( test_case2 )
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -103,7 +103,7 @@ BOOST_AUTO_TEST_CASE( test_case )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example20.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id532595" onclick="toggle_element( 'example20-output', 'id532595', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id548961" onclick="toggle_element( 'example20-output', 'id548961', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example20-output">&gt; example
global setup
@@ -118,7 +118,7 @@ global teardown
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -56,7 +56,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE( test_case3 )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example18.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id532305" onclick="toggle_element( 'example18-output', 'id532305', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id548671" onclick="toggle_element( 'example18-output', 'id548671', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example18-output">&gt; example --log_level=message
Running 3 test cases...
@@ -103,7 +103,7 @@ teardown fixture
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -101,7 +101,7 @@ BOOST_AUTO_TEST_SUITE_END()
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example19.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id532446" onclick="toggle_element( 'example19-output', 'id532446', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id548812" onclick="toggle_element( 'example19-output', 'id548812', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example19-output">&gt; example
Running 2 test cases...
@@ -115,7 +115,7 @@ test.cpp(17): error in "test_case1": check i == 1 failed
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -1,7 +1,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Glossary &#8230; or what's your name?</title>
<title></title>
<link rel="stylesheet" href="../../../style/style.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../index.html" title="Boost Test Library">
@@ -25,81 +25,82 @@
</tr></table>
<hr>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="utf.user-guide.glossary"></a>Glossary &#8230; or what's your name?</h4></div></div></div>
<div class="titlepage"></div>
<div class="glossary">
<div class="titlepage"><div><div><h5 class="title">
<a name="id549547"></a>Glossary &#8230; or what's your name?</h5></div></div></div>
<p class="first-line-indented">
Here the list of terms used throughout the this documentation.
</p>
<div class="variablelist"><table border="0" width="100%" summary="utf terms definition">
<col align="left" valign="top" width="16%">
<tbody>
<tr>
<td><p><a name="test-module.def"></a><span class="term"><em class="firstterm">The test module</em></span>:</p></td>
<td>
Here is the list of terms used throughout this documentation.
</p>
<dl>
<dt>
<a name="test-module.def"></a><em class="firstterm">The test module</em>
</dt>
<dd><p>
This is a single binary that performs the test. Physically a test module consists of one or more test source files,
which can be built into an executable or a dynamic library. A test module that consists of a single test source
file is called <em class="firstterm"><a name="single-file-test-module.def"></a>single-file test module</em>. Otherwise
it's called <em class="firstterm"><a name="multi-file-test-module.def"></a>multi-file test module</em>. Logically a test
module consists of four parts: <a class="link" href="glossary.html#test-setup.def">test setup</a> (or test initialization),
<a class="link" href="glossary.html#test-body.def">test body</a>, <a class="link" href="glossary.html#test-cleanup.def">test cleanup</a> and
<a class="link" href="glossary.html#test-runner.def">test runner</a>. The test runner part is optional. If a test module is built as
module consists of four parts: <a class="link" href="glossary.html#test-setup.def" title="The test setup">test setup</a> (or test initialization),
<a class="link" href="glossary.html#test-body.def" title="The test body">test body</a>, <a class="link" href="glossary.html#test-cleanup.def" title="The test cleanup">test cleanup</a> and
<a class="link" href="glossary.html#test-runner.def" title="The test runner">test runner</a>. The test runner part is optional. If a test module is built as
an executable the test runner is built-in. If a test module is built as a dynamic library, it is run by an
external test runner.
</td>
</tr>
<tr>
<td><p><a name="test-body.def"></a><span class="term"><em class="firstterm">The test body</em></span>:</p></td>
<td>
</p></dd>
<dt>
<a name="test-body.def"></a><em class="firstterm">The test body</em>
</dt>
<dd><p>
This is the part of a test module that actually performs the test.
Logically test body is a collection of <a class="link" href="glossary.html#test-assertion.def">test assertions</a> wrapped in
<a class="link" href="glossary.html#test-case.def">test cases</a>, which are organized in a <a class="link" href="glossary.html#test-tree.def">test tree
Logically test body is a collection of <a class="link" href="glossary.html#test-assertion.def" title="Test assertion">test assertions</a> wrapped in
<a class="link" href="glossary.html#test-case.def" title="The test case">test cases</a>, which are organized in a <a class="link" href="glossary.html#test-tree.def" title="The test tree">test tree
</a>.
</td>
</tr>
<tr>
<td><p><a name="test-tree.def"></a><span class="term"><em class="firstterm">The test tree</em></span>:</p></td>
<td>
This is a hierarchical structure of <a class="link" href="glossary.html#test-suite.def">test suites</a> (non-leaf nodes) and
<a class="link" href="glossary.html#test-case.def">test cases</a> (leaf nodes).
</td>
</tr>
<tr>
<td><p><a name="test-unit.def"></a><span class="term"><em class="firstterm">The test unit</em></span>:</p></td>
<td>
This is a collective name when referred to either <a class="link" href="glossary.html#test-suite.def">test suite</a> or
<a class="link" href="glossary.html#test-case.def">test case</a>
</td>
</tr>
<tr>
<td><p><a name="test-assertion.def"></a><span class="term"><em class="firstterm">Test assertion</em></span>:</p></td>
<td>
<p class="simpara">
</p></dd>
<dt>
<a name="test-tree.def"></a><em class="firstterm">The test tree</em>
</dt>
<dd><p>
This is a hierarchical structure of <a class="link" href="glossary.html#test-suite.def" title="The test suite">test suites</a> (non-leaf nodes) and
<a class="link" href="glossary.html#test-case.def" title="The test case">test cases</a> (leaf nodes).
</p></dd>
<dt>
<a name="test-unit.def"></a><em class="firstterm">The test unit</em>
</dt>
<dd><p>
This is a collective name when referred to either <a class="link" href="glossary.html#test-suite.def" title="The test suite">test suite</a> or
<a class="link" href="glossary.html#test-case.def" title="The test case">test case</a>
</p></dd>
<dt>
<a name="test-assertion.def"></a><em class="firstterm">Test assertion</em>
</dt>
<dd>
<p>
This is a single binary condition (binary in a sense that is has two outcomes: pass and fail) checked
by a test module.
</p>
<p class="simpara">
<p>
There are different schools of thought on how many test assertions a test case should consist of. Two polar
positions are the one advocated by TDD followers - one assertion per test case; and opposite of this - all test
assertions within single test case - advocated by those only interested in the first error in a
test module. The <acronym class="acronym">UTF</acronym> supports both approaches.
</p>
</td>
</tr>
<tr>
<td><p><a name="test-case.def"></a><span class="term"><em class="firstterm">The test case</em></span>:</p></td>
<td>
</dd>
<dt>
<a name="test-case.def"></a><em class="firstterm">The test case</em>
</dt>
<dd><p>
This is an independently monitored function within a test module that
consists of one or more test assertions. The term "independently monitored" in the definition above is
used to emphasize the fact, that all test cases are monitored independently. An uncaught exception or other normal
test case execution termination doesn't cause the testing to cease. Instead the error is caught by the test
case execution monitor, reported by the <acronym class="acronym">UTF</acronym> and testing proceeds to the next test case. Later on you are going
to see that this is on of the primary reasons to prefer multiple small test cases to a single big test function.
</td>
</tr>
<tr>
<td><p><a name="test-suite.def"></a><span class="term"><em class="firstterm">The test suite</em></span>:</p></td>
<td>
<p class="simpara">
</p></dd>
<dt>
<a name="test-suite.def"></a><em class="firstterm">The test suite</em>
</dt>
<dd>
<p>
This is a container for one or more test cases. The test suite gives you an ability to group
test cases into a single referable entity. There are various reasons why you may opt to do so, including:
</p>
@@ -110,17 +111,17 @@
<li class="listitem">To see test report split by groups of test cases</li>
<li class="listitem">To skip groups of test cases based on the result of another test unit in a test tree.</li>
</ul></div>
<p class="simpara">
<p>
A test suite can also contain other test suites, thus allowing a hierarchical test tree structure to be formed.
The <acronym class="acronym">UTF</acronym> requires the test tree to contain at least one test suite with at least one test case. The top level
test suite - root node of the test tree - is called the master test suite.
</p>
</td>
</tr>
<tr>
<td><p><a name="test-setup.def"></a><span class="term"><em class="firstterm">The test setup</em></span>:</p></td>
<td>
<p class="simpara">
</dd>
<dt>
<a name="test-setup.def"></a><em class="firstterm">The test setup</em>
</dt>
<dd>
<p>
This is the part of a test module that is responsible for the test
preparation. It includes the following operations that take place prior to a start of the test:
</p>
@@ -135,28 +136,28 @@
Global test module setup code
</li>
</ul></div>
<p class="simpara">
<p>
Per test case" setup code, invoked for every test case it's assigned to, is also attributed to the
test initialization, even though it's executed as a part of the test case.
</p>
</td>
</tr>
<tr>
<td><p><a name="test-cleanup.def"></a><span class="term"><em class="firstterm">The test cleanup</em></span>:</p></td>
<td>
</dd>
<dt>
<a name="test-cleanup.def"></a><em class="firstterm">The test cleanup</em>
</dt>
<dd><p>
This is the part of test module that is responsible for cleanup operations.
</td>
</tr>
<tr>
<td><p><a name="test-fixture.def"></a><span class="term"><em class="firstterm">The test fixture</em></span>:</p></td>
<td>
</p></dd>
<dt>
<a name="test-fixture.def"></a><em class="firstterm">The test fixture</em>
</dt>
<dd><p>
Matching setup and cleanup operations are frequently united into a single entity called test fixture.
</td>
</tr>
<tr>
<td><p><a name="test-runner.def"></a><span class="term"><em class="firstterm">The test runner</em></span>:</p></td>
<td>
<p class="simpara">
</p></dd>
<dt>
<a name="test-runner.def"></a><em class="firstterm">The test runner</em>
</dt>
<dd>
<p>
This is an "executive manager" that runs the show. The test runner's functionality should include
the following interfaces and operations:
</p>
@@ -188,27 +189,26 @@
An advanced test runner may provide additional features, including interactive <acronym class="acronym">GUI</acronym> interfaces,
test coverage and profiling support.
</p>
</td>
</tr>
<tr>
<td><p><a name="test-log.def"></a><span class="term"><em class="firstterm">The test log</em></span>:</p></td>
<td>
</dd>
<dt>
<a name="test-log.def"></a><em class="firstterm">The test log</em>
</dt>
<dd><p>
This is the record of all events that occur during the testing.
</td>
</tr>
<tr>
<td><p><a name="test-results-report.def"></a><span class="term"><em class="firstterm">The test results report</em></span>:</p></td>
<td>
</p></dd>
<dt>
<a name="test-results-report.def"></a><em class="firstterm">The test results report</em>
</dt>
<dd><p>
This is the report produced by the <acronym class="acronym">UTF</acronym> after the testing is completed, that indicates which test cases/test
suites passed and which failed.
</td>
</tr>
</tbody>
</table></div>
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -51,7 +51,7 @@
with the dynamic library variant of the <acronym class="acronym">UTF</acronym> requires the specific initialization function signature only.
</p>
<p class="first-line-indented">
For many <a class="link" href="glossary.html#test-module.def">test modules</a> you don't need to do any custom initialization
For many <a class="link" href="glossary.html#test-module.def" title="The test module">test modules</a> you don't need to do any custom initialization
and test tree construction is automated. In this case you don't really need the initialization function and
the <acronym class="acronym">UTF</acronym> provides a way to automatically generate an empty one for you.
</p>
@@ -150,7 +150,7 @@ typedef test_suite* (*init_unit_test_func)( int, char* [] );
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -60,7 +60,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -35,29 +35,29 @@
acceptable values list. All values are case sensitive and are required to exactly match the parameter specification.
</p>
<script language="JavaScript1.2">
var id425787;
var id339462;
</script><table class="inline-reference"><tr>
<td class="index" valign="top"><ul>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.auto_start_dbg', id425787 ); return false;">auto_start_dbg</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.break_exec_path', id425787 ); return false;">break_exec_path</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.build_info', id425787 ); return false;">build_info</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.catch_system_errors', id425787 ); return false;">catch_system_errors</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.color_output', id425787 ); return false;">color_output</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.detect_fp_exceptions', id425787 ); return false;">detect_fp_exceptions</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.detect_memory_leaks', id425787 ); return false;">detect_memory_leaks</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.log_format', id425787 ); return false;">log_format</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.log_level', id425787 ); return false;">log_level</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.log_sink', id425787 ); return false;">log_sink</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.output_format', id425787 ); return false;">output_format</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.random', id425787 ); return false;">random</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.report_format', id425787 ); return false;">report_format</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.report_level', id425787 ); return false;">report_level</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.report_sink', id425787 ); return false;">report_sink</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.result_code', id425787 ); return false;">result_code</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.run_test', id425787 ); return false;">run_test</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.save_patterm', id425787 ); return false;">save_patterm</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.show_progress', id425787 ); return false;">show_progress</a></li>
<li><a href="#" onclick="id425787 = select_form_page( 'utf.user-guide.runtime-config.parameters.use_alt_stack', id425787 ); return false;">use_alt_stack</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.auto_start_dbg', id339462 ); return false;">auto_start_dbg</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.break_exec_path', id339462 ); return false;">break_exec_path</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.build_info', id339462 ); return false;">build_info</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.catch_system_errors', id339462 ); return false;">catch_system_errors</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.color_output', id339462 ); return false;">color_output</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.detect_fp_exceptions', id339462 ); return false;">detect_fp_exceptions</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.detect_memory_leaks', id339462 ); return false;">detect_memory_leaks</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.log_format', id339462 ); return false;">log_format</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.log_level', id339462 ); return false;">log_level</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.log_sink', id339462 ); return false;">log_sink</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.output_format', id339462 ); return false;">output_format</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.random', id339462 ); return false;">random</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.report_format', id339462 ); return false;">report_format</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.report_level', id339462 ); return false;">report_level</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.report_sink', id339462 ); return false;">report_sink</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.result_code', id339462 ); return false;">result_code</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.run_test', id339462 ); return false;">run_test</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.save_patterm', id339462 ); return false;">save_patterm</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.show_progress', id339462 ); return false;">show_progress</a></li>
<li><a href="#" onclick="id339462 = select_form_page( 'utf.user-guide.runtime-config.parameters.use_alt_stack', id339462 ); return false;">use_alt_stack</a></li>
</ul></td>
<td class="content" valign="top">
<div class="entry" id="utf.user-guide.runtime-config.parameters.auto_start_dbg"><div class="segmentedlist">
@@ -844,7 +844,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -247,7 +247,7 @@ Leaving test suite "example"
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -54,7 +54,7 @@
</li>
</ul></div>
<p class="first-line-indented">
The above points should make it clear that it's preferable to split <a class="link" href="glossary.html#test-module.def">test module
The above points should make it clear that it's preferable to split <a class="link" href="glossary.html#test-module.def" title="The test module">test module
</a> into smaller units. These units are test cases. A test case has to be constructed based on some kind of
function and registered in a test tree, so that the test runner knows how to invoke it. There are different
possible designs for the test case construction problem: inheritance from the predefined base class, specifically
@@ -102,7 +102,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -61,7 +61,7 @@ BOOST_AUTO_TEST_CASE( free_test_function )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example06.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id517116" onclick="toggle_element( 'example06-output', 'id517116', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id533500" onclick="toggle_element( 'example06-output', 'id533500', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example06-output">&gt; example --log_level=test_suite
Running 1 test case...
@@ -81,7 +81,7 @@ Leaving test suite "example"
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -75,7 +75,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE( my_test, T, test_types )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example10.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id518490" onclick="toggle_element( 'example10-output', 'id518490', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id534870" onclick="toggle_element( 'example10-output', 'id534870', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example10-output">&gt; example
Running 3 test cases...
@@ -89,7 +89,7 @@ test.cpp(12): error in "my_test&lt;unsigned char&gt;": check sizeof(T) == 4 fail
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -93,7 +93,7 @@ BOOST_AUTO_TEST_SUITE_END()
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example12.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id518850" onclick="toggle_element( 'example12-output', 'id518850', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535230" onclick="toggle_element( 'example12-output', 'id535230', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example12-output">&gt; example
Running 4 test cases...
@@ -142,7 +142,7 @@ BOOST_AUTO_TEST_SUITE_END()
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example53.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id518908" onclick="toggle_element( 'example53-output', 'id518908', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535287" onclick="toggle_element( 'example53-output', 'id535287', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example53-output">&gt;example --report_level=detailed
Running 3 test cases...
@@ -173,7 +173,7 @@ Test suite "example" failed with:
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -100,7 +100,7 @@ init_unit_test_suite( int, char* [] ) {
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example16.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id519484" onclick="toggle_element( 'example16-output', 'id519484', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535863" onclick="toggle_element( 'example16-output', 'id535863', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example16-output">&gt; example --log_level=message
Running 1 test case...
@@ -160,7 +160,7 @@ BOOST_AUTO_TEST_SUITE_END()</pre>
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example17.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id519570" onclick="toggle_element( 'example17-output', 'id519570', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535950" onclick="toggle_element( 'example17-output', 'id535950', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example17-output">&gt; example --report_level=short
Running 2 test cases...
@@ -180,7 +180,7 @@ Test suite "example" passed with:
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -77,7 +77,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example01.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id517214" onclick="toggle_element( 'example01-output', 'id517214', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id533598" onclick="toggle_element( 'example01-output', 'id533598', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example01-output">&gt; example
Running 1 test case...
@@ -135,7 +135,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example02.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id517282" onclick="toggle_element( 'example02-output', 'id517282', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id533666" onclick="toggle_element( 'example02-output', 'id533666', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example02-output">&gt; example
Running 1 test case...
@@ -185,7 +185,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example03.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id517333" onclick="toggle_element( 'example03-output', 'id517333', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id533717" onclick="toggle_element( 'example03-output', 'id533717', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example03-output">&gt; example
Running 2 test cases...
@@ -238,7 +238,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example04.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id517390" onclick="toggle_element( 'example04-output', 'id517390', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id533774" onclick="toggle_element( 'example04-output', 'id533774', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example04-output">&gt; example
Running 1 test case...
@@ -307,7 +307,7 @@ main( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example05.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id518077" onclick="toggle_element( 'example05-output', 'id518077', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id534457" onclick="toggle_element( 'example05-output', 'id534457', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example05-output">&gt; example
Running 3 test cases...
@@ -323,7 +323,7 @@ Running 3 test cases...
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -150,7 +150,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example09.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id518688" onclick="toggle_element( 'example09-output', 'id518688', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535068" onclick="toggle_element( 'example09-output', 'id535068', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example09-output">&gt; example
Running 3 test cases...
@@ -164,7 +164,7 @@ test.cpp(10): error in "my_test&lt;unsigned char&gt;": check sizeof(T) == 4 fail
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -64,7 +64,7 @@
The third optional parameter - timeout - defines the timeout value for the test unit. As of now the <acronym class="acronym">UTF</acronym>
isn't able to set a timeout for the test suite execution, so this parameter makes sense only for test case
registration. By default no timeout is set. See the method
<code class="computeroutput"><a class="link" href="../../../execution-monitor/reference.html#id360116-bb">boost::execution_monitor::execute</a></code> for more details about the timeout value.
<code class="computeroutput"><a class="link" href="../../../execution-monitor/reference.html#id306657-bb">boost::execution_monitor::execute</a></code> for more details about the timeout value.
</p>
<p class="first-line-indented">
To register group of test units in one function call the boost::unit_test::test_suite provides another add
@@ -136,7 +136,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example11.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id519079" onclick="toggle_element( 'example11-output', 'id519079', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535459" onclick="toggle_element( 'example11-output', 'id535459', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example11-output">&gt; example --log_level=test_suite
Running 4 test cases...
@@ -166,7 +166,7 @@ Leaving test suite "Master Test Suite"
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -121,7 +121,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example13.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id519216" onclick="toggle_element( 'example13-output', 'id519216', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535596" onclick="toggle_element( 'example13-output', 'id535596', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example13-output">&gt; example 1
Test setup error: test tree is empty</pre>
@@ -163,7 +163,7 @@ BOOST_AUTO_TEST_CASE( free_test_function )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example14.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id519304" onclick="toggle_element( 'example14-output', 'id519304', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535683" onclick="toggle_element( 'example14-output', 'id535683', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example14-output">&gt; example --log_level=test_suite
Running 1 test case...
@@ -209,7 +209,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example15.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id519368" onclick="toggle_element( 'example15-output', 'id519368', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id535748" onclick="toggle_element( 'example15-output', 'id535748', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example15-output">&gt; example --log_level=test_suite
Running 1 test case...
@@ -228,7 +228,7 @@ Leaving test suite "my master test suite name"
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -48,7 +48,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -50,7 +50,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -55,7 +55,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -115,7 +115,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example07.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id518228" onclick="toggle_element( 'example07-output', 'id518228', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id534608" onclick="toggle_element( 'example07-output', 'id534608', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example07-output">&gt; example
Running 5 test cases...
@@ -172,7 +172,7 @@ bool init_unit_test()
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example08.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id518287" onclick="toggle_element( 'example08-output', 'id518287', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id534667" onclick="toggle_element( 'example08-output', 'id534667', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example08-output">&gt; example
Running 5 test cases...
@@ -187,7 +187,7 @@ test.cpp(14): error in "tm": difference between d * 100{100.01} and (double)(int
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -80,7 +80,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -73,7 +73,7 @@ void foo( int i )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example22.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id527585" onclick="toggle_element( 'example22-output', 'id527585', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id543952" onclick="toggle_element( 'example22-output', 'id543952', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example22-output">&gt; example
Running 1 test case...
@@ -88,7 +88,7 @@ test.cpp(13): last checkpoint: Calling foo with i=1
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE( test_update )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example21.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id527493" onclick="toggle_element( 'example21-output', 'id527493', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id543860" onclick="toggle_element( 'example21-output', 'id543860', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example21-output">&gt; example --log_level=message
Running 2 test cases...
@@ -102,7 +102,7 @@ Update Volume with 100
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -68,7 +68,7 @@ BOOST_AUTO_TEST_CASE( test_case )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example23.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id527674" onclick="toggle_element( 'example23-output', 'id527674', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id544041" onclick="toggle_element( 'example23-output', 'id544041', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example23-output">&gt; example
Running 1 test case...
@@ -83,7 +83,7 @@ test.cpp(16): last checkpoint
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -69,7 +69,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -80,7 +80,7 @@ BOOST_AUTO_TEST_CASE( test_case )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example50.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id528781" onclick="toggle_element( 'example50-output', 'id528781', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id545148" onclick="toggle_element( 'example50-output', 'id545148', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example50-output">&gt; example
@@ -128,7 +128,7 @@ BOOST_AUTO_TEST_CASE( test_case0 )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example51.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id528858" onclick="toggle_element( 'example51-output', 'id528858', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id545224" onclick="toggle_element( 'example51-output', 'id545224', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example51-output">&gt; example
Running 1 test case...
@@ -180,7 +180,7 @@ BOOST_AUTO_TEST_CASE( test_case0 )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example52.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id528938" onclick="toggle_element( 'example52-output', 'id528938', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id545305" onclick="toggle_element( 'example52-output', 'id545305', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example52-output">&gt; example --report_level=no
&lt;TestLog&gt;&lt;Error file="test.cpp" line="18"&gt;check false failed&lt;/Error&gt;&lt;/TestLog&gt;
@@ -194,7 +194,7 @@ BOOST_AUTO_TEST_CASE( test_case0 )
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -322,7 +322,7 @@ Boost&#160;&#160;&#160;:&#160;$BOOST_VERSION</p></div></code>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -38,7 +38,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -46,7 +46,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -181,7 +181,7 @@ BOOST_AUTO_TEST_CASE( test_list )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example32.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id527369" onclick="toggle_element( 'example32-output', 'id527369', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id543736" onclick="toggle_element( 'example32-output', 'id543736', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example32-output">Running 1 test case...
test.cpp(16): error in "test_list": check p1 == p2 failed [ != ]
@@ -205,7 +205,7 @@ test.cpp(16): error in "test_list": check p1 == p2 failed [ != ]
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -32,7 +32,7 @@
<p class="first-line-indented">
In case if the test module involves lengthy computation split among multiple test cases you may be interested in
progress monitor. The test runners supplied with the <acronym class="acronym">UTF</acronym> support simple text progress display, implemented based
on <code class="computeroutput">boost::progress_display</code><sup>[<a name="id529053" href="#ftn.id529053" class="footnote">9</a>]</sup>. The progress display output
on <code class="computeroutput">boost::progress_display</code><sup>[<a name="id545420" href="#ftn.id545420" class="footnote">9</a>]</sup>. The progress display output
is enabled using the <acronym class="acronym">UTF</acronym> parameter <a class="link" href="../runtime-config/reference.html#utf.user-guide.runtime-config.parameters">show_progress</a>.
</p>
<p class="first-line-indented">
@@ -77,7 +77,7 @@ init_unit_test_suite( int argc, char* argv[] )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example49.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id529124" onclick="toggle_element( 'example49-output', 'id529124', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id545491" onclick="toggle_element( 'example49-output', 'id545491', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example49-output">&gt; example --show_progress=yes --log_level=nothing
@@ -91,12 +91,12 @@ init_unit_test_suite( int argc, char* argv[] )
</div>
<br class="example-break"><div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><acronym class="acronym"><sup>[<a name="ftn.id529053" href="#id529053" class="acronym">9</a>] </sup>UTF</acronym></div>
<div class="footnote"><acronym class="acronym"><sup>[<a name="ftn.id545420" href="#id545420" class="acronym">9</a>] </sup>UTF</acronym></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -36,7 +36,7 @@
</p>
<pre class="programlisting">int unit_test_main( init_unit_test_func init_func, int argc, char* argv[] );</pre>
<p class="first-line-indented">
To invoke the test runner you are required to supply the pointer to the <a class="link" href="glossary.html#test-module.def">test module</a>
To invoke the test runner you are required to supply the pointer to the <a class="link" href="glossary.html#test-module.def" title="The test module">test module</a>
initialization function as the first argument to the test runner function. In majority of the cases this function is
invoked directly from test executable entry point - function main(). In most usage variants the <acronym class="acronym">UTF</acronym> can
automatically generate default function main() implementation as either part of the library or test module itself.
@@ -160,7 +160,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -50,8 +50,8 @@
All the tools are supplied in three flavors(levels): <em class="firstterm">WARN</em>, <em class="firstterm">CHECK</em> and
<em class="firstterm">REQUIRE</em>. For example: <code class="computeroutput"><a class="link" href="testing-tools/reference.html" title="The UTF testing tools reference">BOOST_WARN_EQUAL</a></code>,
<code class="computeroutput"><a class="link" href="testing-tools/reference.html" title="The UTF testing tools reference">BOOST_CHECK_EQUAL</a></code>, <code class="computeroutput"><a class="link" href="testing-tools/reference.html" title="The UTF testing tools reference">BOOST_REQUIRE_EQUAL</a></code>. If an assertion designated by
the tool passes, confirmation message can be printed in log output<sup>[<a name="id519679" href="#ftn.id519679" class="footnote">4</a>]</sup>. If an assertion designated by the tool failed, depending on the level following
will happened<sup>[<a name="id519688" href="#ftn.id519688" class="footnote">5</a>]</sup>:
the tool passes, confirmation message can be printed in log output<sup>[<a name="id536058" href="#ftn.id536058" class="footnote">4</a>]</sup>. If an assertion designated by the tool failed, depending on the level following
will happened<sup>[<a name="id536066" href="#ftn.id536066" class="footnote">5</a>]</sup>:
</p>
<div class="table">
<a name="utf.user-guide.testing-tools.levels-diffs"></a><p class="title"><b>Table&#160;2.&#160;Testing tools levels differences</b></p>
@@ -107,16 +107,16 @@
</div>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a id="ftn.id519679" href="#id519679" class="simpara">4</a>] </sup>to manage what messages appear
<div class="footnote"><p><sup>[<a id="ftn.id536058" href="#id536058" class="simpara">4</a>] </sup>to manage what messages appear
in the test log stream set the proper <a class="link" href="test-output/test-log.html" title="Test log output">log
level</a></p></div>
<div class="footnote"><p><sup>[<a id="ftn.id519688" href="#id519688" class="simpara">5</a>] </sup>in some cases log message can be slightly different to reflect failed tool
<div class="footnote"><p><sup>[<a id="ftn.id536066" href="#id536066" class="simpara">5</a>] </sup>in some cases log message can be slightly different to reflect failed tool
specifics</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: , at </small></p></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE( test_is_even )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example30.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id520105" onclick="toggle_element( 'example30-output', 'id520105', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id536484" onclick="toggle_element( 'example30-output', 'id536484', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example30-output">&gt; example
Running 1 test case...
@@ -127,7 +127,7 @@ BOOST_AUTO_TEST_CASE( test_list_comparizon )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example31.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id520187" onclick="toggle_element( 'example31-output', 'id520187', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id536565" onclick="toggle_element( 'example31-output', 'id536565', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example31-output">Running 1 test case...
test.cpp(28): error in "test_list_comparizon": check compare_lists( l1, l2 ) failed. Different sizes [2!=0]
@@ -140,7 +140,7 @@ test.cpp(28): error in "test_list_comparizon": check compare_lists( l1, l2 ) fai
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -129,8 +129,8 @@
<p class="first-line-indented">
Checks based on equations (<a href="../../../" target="_top">4</a>) and
(<a href="../../../" target="_top">5</a>) are implemented by two predicates with
alternative interfaces: binary predicate <code class="computeroutput">close_at_tolerance</code><sup>[<a name="id523643" href="#ftn.id523643" class="footnote">6</a>]</sup> and predicate with four arguments
<code class="computeroutput">check_is_close</code><sup>[<a name="id523652" href="#ftn.id523652" class="footnote">7</a>]</sup>.
alternative interfaces: binary predicate <code class="computeroutput">close_at_tolerance</code><sup>[<a name="id540008" href="#ftn.id540008" class="footnote">6</a>]</sup> and predicate with four arguments
<code class="computeroutput">check_is_close</code><sup>[<a name="id540017" href="#ftn.id540017" class="footnote">7</a>]</sup>.
</p>
<p class="first-line-indented">
While equations (<a href="../../../" target="_top">4</a>) and
@@ -138,7 +138,7 @@
point comparison check over equation (<a href="../../../" target="_top">1</a>), they are
unusable for the test on closeness to zero. The later check is still might be useful in some cases and the <acronym class="acronym">UTF</acronym>
implements an algorithm based on equation (<a href="../../../" target="_top">1</a>) in
binary predicate <code class="computeroutput">check_is_small</code><sup>[<a name="id523692" href="#ftn.id523692" class="footnote">8</a>]</sup>.
binary predicate <code class="computeroutput">check_is_small</code><sup>[<a name="id540057" href="#ftn.id540057" class="footnote">8</a>]</sup>.
</p>
<p class="first-line-indented">
On top of the generic, flexible predicates the <acronym class="acronym">UTF</acronym> implements macro based family of tools
@@ -238,16 +238,16 @@
</div>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a id="ftn.id523643" href="#id523643" class="simpara">6</a>] </sup>check type
<div class="footnote"><p><sup>[<a id="ftn.id540008" href="#id540008" class="simpara">6</a>] </sup>check type
and tolerance value are fixed at predicate construction time</p></div>
<div class="footnote"><p><sup>[<a id="ftn.id523652" href="#id523652" class="simpara">7</a>] </sup>check type and tolerance value are the arguments of the
<div class="footnote"><p><sup>[<a id="ftn.id540017" href="#id540017" class="simpara">7</a>] </sup>check type and tolerance value are the arguments of the
predicate</p></div>
<div class="footnote"><p><sup>[<a id="ftn.id523692" href="#id523692" class="simpara">8</a>] </sup><code class="varname">v</code> is zero</p></div>
<div class="footnote"><p><sup>[<a id="ftn.id540057" href="#id540057" class="simpara">8</a>] </sup><code class="varname">v</code> is zero</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -99,7 +99,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example28.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id519972" onclick="toggle_element( 'example28-output', 'id519972', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id536350" onclick="toggle_element( 'example28-output', 'id536350', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example28-output">&gt; example
Running 1 test case...
@@ -145,7 +145,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example29.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id520036" onclick="toggle_element( 'example29-output', 'id520036', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id536414" onclick="toggle_element( 'example29-output', 'id536414', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example29-output">&gt; example
Running 1 test case...
@@ -161,7 +161,7 @@ test.cpp(16): error in "test": check output.match_pattern() failed. Mismatch at
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -30,29 +30,29 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="utf.user-guide.testing-tools.reference"></a>The <acronym class="acronym">UTF</acronym> testing tools reference</h5></div></div></div>
<script language="JavaScript1.2">
var id365147;
var id435271;
</script><table class="inline-reference"><tr>
<td class="index" valign="top"><ul>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_BITWISE_EQUAL', id365147 ); return false;">BOOST_&lt;level&gt;_BITWISE_EQUAL</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE_FRACTION</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id365147 ); return false;">BOOST_&lt;level&gt;_EQUAL</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL_COLLECTIONS', id365147 ); return false;">BOOST_&lt;level&gt;_EQUAL_COLLECTIONS</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EXCEPTION', id365147 ); return false;">BOOST_&lt;level&gt;_EXCEPTION</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE', id365147 ); return false;">BOOST_&lt;level&gt;_GE</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT', id365147 ); return false;">BOOST_&lt;level&gt;_GT</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE', id365147 ); return false;">BOOST_&lt;level&gt;_LE</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT', id365147 ); return false;">BOOST_&lt;level&gt;_LT</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_MESSAGE', id365147 ); return false;">BOOST_&lt;level&gt;_MESSAGE</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_NE', id365147 ); return false;">BOOST_&lt;level&gt;_NE</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_NO_THROW', id365147 ); return false;">BOOST_&lt;level&gt;_NO_THROW</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_PREDICATE', id365147 ); return false;">BOOST_&lt;level&gt;_PREDICATE</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_SMALL', id365147 ); return false;">BOOST_&lt;level&gt;_SMALL</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW', id365147 ); return false;">BOOST_&lt;level&gt;_THROW</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_ERROR', id365147 ); return false;">BOOST_ERROR</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_FAIL', id365147 ); return false;">BOOST_FAIL</a></li>
<li><a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_IS_DEFINED', id365147 ); return false;">BOOST_IS_DEFINED</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_BITWISE_EQUAL', id435271 ); return false;">BOOST_&lt;level&gt;_BITWISE_EQUAL</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE_FRACTION</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id435271 ); return false;">BOOST_&lt;level&gt;_EQUAL</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL_COLLECTIONS', id435271 ); return false;">BOOST_&lt;level&gt;_EQUAL_COLLECTIONS</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EXCEPTION', id435271 ); return false;">BOOST_&lt;level&gt;_EXCEPTION</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE', id435271 ); return false;">BOOST_&lt;level&gt;_GE</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT', id435271 ); return false;">BOOST_&lt;level&gt;_GT</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE', id435271 ); return false;">BOOST_&lt;level&gt;_LE</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT', id435271 ); return false;">BOOST_&lt;level&gt;_LT</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_MESSAGE', id435271 ); return false;">BOOST_&lt;level&gt;_MESSAGE</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_NE', id435271 ); return false;">BOOST_&lt;level&gt;_NE</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_NO_THROW', id435271 ); return false;">BOOST_&lt;level&gt;_NO_THROW</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_PREDICATE', id435271 ); return false;">BOOST_&lt;level&gt;_PREDICATE</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_SMALL', id435271 ); return false;">BOOST_&lt;level&gt;_SMALL</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW', id435271 ); return false;">BOOST_&lt;level&gt;_THROW</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_ERROR', id435271 ); return false;">BOOST_ERROR</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_FAIL', id435271 ); return false;">BOOST_FAIL</a></li>
<li><a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_IS_DEFINED', id435271 ); return false;">BOOST_IS_DEFINED</a></li>
</ul></td>
<td class="content" valign="top">
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;">
@@ -87,7 +87,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example34.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id524165" onclick="toggle_element( 'example34-output', 'id524165', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id540530" onclick="toggle_element( 'example34-output', 'id540530', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example34-output">&gt; example --log_level=warning
Running 1 test case...
@@ -100,7 +100,7 @@ test.cpp(11): fatal error in "test": critical check i &gt; 5 failed
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_MESSAGE', id365147 ); return false;">BOOST_&lt;level&gt;_MESSAGE</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_MESSAGE', id435271 ); return false;">BOOST_&lt;level&gt;_MESSAGE</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_BITWISE_EQUAL">
<pre class="inline-synopsis">
@@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example33.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id524276" onclick="toggle_element( 'example33-output', 'id524276', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id540641" onclick="toggle_element( 'example33-output', 'id540641', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example33-output">&gt; example
Running 1 test case...
@@ -146,7 +146,7 @@ Operands bit sizes mismatch: 8 != 32
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id365147 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id435271 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE">
<pre class="inline-synopsis">
@@ -156,7 +156,7 @@ Operands bit sizes mismatch: 8 != 32
<p class="first-line-indented">
These tools are used to check on closeness using strong relationship defined by the predicate
<code class="computeroutput">check_is_close</code>( left, right, tolerance ). To check for the weak relationship use
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_PREDICATE', id365147 ); return false;">BOOST_&lt;level&gt;_PREDICATE</a> family of tools with explicit <code class="computeroutput">check_is_close</code>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_PREDICATE', id435271 ); return false;">BOOST_&lt;level&gt;_PREDICATE</a> family of tools with explicit <code class="computeroutput">check_is_close</code>
invocation.
</p>
<p>
@@ -208,7 +208,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example42.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id524440" onclick="toggle_element( 'example42-output', 'id524440', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id540805" onclick="toggle_element( 'example42-output', 'id540805', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example42-output">&gt; example
Running 1 test case...
@@ -243,7 +243,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example43.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id524492" onclick="toggle_element( 'example43-output', 'id524492', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id540857" onclick="toggle_element( 'example43-output', 'id540857', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example43-output">&gt; example
Running 1 test case...
@@ -253,7 +253,7 @@ Running 1 test case...
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE_FRACTION</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_SMALL', id365147 ); return false;">BOOST_&lt;level&gt;_SMALL</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id365147 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>,
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE_FRACTION</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_SMALL', id435271 ); return false;">BOOST_&lt;level&gt;_SMALL</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id435271 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>,
<a class="link" href="floating_point_comparison.html" title="Floating-point comparison algorithms">Floating point comparison algorithms</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION">
@@ -264,7 +264,7 @@ Running 1 test case...
<p class="first-line-indented">
These tools are used to check on closeness using strong relationship defined by the predicate
<code class="computeroutput">check_is_close</code>( left, right, tolerance ). To check for the weak relationship use
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_PREDICATE', id365147 ); return false;">BOOST_&lt;level&gt;_PREDICATE</a> family of tools with explicit <code class="computeroutput">check_is_close</code>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_PREDICATE', id435271 ); return false;">BOOST_&lt;level&gt;_PREDICATE</a> family of tools with explicit <code class="computeroutput">check_is_close</code>
invocation.
</p>
<p>
@@ -314,7 +314,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example44.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id524669" onclick="toggle_element( 'example44-output', 'id524669', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id541034" onclick="toggle_element( 'example44-output', 'id541034', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example44-output">&gt; example
Running 1 test case...
@@ -325,7 +325,7 @@ test.cpp(12): error in "test": difference between v1{1.111e-010} and v2{1.112e-0
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_SMALL', id365147 ); return false;">BOOST_&lt;level&gt;_SMALL</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id365147 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>,
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_SMALL', id435271 ); return false;">BOOST_&lt;level&gt;_SMALL</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id435271 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>,
<a class="link" href="floating_point_comparison.html" title="Floating-point comparison algorithms">Floating point comparison algorithms</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL">
@@ -334,7 +334,7 @@ test.cpp(12): error in "test": difference between v1{1.111e-010} and v2{1.112e-0
<a name="BOOST_CHECK_EQUAL"></a>BOOST_CHECK_EQUAL(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)
<a name="BOOST_REQUIRE_EQUAL"></a>BOOST_REQUIRE_EQUAL(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)</pre>
<p class="first-line-indented">
Check performed by these tools is the same as the one performed by <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>( left == right ).
Check performed by these tools is the same as the one performed by <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>( left == right ).
The difference is that the mismatched values are reported as well.
</p>
<div class="note"><table border="0" summary="Note">
@@ -343,8 +343,8 @@ test.cpp(12): error in "test": difference between v1{1.111e-010} and v2{1.112e-0
<th align="left">Note</th>
</tr>
<tr><td align="left" valign="top"><p>
It is bad idea to use these tools to compare floating point values. Use <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE</a> or
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE_FRACTION</a> tools instead.
It is bad idea to use these tools to compare floating point values. Use <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE</a> or
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE_FRACTION</a> tools instead.
</p></td></tr>
</table></div>
<div class="example">
@@ -367,7 +367,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example35.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id524806" onclick="toggle_element( 'example35-output', 'id524806', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id541171" onclick="toggle_element( 'example35-output', 'id541171', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example35-output">&gt; example
Running 1 test case...
@@ -378,7 +378,7 @@ test.cpp(10): fatal error in "test": critical check i == j failed [2 != 1]
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_NE', id365147 ); return false;">BOOST_&lt;level&gt;_NE</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_NE', id435271 ); return false;">BOOST_&lt;level&gt;_NE</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL_COLLECTIONS">
<pre class="inline-synopsis">
@@ -412,7 +412,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example36.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id524940" onclick="toggle_element( 'example36-output', 'id524940', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id541305" onclick="toggle_element( 'example36-output', 'id541305', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example36-output">&gt; example
Running 1 test case...
@@ -425,7 +425,7 @@ Mismatch in a position 5: 6 != 7
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id365147 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id435271 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EXCEPTION">
<pre class="inline-synopsis">
@@ -436,7 +436,7 @@ Mismatch in a position 5: 6 != 7
These tools are used to perform an exception detection and validation check. Tools execute the supplied expression
and validate that it throws an exception of supplied class (or the one derived from it) that complies with the
supplied predicate. If the expression throws any other unrelated exception, doesn't throw at all or
predicate evaluates to false, check fails. In comparison with <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW', id365147 ); return false;">BOOST_&lt;level&gt;_THROW</a> tools these
predicate evaluates to false, check fails. In comparison with <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW', id435271 ); return false;">BOOST_&lt;level&gt;_THROW</a> tools these
allow performing more fine-grained checks. For example: make sure that an expected exception has specific
error message.
</p>
@@ -466,7 +466,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example37.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id525062" onclick="toggle_element( 'example37-output', 'id525062', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id541427" onclick="toggle_element( 'example37-output', 'id541427', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example37-output">&gt; example
Running 1 test case...
@@ -477,7 +477,7 @@ test.cpp(16): error in "test": incorrect exception my_exception is caught
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW', id365147 ); return false;">BOOST_&lt;level&gt;_THROW</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW', id435271 ); return false;">BOOST_&lt;level&gt;_THROW</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE">
<pre class="inline-synopsis">
@@ -485,7 +485,7 @@ test.cpp(16): error in "test": incorrect exception my_exception is caught
<a name="BOOST_CHECK_GE"></a>BOOST_CHECK_GE(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)
<a name="BOOST_REQUIRE_GE"></a>BOOST_REQUIRE_GE(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)</pre>
<p class="first-line-indented">
Check performed by these tools is the same as the one performed by <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>( left &gt;= right ).
Check performed by these tools is the same as the one performed by <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>( left &gt;= right ).
The difference is that the argument values are reported as well.
</p>
<div class="example">
@@ -508,7 +508,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example57.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id525171" onclick="toggle_element( 'example57-output', 'id525171', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id541536" onclick="toggle_element( 'example57-output', 'id541536', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example57-output">&gt;example
Running 1 test case...
@@ -519,7 +519,7 @@ test.cpp(10): error in "test": check i &gt;= j failed [1 &lt; 4]
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE', id365147 ); return false;">BOOST_&lt;level&gt;_LE</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT', id365147 ); return false;">BOOST_&lt;level&gt;_LT</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT', id365147 ); return false;">BOOST_&lt;level&gt;_GT</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE', id435271 ); return false;">BOOST_&lt;level&gt;_LE</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT', id435271 ); return false;">BOOST_&lt;level&gt;_LT</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT', id435271 ); return false;">BOOST_&lt;level&gt;_GT</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT">
<pre class="inline-synopsis">
@@ -527,7 +527,7 @@ test.cpp(10): error in "test": check i &gt;= j failed [1 &lt; 4]
<a name="BOOST_CHECK_GT"></a>BOOST_CHECK_GT(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)
<a name="BOOST_REQUIRE_GT"></a>BOOST_REQUIRE_GT(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)</pre>
<p class="first-line-indented">
Check performed by these tools is the same as the one performed by <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>( left &gt; right ).
Check performed by these tools is the same as the one performed by <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>( left &gt; right ).
The difference is that the argument values are reported as well.
</p>
<div class="example">
@@ -550,7 +550,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example58.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id525287" onclick="toggle_element( 'example58-output', 'id525287', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id541652" onclick="toggle_element( 'example58-output', 'id541652', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example58-output">&gt;example
Running 1 test case...
@@ -561,7 +561,7 @@ test.cpp(10): error in "test": check i &gt; j failed [2 &lt; 14]
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE', id365147 ); return false;">BOOST_&lt;level&gt;_LE</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT', id365147 ); return false;">BOOST_&lt;level&gt;_LT</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE', id365147 ); return false;">BOOST_&lt;level&gt;_GE</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE', id435271 ); return false;">BOOST_&lt;level&gt;_LE</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT', id435271 ); return false;">BOOST_&lt;level&gt;_LT</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE', id435271 ); return false;">BOOST_&lt;level&gt;_GE</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE">
<pre class="inline-synopsis">
@@ -569,7 +569,7 @@ test.cpp(10): error in "test": check i &gt; j failed [2 &lt; 14]
<a name="BOOST_CHECK_LE"></a>BOOST_CHECK_LE(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)
<a name="BOOST_REQUIRE_LE"></a>BOOST_REQUIRE_LE(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)</pre>
<p class="first-line-indented">
Check performed by these tools is the same as the one performed by <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>( left &lt;= right ).
Check performed by these tools is the same as the one performed by <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>( left &lt;= right ).
The difference is that the argument values are reported as well.
</p>
<div class="example">
@@ -592,7 +592,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example55.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id525404" onclick="toggle_element( 'example55-output', 'id525404', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id541769" onclick="toggle_element( 'example55-output', 'id541769', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example55-output">&gt;example
Running 1 test case...
@@ -603,7 +603,7 @@ test.cpp(10): error in "test": check i &lt;= j failed [9 &gt; 6]
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT', id365147 ); return false;">BOOST_&lt;level&gt;_LT</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE', id365147 ); return false;">BOOST_&lt;level&gt;_GE</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT', id365147 ); return false;">BOOST_&lt;level&gt;_GT</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT', id435271 ); return false;">BOOST_&lt;level&gt;_LT</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE', id435271 ); return false;">BOOST_&lt;level&gt;_GE</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT', id435271 ); return false;">BOOST_&lt;level&gt;_GT</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LT">
<pre class="inline-synopsis">
@@ -611,7 +611,7 @@ test.cpp(10): error in "test": check i &lt;= j failed [9 &gt; 6]
<a name="BOOST_CHECK_LT"></a>BOOST_CHECK_LT(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)
<a name="BOOST_REQUIRE_LT"></a>BOOST_REQUIRE_LT(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)</pre>
<p class="first-line-indented">
Check performed by these tools is the same as the one performed by <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>( left &lt; right ).
Check performed by these tools is the same as the one performed by <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>( left &lt; right ).
The difference is that the argument values are reported as well.
</p>
<div class="example">
@@ -634,7 +634,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example56.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id525520" onclick="toggle_element( 'example56-output', 'id525520', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id541885" onclick="toggle_element( 'example56-output', 'id541885', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example56-output">&gt;example
Running 1 test case...
@@ -645,7 +645,7 @@ test.cpp(10): error in "test": check i &lt; j failed [7 &gt;= 7]
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE', id365147 ); return false;">BOOST_&lt;level&gt;_LE</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE', id365147 ); return false;">BOOST_&lt;level&gt;_GE</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT', id365147 ); return false;">BOOST_&lt;level&gt;_GT</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_LE', id435271 ); return false;">BOOST_&lt;level&gt;_LE</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GE', id435271 ); return false;">BOOST_&lt;level&gt;_GE</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_GT', id435271 ); return false;">BOOST_&lt;level&gt;_GT</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_MESSAGE">
<pre class="inline-synopsis">
@@ -653,7 +653,7 @@ test.cpp(10): error in "test": check i &lt; j failed [7 &gt;= 7]
<a name="BOOST_CHECK_MESSAGE"></a>BOOST_CHECK_MESSAGE(<span class="emphasis"><em>predicate</em></span>, <span class="emphasis"><em>message</em></span>)
<a name="BOOST_REQUIRE_MESSAGE"></a>BOOST_REQUIRE_MESSAGE(<span class="emphasis"><em>predicate</em></span>, <span class="emphasis"><em>message</em></span>)</pre>
<p class="first-line-indented">
These tools perform exactly the same check as <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a> tools. The only difference is that
These tools perform exactly the same check as <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a> tools. The only difference is that
instead of generating an error/confirm message these use the supplied one.
</p>
<p>
@@ -683,7 +683,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example38.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526101" onclick="toggle_element( 'example38-output', 'id526101', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id542468" onclick="toggle_element( 'example38-output', 'id542468', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example38-output">&gt; example --log_level=warning
Running 1 test case...
@@ -693,7 +693,7 @@ test.cpp(12): warning in "test": sin(45){0.850904} is &gt; 0.71. Arg is not in r
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_NE">
<pre class="inline-synopsis">
@@ -701,7 +701,7 @@ test.cpp(12): warning in "test": sin(45){0.850904} is &gt; 0.71. Arg is not in r
<a name="BOOST_CHECK_NE"></a>BOOST_CHECK_NE(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)
<a name="BOOST_REQUIRE_NE"></a>BOOST_REQUIRE_NE(<span class="emphasis"><em>left</em></span>, <span class="emphasis"><em>right</em></span>)</pre>
<p class="first-line-indented">
Check performed by these tools is the same as the one performed by <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>( left != right ).
Check performed by these tools is the same as the one performed by <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>( left != right ).
The difference is that the matched values are reported as well.
</p>
<div class="example">
@@ -724,7 +724,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example54.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526210" onclick="toggle_element( 'example54-output', 'id526210', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id542577" onclick="toggle_element( 'example54-output', 'id542577', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example54-output">&gt;example
Running 1 test case...
@@ -735,7 +735,7 @@ test.cpp(10): error in "test": check i != j failed [3 == 3]
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id365147 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_EQUAL', id435271 ); return false;">BOOST_&lt;level&gt;_EQUAL</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_NO_THROW">
<pre class="inline-synopsis">
@@ -775,7 +775,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example39.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526313" onclick="toggle_element( 'example39-output', 'id526313', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id542680" onclick="toggle_element( 'example39-output', 'id542680', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example39-output">&gt; example
Running 1 test case...
@@ -785,7 +785,7 @@ test.cpp(10): error in "test": exception thrown by throw my_exception()
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW', id365147 ); return false;">BOOST_&lt;level&gt;_THROW</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW', id435271 ); return false;">BOOST_&lt;level&gt;_THROW</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_PREDICATE">
<pre class="inline-synopsis">
@@ -795,7 +795,7 @@ test.cpp(10): error in "test": exception thrown by throw my_exception()
<p class="first-line-indented">
These are generic tools used to validate an arbitrary supplied predicate functor (there is a compile time limit on
predicate arity defined by the configurable macro <code class="computeroutput">BOOST_TEST_MAX_PREDICATE_ARITY</code>). To
validate zero arity predicate use <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a> tools. In other cases prefer theses tools. The
validate zero arity predicate use <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a> tools. In other cases prefer theses tools. The
advantage of these tools is that they show arguments values in case of predicate failure.
</p>
<p>
@@ -830,7 +830,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example40.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526434" onclick="toggle_element( 'example40-output', 'id526434', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id542801" onclick="toggle_element( 'example40-output', 'id542801', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example40-output">&gt; example
Running 1 test case...
@@ -841,7 +841,7 @@ test.cpp(15): warning in "test": condition moo( 12, i, j ) is not satisfied for
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_SMALL">
<pre class="inline-synopsis">
@@ -851,7 +851,7 @@ test.cpp(15): warning in "test": condition moo( 12, i, j ) is not satisfied for
<p class="first-line-indented">
These tools are used to check that supplied value is small enough. The "smallness" is defined by absolute value
of the tolerance supplied as a second argument. Use these tools with caution. To compare to values on closeness
it's preferable to use <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE</a> tools instead.
it's preferable to use <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE</a> tools instead.
</p>
<p class="first-line-indented">
The first parameter is the value to check. The second parameter is the tolerance.
@@ -886,7 +886,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example41.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526556" onclick="toggle_element( 'example41-output', 'id526556', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id542922" onclick="toggle_element( 'example41-output', 'id542922', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example41-output">&gt; example
Running 1 test case...
@@ -897,7 +897,7 @@ test.cpp(11): error in "test": absolute value of v{-0.00123456} exceeds 1e-006
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE</a>, <a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION', id365147 ); return false;">BOOST_&lt;level&gt;_CLOSE_FRACTION</a>,
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE</a>, <a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_CLOSE_FRACTION', id435271 ); return false;">BOOST_&lt;level&gt;_CLOSE_FRACTION</a>,
<a class="link" href="floating_point_comparison.html" title="Floating-point comparison algorithms">Floating point comparison algorithms</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;_THROW">
@@ -939,7 +939,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example45.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526686" onclick="toggle_element( 'example45-output', 'id526686', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id543053" onclick="toggle_element( 'example45-output', 'id543053', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example45-output">&gt; example
Running 1 test case...
@@ -949,7 +949,7 @@ test.cpp(11): error in "test": exception my_exception is expected
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;NO_THROW', id365147 ); return false;">BOOST_&lt;level&gt;NO_THROW</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;NO_THROW', id435271 ); return false;">BOOST_&lt;level&gt;NO_THROW</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_ERROR">
<pre class="inline-synopsis">
@@ -979,7 +979,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example46.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526775" onclick="toggle_element( 'example46-output', 'id526775', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id543142" onclick="toggle_element( 'example46-output', 'id543142', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example46-output">&gt; example
Running 1 test case...
@@ -989,7 +989,7 @@ test.cpp(8): error in "test": Nothing to test
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_FAIL">
<pre class="inline-synopsis">
@@ -1019,7 +1019,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example47.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526864" onclick="toggle_element( 'example47-output', 'id526864', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id543231" onclick="toggle_element( 'example47-output', 'id543231', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example47-output">&gt; example
Running 1 test case...
@@ -1029,7 +1029,7 @@ test.cpp(8): fatal error in "test": Test is not ready yet
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>
</div>
<div class="entry" id="utf.user-guide.testing-tools.reference.body.BOOST_IS_DEFINED">
<pre class="inline-synopsis">
@@ -1037,7 +1037,7 @@ test.cpp(8): fatal error in "test": Test is not ready yet
<p class="first-line-indented">
Unlike the rest of the tools in the toolbox this tool does not perform the logging itself. Its only purpose
is to check at runtime whether or not the supplied preprocessor symbol is defined. Use it in combination with
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a> to perform and log validation. Macros of any arity could be checked. To check the
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a> to perform and log validation. Macros of any arity could be checked. To check the
macro definition with non-zero arity specify dummy arguments for it. See below for example.
</p>
<p>
@@ -1062,7 +1062,7 @@ BOOST_AUTO_TEST_CASE( test )
<table border="0" summary="Simple list" class="simplelist"><tr>
<td><code class="literal"><a href="../../../../src/examples/example48.cpp" target="_top">Source code</a></code></td>
<td> | </td>
<td><code class="literal"><a href="#" target="_top" id="id526952" onclick="toggle_element( 'example48-output', 'id526952', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
<td><code class="literal"><a href="#" target="_top" id="id543318" onclick="toggle_element( 'example48-output', 'id543318', 'Show output', 'Hide output' ); return false;">Show output</a></code></td>
</tr></table>
<pre class="example-output" id="example48-output">&gt; example
Running 1 test case...
@@ -1073,14 +1073,14 @@ test.cpp(9): error in "test": check ::boost::test_tools::tt_detail::is_defined_i
</div>
</div>
<br class="example-break"><span class="inline-ref-see-also">See also: </span>
<a href="#" onclick="id365147 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id365147 ); return false;">BOOST_&lt;level&gt;</a>
<a href="#" onclick="id435271 = select_form_page( 'utf.user-guide.testing-tools.reference.body.BOOST_&lt;level&gt;', id435271 ); return false;">BOOST_&lt;level&gt;</a>
</div>
</td>
</tr></table>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -51,7 +51,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -40,7 +40,7 @@
inclusion.
</p>
<p class="first-line-indented">
The test runner supplied with this variant requires you to implement the <a class="link" href="../glossary.html#test-module.def">test
The test runner supplied with this variant requires you to implement the <a class="link" href="../glossary.html#test-module.def" title="The test module">test
module</a> initialization function that matches the alternative initialization function signature. The <acronym class="acronym">UTF</acronym>
provides an ability to <a class="link" href="../initialization.html#utf.user-guide.initialization.auto-generation" title="Automated generation of the test module initialization function">automatically generate</a>
an empty test module initialization function with correct signature if no custom initialization is required by a
@@ -59,7 +59,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -40,7 +40,7 @@
</p>
<p class="first-line-indented">
If an external test runner is based on the test runner built in to the dynamic library (like the standalone
boost_test_runner utility supplied by the <acronym class="acronym">UTF</acronym>), it requires you to implement the <a class="link" href="../glossary.html#test-module.def">
boost_test_runner utility supplied by the <acronym class="acronym">UTF</acronym>), it requires you to implement the <a class="link" href="../glossary.html#test-module.def" title="The test module">
test module</a> initialization function that matches the alternative initialization function signature. The
<acronym class="acronym">UTF</acronym> provides an ability to <a class="link" href="../initialization.html#utf.user-guide.initialization.auto-generation" title="Automated generation of the test module initialization function">automatically generate
</a> an empty test module initialization function with correct signature if no custom initialization is required
@@ -59,7 +59,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -7,7 +7,7 @@
<link rel="home" href="../../../index.html" title="Boost Test Library">
<link rel="up" href="../test-runners.html" title="The supplied test runners &#8230; or where is the entrance?">
<link rel="prev" href="../test-runners.html" title="The supplied test runners &#8230; or where is the entrance?">
<link rel="next" href="../glossary.html" title="Glossary &#8230; or what's your name?">
<link rel="next" href="../glossary.html" title="">
<script language="JavaScript1.2" src="../../../../js/boost-test.js"></script>
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -43,7 +43,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -45,7 +45,7 @@
<code class="filename">boost/test/unit_test.hpp</code>.
</p>
<p class="first-line-indented">
The test runner supplied with this variant requires you to implement the <a class="link" href="../glossary.html#test-module.def">test
The test runner supplied with this variant requires you to implement the <a class="link" href="../glossary.html#test-module.def" title="The test module">test
module</a> initialization function that matches one of the two specifications depending on the compilation flag
<a class="xref" href="../../compilation.html#utf.flag.alt-init-api">BOOST_TEST_ALTERNATIVE_INIT_API</a>. If flag isn't defined you are required to
match the original specification. If you define the flag
@@ -57,7 +57,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">

View File

@@ -36,7 +36,7 @@
variant of the <acronym class="acronym">UTF</acronym>.
</p>
<p class="first-line-indented">
The test runner supplied with this variant required you to implement the <a class="link" href="../glossary.html#test-module.def">test
The test runner supplied with this variant required you to implement the <a class="link" href="../glossary.html#test-module.def" title="The test module">test
module</a> initialization function that matches one of the two specifications depending on the compilation flag
<a class="xref" href="../../compilation.html#utf.flag.alt-init-api">BOOST_TEST_ALTERNATIVE_INIT_API</a>. If flag isn't defined you are required
to match the original specification. If you define the flag <a class="xref" href="../../compilation.html#utf.flag.alt-init-api">BOOST_TEST_ALTERNATIVE_INIT_API</a> during a test module compilation you are required to use the alternative
@@ -58,7 +58,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2011 Gennadiy Rozental</div></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2012 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">