| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <title>Test case template</title> |
| <link rel="stylesheet" href="../../../../style/style.css" type="text/css"> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.74.0"> |
| <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="manual-test-case-template.html" title="Manually registered test case template"> |
| <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/docbook/img/boost.test.logo.png"></a></td> |
| <td valign="middle" align="left"> > <a href="../../../utf.html">The Unit Test Framework</a> > <a href="../../user-guide.html">User's guide</a><a href="../../testing-tools.html"> |
| > |
| </a><a href="../test-organization.html">Test organization</a><a href="../fixture.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/html/images/prev.png" alt="Prev"></a><a href="manual-test-case-template.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a> |
| </div></td> |
| </tr></table> |
| <hr> |
| <div class="section" lang="en"> |
| <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 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="itemizedlist"><ul type="disc"> |
| <li> |
| <a class="link" href="manual-test-case-template.html" title="Manually registered test case template">Manually registered test case |
| template</a> |
| </li> |
| <li> |
| <a class="link" href="auto-test-case-template.html" title="Test case template with automated registration">Test case template with automated |
| registration</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-2007 Gennadiy Rozental</div></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"> |
| <a accesskey="p" href="unary-test-case.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../test-organization.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="manual-test-case-template.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a> |
| </div> |
| </body> |
| </html> |