| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN"> | 
|---|
| 2 |  | 
|---|
| 3 | <html> | 
|---|
| 4 | <head> | 
|---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | 
|---|
| 6 | <title>Boost.MultiIndex Documentation - Tests</title> | 
|---|
| 7 | <link rel="stylesheet" href="style.css" type="text/css"> | 
|---|
| 8 | </head> | 
|---|
| 9 |  | 
|---|
| 10 | <body> | 
|---|
| 11 | <h1><img src="../../../boost.png" alt="boost.png (6897 bytes)" align= | 
|---|
| 12 | "middle" width="277" height="86">Boost.MultiIndex Tests</h1> | 
|---|
| 13 |  | 
|---|
| 14 | <div class="prev_link"><a href="examples.html"><img src="prev.gif" alt="examples" border="0"><br> | 
|---|
| 15 | Examples | 
|---|
| 16 | </a></div> | 
|---|
| 17 | <div class="up_link"><a href="index.html"><img src="up.gif" alt="index" border="0"><br> | 
|---|
| 18 | Index | 
|---|
| 19 | </a></div> | 
|---|
| 20 | <div class="next_link"><a href="future_work.html"><img src="next.gif" alt="future work" border="0"><br> | 
|---|
| 21 | Future work | 
|---|
| 22 | </a></div><br clear="all" style="clear: all;"> | 
|---|
| 23 |  | 
|---|
| 24 | <hr> | 
|---|
| 25 |  | 
|---|
| 26 | <p> | 
|---|
| 27 | The Boost.MultiIndex test suite exercises the whole spectrum of | 
|---|
| 28 | functionalities provided by the library. Although the tests are not meant | 
|---|
| 29 | to serve as a learning guide, the interested reader may find it | 
|---|
| 30 | useful to inspect the source code to gain familiarity | 
|---|
| 31 | with some of the least common features offered by Boost.MultiIndex. | 
|---|
| 32 | </p> | 
|---|
| 33 |  | 
|---|
| 34 | <p align="center"> | 
|---|
| 35 | <table cellspacing="0" cellpadding="5"> | 
|---|
| 36 |   <caption><b>Boost.MultiIndex test suite.</b></caption> | 
|---|
| 37 | <tr> | 
|---|
| 38 |   <th>Program</th> | 
|---|
| 39 |   <th>Description</th> | 
|---|
| 40 | </tr> | 
|---|
| 41 | <tr> | 
|---|
| 42 |   <td><a href="../test/test_basic.cpp"><code>test_basic.cpp</code></a></td> | 
|---|
| 43 |   <td>Simple program along the lines of the employees example studied in the | 
|---|
| 44 |   tutorial.</td> | 
|---|
| 45 | </tr> | 
|---|
| 46 | <tr class="odd_tr"> | 
|---|
| 47 |   <td><a href="../test/test_capacity.cpp"><code>test_capacity.cpp</code></a></td> | 
|---|
| 48 |   <td><code>empty</code>, <code>size</code> and (sequenced indices only) | 
|---|
| 49 |   <code>resize</code>.</td> | 
|---|
| 50 | </tr> | 
|---|
| 51 | <tr> | 
|---|
| 52 |   <td><a href="../test/test_comparison.cpp"><code>test_comparison.cpp</code></a></td> | 
|---|
| 53 |   <td>Comparison between indices.</td> | 
|---|
| 54 | </tr> | 
|---|
| 55 | <tr class="odd_tr"> | 
|---|
| 56 |   <td><a href="../test/test_composite_key.cpp"><code>test_composite_key.cpp</code></a></td> | 
|---|
| 57 |   <td><code>composite_key</code> and <code>composite_key_compare</code>.</td> | 
|---|
| 58 | </tr> | 
|---|
| 59 | <tr> | 
|---|
| 60 |   <td><a href="../test/test_conv_iterators.cpp"><code>test_conv_iterators.cpp</code></a></td> | 
|---|
| 61 |   <td>Checks convertibility of non-constant to constant iterators.</td> | 
|---|
| 62 | </tr> | 
|---|
| 63 | <tr class="odd_tr"> | 
|---|
| 64 |   <td><a href="../test/test_copy_assignment.cpp"><code>test_copy_assignment.cpp</code></a></td> | 
|---|
| 65 |   <td>Various forms of assignment: copy, <code>operator =</code>, insertion, | 
|---|
| 66 |   (sequenced indices only) <code>assign</code> . | 
|---|
| 67 | </tr> | 
|---|
| 68 | <tr> | 
|---|
| 69 |   <td><a href="../test/test_hash_ops.cpp"><code>test_hash_ops.cpp</code></a></td> | 
|---|
| 70 |   <td>Hashing operations.</td> | 
|---|
| 71 | </tr> | 
|---|
| 72 | <tr class="odd_tr"> | 
|---|
| 73 |   <td><a href="../test/test_iterators.cpp"><code>test_iterators.cpp</code></a></td> | 
|---|
| 74 |   <td>Constant and non-constant iterators and their reverse variants.</td> | 
|---|
| 75 | </tr> | 
|---|
| 76 | <tr> | 
|---|
| 77 |   <td><a href="../test/test_key_extractors.cpp"><code>test_key_extractors.cpp</code></a></td> | 
|---|
| 78 |   <td>Covers all use cases of key extractors shipped with the library.</td> | 
|---|
| 79 | </tr> | 
|---|
| 80 | <tr class="odd_tr"> | 
|---|
| 81 |   <td><a href="../test/test_list_ops.cpp"><code>test_list_ops.cpp</code></a></td> | 
|---|
| 82 |   <td>List-like operations particular to sequenced indices.</td> | 
|---|
| 83 | </tr> | 
|---|
| 84 | <tr> | 
|---|
| 85 |   <td><a href="../test/test_modifiers.cpp"><code>test_modifiers.cpp</code></a></td> | 
|---|
| 86 |   <td>Checks the family of insertion and erasing operations.</td> | 
|---|
| 87 | </tr> | 
|---|
| 88 | <tr class="odd_tr"> | 
|---|
| 89 |   <td><a href="../test/test_mpl_ops.cpp"><code>test_mpl_ops.cpp</code></a></td> | 
|---|
| 90 |   <td>Metaprogramming manipulations of <code>multi_index_container</code> types.</td> | 
|---|
| 91 | </tr> | 
|---|
| 92 | <tr> | 
|---|
| 93 |   <td><a href="../test/test_observers.cpp"><code>test_observers.cpp</code></a></td> | 
|---|
| 94 |   <td>Checks observer member functions of ordered and hashed indices.</td> | 
|---|
| 95 | </tr> | 
|---|
| 96 | <tr class="odd_tr"> | 
|---|
| 97 |   <td><a href="../test/test_projection.cpp"><code>test_projection.cpp</code></a></td> | 
|---|
| 98 |   <td>Projection of iterators among indices.</td> | 
|---|
| 99 | </tr> | 
|---|
| 100 | <tr> | 
|---|
| 101 |   <td><a href="../test/test_range.cpp"><code>test_range.cpp</code></a></td> | 
|---|
| 102 |   <td>Exercises the <code>range</code> facility (ordered indices only).</td> | 
|---|
| 103 | </tr> | 
|---|
| 104 | <tr class="odd_tr"> | 
|---|
| 105 |   <td><a href="../test/test_safe_mode.cpp"><code>test_safe_mode.cpp</code></a></td> | 
|---|
| 106 |   <td>Comprehensive coverage of all conditions checked in safe mode.</td>  | 
|---|
| 107 | </tr> | 
|---|
| 108 | <tr> | 
|---|
| 109 |   <td><a href="../test/test_serialization.cpp"><code>test_serialization.cpp</code></a></td> | 
|---|
| 110 |   <td>Serialization support.</td>  | 
|---|
| 111 | </tr> | 
|---|
| 112 | <tr class="odd_tr"> | 
|---|
| 113 |   <td><a href="../test/test_set_ops.cpp"><code>test_set_ops.cpp</code></a></td> | 
|---|
| 114 |   <td>Set-like operations particular to ordered indices.</td> | 
|---|
| 115 | </tr> | 
|---|
| 116 | <tr> | 
|---|
| 117 |   <td><a href="../test/test_special_list_ops.cpp"><code>test_special_list_ops.cpp</code></a></td> | 
|---|
| 118 |   <td>Convenience functions of sequenced indices not present in | 
|---|
| 119 |   <code>std::list</code>.</td> | 
|---|
| 120 | </tr> | 
|---|
| 121 | <tr class="odd_tr"> | 
|---|
| 122 |   <td><a href="../test/test_special_set_ops.cpp"><code>test_special_set_ops.cpp</code></a></td> | 
|---|
| 123 |   <td>Checks special lookup operations using compatible sorting criteria.</td> | 
|---|
| 124 | </tr> | 
|---|
| 125 | <tr> | 
|---|
| 126 |   <td><a href="../test/test_update.cpp"><code>test_update.cpp</code></a></td> | 
|---|
| 127 |   <td><code>replace</code>, <code>modify</code> and <code>modify_key</code>.</td> | 
|---|
| 128 | </tr> | 
|---|
| 129 | </table> | 
|---|
| 130 | </p> | 
|---|
| 131 |  | 
|---|
| 132 | <hr> | 
|---|
| 133 |  | 
|---|
| 134 | <div class="prev_link"><a href="examples.html"><img src="prev.gif" alt="examples" border="0"><br> | 
|---|
| 135 | Examples | 
|---|
| 136 | </a></div> | 
|---|
| 137 | <div class="up_link"><a href="index.html"><img src="up.gif" alt="index" border="0"><br> | 
|---|
| 138 | Index | 
|---|
| 139 | </a></div> | 
|---|
| 140 | <div class="next_link"><a href="future_work.html"><img src="next.gif" alt="future work" border="0"><br> | 
|---|
| 141 | Future work | 
|---|
| 142 | </a></div><br clear="all" style="clear: all;"> | 
|---|
| 143 |  | 
|---|
| 144 | <br> | 
|---|
| 145 |  | 
|---|
| 146 |  | 
|---|
| 147 | <p>Revised July 27th 2005</p> | 
|---|
| 148 |  | 
|---|
| 149 | <p>© Copyright 2003-2005 Joaquín M López Muñoz. | 
|---|
| 150 | Distributed under the Boost Software  | 
|---|
| 151 | License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt"> | 
|---|
| 152 | LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt"> | 
|---|
| 153 | http://www.boost.org/LICENSE_1_0.txt</a>) | 
|---|
| 154 | </p> | 
|---|
| 155 |  | 
|---|
| 156 | </body> | 
|---|
| 157 | </html> | 
|---|