#include boost::unit_test::test_suite* init_unit_test_suite(int argc, char* argv[]) { // create the top test suite boost::unit_test::test_suite* top_test_suite = BOOST_TEST_SUITE("People::Lars test suite"); // add test suites to the top test suite top_test_suite->add(new my_test()); return top_test_suite; } #if defined(BOOST_TEST_DYN_LINK) namespace { bool init_unit_test_func() { using namespace boost::unit_test; framework::master_test_suite().add(init_unit_test_suite(framework::master_test_suite().argc, framework::master_test_suite().argv)); return true; } } int main( int argc, char* argv[] ) { return ::boost::unit_test::unit_test_main(init_unit_test_func, argc, argv ); } #endif // BOOST_TEST_DYN_LINK