Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::unit_test::master_test_suite_t Class Reference

#include <unit_test_suite_impl.hpp>

Inheritance diagram for boost::unit_test::master_test_suite_t:
Collaboration diagram for boost::unit_test::master_test_suite_t:

Public Types

enum  { type = tut_suite }
 
enum  { type = tut_any }
 

Public Member Functions

 master_test_suite_t ()
 
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)
 
test_unit_id get (const_string tu_name) const
 
std::size_t size () const
 
void depends_on (test_unit *tu)
 
bool check_dependencies () const
 
typedef BOOST_READONLY_PROPERTY (test_unit_id,(framework_impl)) id_t
 
typedef BOOST_READONLY_PROPERTY (test_unit_id,(test_suite)) parent_id_t
 
void increase_exp_fail (unsigned num)
 

Public Attributes

int argc
 
char ** argv
 
readonly_property< test_unit_type > p_type
 
readonly_property< const_stringp_type_name
 
id_t p_id
 
parent_id_t p_parent_id
 
readwrite_property< std::string > p_name
 
readwrite_property< unsigned > p_timeout
 
readwrite_property< counter_t > p_expected_failures
 
readwrite_property< bool > p_enabled
 

Protected Attributes

std::vector< test_unit_id > m_members
 

Member Enumeration Documentation

anonymous enum
inherited
Enumerator
type 
anonymous enum
inherited
Enumerator
type 

Constructor & Destructor Documentation

boost::unit_test::master_test_suite_t::master_test_suite_t ( )
inline

Member Function Documentation

void boost::unit_test::test_suite::add ( test_unit tu,
counter_t  expected_failures = 0,
unsigned  timeout = 0 
)
inherited
void boost::unit_test::test_suite::add ( test_unit_generator const &  gen,
unsigned  timeout = 0 
)
inherited
typedef boost::unit_test::test_unit::BOOST_READONLY_PROPERTY ( test_unit_id  ,
(framework_impl)   
)
inherited
typedef boost::unit_test::test_unit::BOOST_READONLY_PROPERTY ( test_unit_id  ,
(test_suite  
)
inherited
bool boost::unit_test::test_unit::check_dependencies ( ) const
inherited
void boost::unit_test::test_unit::depends_on ( test_unit tu)
inherited
test_unit_id boost::unit_test::test_suite::get ( const_string  tu_name) const
inherited
void boost::unit_test::test_unit::increase_exp_fail ( unsigned  num)
inherited
void boost::unit_test::test_suite::remove ( test_unit_id  id)
inherited
std::size_t boost::unit_test::test_suite::size ( void  ) const
inlineinherited

Member Data Documentation

int boost::unit_test::master_test_suite_t::argc
char** boost::unit_test::master_test_suite_t::argv
std::vector<test_unit_id> boost::unit_test::test_suite::m_members
protectedinherited
readwrite_property<bool> boost::unit_test::test_unit::p_enabled
mutableinherited
readwrite_property<counter_t> boost::unit_test::test_unit::p_expected_failures
inherited
id_t boost::unit_test::test_unit::p_id
inherited
readwrite_property<std::string> boost::unit_test::test_unit::p_name
inherited
parent_id_t boost::unit_test::test_unit::p_parent_id
inherited
readwrite_property<unsigned> boost::unit_test::test_unit::p_timeout
inherited
readonly_property<test_unit_type> boost::unit_test::test_unit::p_type
inherited
readonly_property<const_string> boost::unit_test::test_unit::p_type_name
inherited

The documentation for this class was generated from the following file: