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::test_unit Class Reference

#include <unit_test_suite_impl.hpp>

Inheritance diagram for boost::unit_test::test_unit:
Collaboration diagram for boost::unit_test::test_unit:

Public Types

enum  { type = tut_any }
 

Public Member Functions

 test_unit (const_string tu_name, test_unit_type t)
 
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

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 Member Functions

 ~test_unit ()
 

Member Enumeration Documentation

anonymous enum
Enumerator
type 

Constructor & Destructor Documentation

boost::unit_test::test_unit::test_unit ( const_string  tu_name,
test_unit_type  t 
)
boost::unit_test::test_unit::~test_unit ( )
protected

Member Function Documentation

typedef boost::unit_test::test_unit::BOOST_READONLY_PROPERTY ( test_unit_id  ,
(framework_impl)   
)
typedef boost::unit_test::test_unit::BOOST_READONLY_PROPERTY ( test_unit_id  ,
(test_suite  
)
bool boost::unit_test::test_unit::check_dependencies ( ) const
void boost::unit_test::test_unit::depends_on ( test_unit tu)
void boost::unit_test::test_unit::increase_exp_fail ( unsigned  num)

Member Data Documentation

readwrite_property<bool> boost::unit_test::test_unit::p_enabled
mutable
readwrite_property<counter_t> boost::unit_test::test_unit::p_expected_failures
id_t boost::unit_test::test_unit::p_id
readwrite_property<std::string> boost::unit_test::test_unit::p_name
parent_id_t boost::unit_test::test_unit::p_parent_id
readwrite_property<unsigned> boost::unit_test::test_unit::p_timeout
readonly_property<test_unit_type> boost::unit_test::test_unit::p_type
readonly_property<const_string> boost::unit_test::test_unit::p_type_name

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