mirror of
https://github.com/boostorg/test.git
synced 2026-02-20 03:02:10 +00:00
61 lines
3.5 KiB
HTML
Executable File
61 lines
3.5 KiB
HTML
Executable File
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<title>Test case template</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">
|
|
<link rel="up" href="../test-organization.html" title="Test organization … or the house that Jack built">
|
|
<link rel="prev" href="unary-test-case.html" title="Unary function based test case">
|
|
<link rel="next" href="auto-test-case-template.html" title="Test case template with automated registration">
|
|
<script language="JavaScript1.2" src="../../../../js/boost-test.js"></script>
|
|
</head>
|
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
<table width="100%"><tr>
|
|
<td width="10%"><a href="../../../index.html"><img alt="Home" width="229" height="61" border="0" src="../../../../../../../libs/test/doc/img/boost.test.logo.png"></a></td>
|
|
<td valign="middle" align="left"> > <a href="../../../utf.html">The Unit Test Framework</a><a href="../../../execution-monitor.html">
|
|
>
|
|
</a><a href="../../user-guide.html">User's guide</a><a href="../../usage-recommendations.html">
|
|
>
|
|
</a><a href="../test-organization.html">Test organization</a><a href="../testing-tools.html">
|
|
>
|
|
</a><b>Test case template</b><a href="test-suite.html">
|
|
>
|
|
</a>
|
|
</td>
|
|
<td><div class="spirit-nav">
|
|
<a href="unary-test-case.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a href="auto-test-case-template.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div></td>
|
|
</tr></table>
|
|
<hr>
|
|
<div class="section">
|
|
<div class="titlepage"><div><div><h5 class="title">
|
|
<a name="utf.user-guide.test-organization.test-case-template"></a>Test case template</h5></div></div></div>
|
|
<p class="first-line-indented">
|
|
To test a template based component it's frequently necessary to perform the same set of checks for a
|
|
component instantiated with different template parameters. The <acronym class="acronym">UTF</acronym> provides the ability to create a series of
|
|
test cases based on a list of desired types and function similar to nullary function template. This facility is
|
|
called test case template. Here are the two construction interfaces:
|
|
</p>
|
|
<div class="itemizedlist"><ul type="disc">
|
|
<li class="listitem">
|
|
<a class="link" href="auto-test-case-template.html" title="Test case template with automated registration">Test case template with automated
|
|
registration</a>
|
|
</li>
|
|
<li class="listitem">
|
|
<a class="link" href="manual-test-case-template.html" title="Manually registered test case template">Manually registered test case
|
|
template</a>
|
|
</li>
|
|
</ul></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 © 2001-2012 Gennadiy Rozental</div></td>
|
|
</tr></table>
|
|
<hr>
|
|
<div class="spirit-nav">
|
|
<a accesskey="p" href="unary-test-case.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../test-organization.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="auto-test-case-template.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div>
|
|
</body>
|
|
</html>
|