defined in unit_test_suite.hpp
class test_case { public: void set_timeout( int timeout ); void set_expected_failures( unit_test_counter exp_fail ); void run(); };
Abstract class test_case define the test case interface. Use method test_case:set_timeout(...) to set the timeout value for the test case. See method execution_monitor::execute(...) for more details about the timeout value. Use method test_case::set_expected_failures(...) to set the expected amount of Test Tools failures in the test case. In most cases it's more convenient to set these parameters while adding this test_case to a test_suite. See the method test_suite::add(...) for more details. Use method test_case::run() to start the test case processing.
You will never need to create instances of the class test_case.