Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
logged_expectations.hpp File Reference
#include <boost/test/detail/config.hpp>
#include <boost/test/detail/unit_test_parameters.hpp>
#include <boost/test/utils/callback.hpp>
#include <boost/test/detail/suppress_warnings.hpp>
#include <boost/test/detail/enable_warnings.hpp>
Include dependency graph for logged_expectations.hpp:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::itest
 

Macros

#define BOOST_TEST_LOGGED_EXPECTATIONS(test_name)
 

Functions

void BOOST_TEST_DECL boost::itest::logged_expectations (unit_test::callback0<> const &F, unit_test::const_string log_file_name, bool test_or_log=true)
 

Macro Definition Documentation

#define BOOST_TEST_LOGGED_EXPECTATIONS (   test_name)
Value:
struct test_name : public BOOST_AUTO_TEST_CASE_FIXTURE \
{ void test_method(); }; \
\
static void BOOST_AUTO_TC_INVOKER( test_name )() \
{ \
test_name t; \
boost::bind( &test_name::test_method, t ), \
BOOST_STRINGIZE(test_name) ".elog", \
!::boost::unit_test::runtime_config::save_pattern() ); \
} \
\
struct BOOST_AUTO_TC_UNIQUE_ID( test_name ) {}; \
&BOOST_AUTO_TC_INVOKER( test_name ), #test_name ), \
boost::unit_test::ut_detail::auto_tc_exp_fail< \
BOOST_AUTO_TC_UNIQUE_ID( test_name )>::instance()->value() ); \
\
void test_name::test_method() \
void
Definition: is_convertible.hpp:460
void BOOST_TEST_DECL logged_expectations(unit_test::callback0<> const &F, unit_test::const_string log_file_name, bool test_or_log=true)
ut_detail::param_test_case_generator< ParamType, ParamIter > make_test_case(callback1< ParamType > const &test_func, const_string tc_name, ParamIter par_begin, ParamIter par_end)
Definition: parameterized_test.hpp:129
#define BOOST_AUTO_TC_INVOKER(test_name)
Definition: unit_test_suite.hpp:210
in t
Definition: flyweight.hpp:430
_bi::bind_t< R, F, _bi::list0 > bind(F f)
Definition: bind.hpp:1298
Definition: unit_test_suite.hpp:195
#define BOOST_AUTO_TC_UNIQUE_ID(test_name)
Definition: unit_test_suite.hpp:211
#define BOOST_STRINGIZE(X)
Definition: suffix.hpp:533
#define BOOST_AUTO_TU_REGISTRAR(test_name)
Definition: unit_test_suite.hpp:208