>
The Unit Test Framework
>
Examples collection
The
UTF
usage examples collection
Example 1, “Nullary function based test case with automated registration”
Example 2, “Nullary free function manually registered”
Example 3, “Nullary method of a class bound to global class instance and manually registered”
Example 4, “Nullary method of a class bound to shared class instance and manually registered”
Example 5, “Nullary method of a class bound to local class instance inside free function”
Example 6, “Binary free function bound to set of different parameter pairs”
Example 7, “Unary free function based test case”
Example 8, “Unary class method based test case”
Example 9, “Test case template with automated registration”
Example 10, “Manually registered test case template”
Example 11, “Test suites with automated registration”
Example 13, “Manually registered test suites”
Example 14, “Command line access in initialization function”
Example 15, “Naming master test suite using the macro BOOST_TEST_MODULE”
Example 16, “Naming master test suite explicitly in the test module initialization function”
Example 17, “Expected failures specification for manually registered test case”
Example 18, “Expected failures specification for automatically registered test case”
Example 19, “output_test_stream usage with explicit output checks”
Example 20, “output_test_stream usage for pattern file matching”
Example 21, “Custom predicate support using BOOST_CHECK_PREDICATE”
Example 22, “Custom predicate support using class predicate_result”
Example 24, “BOOST_<level>_BITWISE_EQUAL usage”
Example 44, “BOOST_TEST_DONT_PRINT_LOG_VALUE usage”
Example 45, “BOOST_TEST_MESSAGE usage”
Example 46, “BOOST_TEST_CHECKPOINT usage”
Example 47, “BOOST_TEST_PASSPOINT usage”
Example 52, “Per test case fixture”
Example 53, “Test suite level fixture”
Example 54, “Global fixture”
Example 55, “The Program Execution Monitor: Hello World”
Example 56, “The Program Execution Monitor: standard exception detection”
Example 57, “The Program Execution Monitor: error return code detection”
Example 58, “Minimal testing facility application”
Example 23, “BOOST_<level> usage”
Example 28, “BOOST_<level>_EQUAL usage”
Example 29, “BOOST_<level>_EQUAL_COLLECTIONS usage”
Example 30, “BOOST_<level>_EXCEPTION usage”
Example 35, “BOOST_<level>_MESSAGE usage”
Example 37, “BOOST_<level>_NO_THROW usage”
Example 38, “BOOST_<level>_PREDICATE usage”
Example 39, “BOOST_<level>_SMALL usage”
Example 25, “BOOST_<level>_CLOSE usage with very small values”
Example 26, “BOOST_<level>_CLOSE usage with very big values”
Example 27, “BOOST_<level>_CLOSE_FRACTION usage”
Example 40, “BOOST_<level>_THROW usage”
Example 41, “BOOST_ERROR usage”
Example 42, “BOOST_FAIL usage”
Example 43, “BOOST_IS_DEFINED usage”
Example 51, “Progress report for the test module with large amount of test cases”
Example 48, “Test log output redirection”
Example 49, “Compile time log level configuration”
Example 50, “Compile time log format selection”
Example 12, “Example of test suite extension using automated registration facility”
Example 36, “BOOST_<level>_NE usage”
Example 33, “BOOST_<level>_LE usage”
Example 34, “BOOST_<level>_LT usage”
Example 31, “BOOST_<level>_GE usage”
Example 32, “BOOST_<level>_GT usage”