
23 Dec
2014
23 Dec
'14
4:52 p.m.
Witold E Wolski
My registration code looks like follows:
boost::unit_test::test_suite* init_unit_test_suite(int argc, char* argv[]) {
boost::unit_test::test_suite* ts2 = BOOST_TEST_SUITE("test_suite2"); ts2->add(BOOST_TEST_CASE(&liveViewTest)); ts2->add(BOOST_TEST_CASE(&checkImageFormats)); ts2->add(BOOST_TEST_CASE(&testRethrowException)); boost::unit_test::framework::master_test_suite().add(ts2); return 0; }
The init_unit_test_suite function is entered and returns but non of the added tests is ever exectued.
This looks fine. What kind of usage variant do you employ? Can you post the small example reproducing your issue? Gennadiy