54void test_pluginsets(
const std::set< std::string >& plugins,
const std::set<std::string>& test_data)
56 BOOST_CHECK_EQUAL(plugins.size(), test_data.size());
58 for (
auto p = plugins.begin(); p != plugins.end(); ++p) {
59 BOOST_CHECK_MESSAGE(test_data.find(*p) != test_data.end(),
"unexpected plugin '" << *p <<
"' found");
62 for (
auto p = test_data.begin(); p != test_data.end(); ++p)
63 BOOST_CHECK_MESSAGE(plugins.find(*p) != plugins.end(),
"expected plugin '" << *p <<
"' not found");
70 mia::PrepareTestPluginPath prepare_plugin_path;
72 _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
73 _CrtSetReportMode( _CRT_ERROR, _CRTDBG_MODE_DEBUG );
76 if (mia::CCmdOptionList(
description).parse(argc, argv,
"boost-test-option") != mia::CCmdOptionList::hr_no)
79 mia::cvdebug() <<
"Initialize test ...\n";
80 return ::boost::unit_test::unit_test_main( &init_unit_test, argc, argv );
#define MIA_MAIN(callback)