Home | Libraries | People | FAQ | More |
The test_suite
class represents a group of test cases
and suites in the test tree hierarchy.
namespace bosot { namespace unit_test { class BOOST_TEST_DECL test_suite : public test_unit { public: enum { type = tut_suite }; // Constructor explicit test_suite( const_string ts_name ); // test unit list management void add( test_unit* tu, counter_t expected_failures = 0, unsigned timeout = 0 ); void add( test_unit_generator const& gen, unsigned timeout = 0 ); void remove( test_unit_id id ); // access methods test_unit_id get( const_string tu_name ) const; std::size_t size() const { return m_members.size(); } }; } }