Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
framework.hpp File Reference
#include <boost/test/detail/global_typedef.hpp>
#include <boost/test/detail/fwd_decl.hpp>
#include <boost/test/utils/trivial_singleton.hpp>
#include <boost/test/detail/suppress_warnings.hpp>
#include <stdexcept>
#include <boost/test/detail/enable_warnings.hpp>
Include dependency graph for framework.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::unit_test::framework::internal_error
 
struct  boost::unit_test::framework::setup_error
 
struct  boost::unit_test::framework::nothing_to_test
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::unit_test
 
 boost::unit_test::framework
 

Macros

#define BOOST_TEST_SETUP_ASSERT(cond, msg)   if( cond ) {} else throw unit_test::framework::setup_error( msg )
 

Typedefs

typedef test_suite *(* boost::unit_test::init_unit_test_func )(int, char *[])
 

Functions

BOOST_TEST_DECL void boost::unit_test::framework::init (init_unit_test_func init_func, int argc, char *argv[])
 
BOOST_TEST_DECL bool boost::unit_test::framework::is_initialized ()
 
BOOST_TEST_DECL void boost::unit_test::framework::register_test_unit (test_case *tc)
 
BOOST_TEST_DECL void boost::unit_test::framework::register_test_unit (test_suite *ts)
 
BOOST_TEST_DECL void boost::unit_test::framework::deregister_test_unit (test_unit *tu)
 
BOOST_TEST_DECL void boost::unit_test::framework::clear ()
 
BOOST_TEST_DECL void boost::unit_test::framework::register_observer (test_observer &)
 
BOOST_TEST_DECL void boost::unit_test::framework::deregister_observer (test_observer &)
 
BOOST_TEST_DECL void boost::unit_test::framework::reset_observers ()
 
BOOST_TEST_DECL
master_test_suite_t & 
boost::unit_test::framework::master_test_suite ()
 
BOOST_TEST_DECL test_case const & boost::unit_test::framework::current_test_case ()
 
BOOST_TEST_DECL test_unit & boost::unit_test::framework::get (test_unit_id, test_unit_type)
 
template<typename UnitType >
UnitType & boost::unit_test::framework::get (test_unit_id id)
 
BOOST_TEST_DECL void boost::unit_test::framework::run (test_unit_id=INV_TEST_UNIT_ID, bool continue_test=true)
 
BOOST_TEST_DECL void boost::unit_test::framework::run (test_unit const *, bool continue_test=true)
 
BOOST_TEST_DECL void boost::unit_test::framework::assertion_result (bool passed)
 
BOOST_TEST_DECL void boost::unit_test::framework::exception_caught (execution_exception const &)
 
BOOST_TEST_DECL void boost::unit_test::framework::test_unit_aborted (test_unit const &)
 

Macro Definition Documentation

#define BOOST_TEST_SETUP_ASSERT (   cond,
  msg 
)    if( cond ) {} else throw unit_test::framework::setup_error( msg )