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_case Class Reference

#include <unit_test_suite_impl.hpp>

Inheritance diagram for boost::unit_test::test_case:
Collaboration diagram for boost::unit_test::test_case:

Public Types

enum  { type = tut_case }
 
enum  { type = tut_any }
 

Public Member Functions

 test_case (const_string tc_name, callback0<> const &test_func)
 
callback0 const & test_func () 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

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
 

Friends

class framework_impl
 

Member Enumeration Documentation

anonymous enum
inherited
Enumerator
type 
anonymous enum
Enumerator
type 

Constructor & Destructor Documentation

boost::unit_test::test_case::test_case ( const_string  tc_name,
callback0<> const &  test_func 
)

Member Function Documentation

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
void boost::unit_test::test_unit::increase_exp_fail ( unsigned  num)
inherited
callback0 const& boost::unit_test::test_case::test_func ( ) const
inline

Friends And Related Function Documentation

friend class framework_impl
friend

Member Data Documentation

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: