mirror of
https://github.com/boostorg/test.git
synced 2026-02-16 01:42:11 +00:00
80 lines
5.1 KiB
HTML
80 lines
5.1 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<title>The Execution Monitor</title>
|
|
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
|
<link rel="home" href="../../index.html" title="Boost.Test">
|
|
<link rel="up" href="../components.html" title="Components">
|
|
<link rel="prev" href="bt_minimal_testing/example.html" title="Example">
|
|
<link rel="next" href="execution_monitor/compilation_variants_and_procedu.html" title="Compilation variants and procedures">
|
|
</head>
|
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
<table cellpadding="2" width="100%"><tr>
|
|
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
|
|
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
|
|
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
|
|
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
|
|
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
|
|
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
|
|
</tr></table>
|
|
<hr>
|
|
<div class="spirit-nav">
|
|
<a accesskey="p" href="bt_minimal_testing/example.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../components.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="execution_monitor/compilation_variants_and_procedu.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div>
|
|
<div class="section">
|
|
<div class="titlepage"><div><div><h3 class="title">
|
|
<a name="boost_test.components.execution_monitor"></a><a name="ref_execution_monitor"></a><a class="link" href="execution_monitor.html" title="The Execution Monitor">The
|
|
Execution Monitor</a>
|
|
</h3></div></div></div>
|
|
<div class="toc"><dl class="toc">
|
|
<dt><span class="section"><a href="execution_monitor/compilation_variants_and_procedu.html">Compilation
|
|
variants and procedures</a></span></dt>
|
|
<dt><span class="section"><a href="execution_monitor/the_execution_monitor_user_s_gui.html">The
|
|
Execution Monitor user's guide</a></span></dt>
|
|
</dl></div>
|
|
<p>
|
|
Sometimes we need to call a function and make sure that no user or system
|
|
originated exceptions are being thrown by it. Uniform exception reporting
|
|
is also may be convenient. That's the purpose of the Boost.Test's <span class="emphasis"><em>Execution
|
|
Monitor</em></span>.
|
|
</p>
|
|
<p>
|
|
The Execution Monitor is a lower-level component of the Boost Test Library.
|
|
It is the base for implementing all other Boost.Test components, but also
|
|
can be used standalone to get controlled execution of error-prone functions
|
|
with a uniform error notification. The Execution Monitor calls a user-supplied
|
|
function in a controlled environment, relieving users from messy error detection.
|
|
</p>
|
|
<p>
|
|
The Execution Monitor usage is demonstrated in the example <a href="../../../../../example/exec_mon_example.cpp" target="_top"><code class="literal">exec_mon_example.cpp</code></a>.
|
|
Additional examples are in <a class="link" href="section_pem.html" title="Program Execution Monitor">Program
|
|
Execution Monitor</a> or <span class="emphasis"><em>UTF</em></span>.
|
|
</p>
|
|
<h5>
|
|
<a name="boost_test.components.execution_monitor.h0"></a>
|
|
<span class="phrase"><a name="boost_test.components.execution_monitor.design_rationale"></a></span><a class="link" href="execution_monitor.html#boost_test.components.execution_monitor.design_rationale">Design
|
|
Rationale</a>
|
|
</h5>
|
|
<p>
|
|
The Execution Monitor design assumes that it can be used when no (or almost
|
|
no) memory available. Also the Execution Monitor is intended to be portable
|
|
to as many platforms as possible.
|
|
</p>
|
|
</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 © 2001-2014 Gennadiy
|
|
Rozental<p>
|
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
|
</p>
|
|
</div></td>
|
|
</tr></table>
|
|
<hr>
|
|
<div class="spirit-nav">
|
|
<a accesskey="p" href="bt_minimal_testing/example.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../components.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="execution_monitor/compilation_variants_and_procedu.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div>
|
|
</body>
|
|
</html>
|