27#include <boost/test/unit_test.hpp>
38 SetPgm(
new MOCK_PGM_BASE() );
43 boost::unit_test::framework::master_test_suite().p_name.value =
"Common library module tests";
44 bool ok = wxInitialize();
53int main(
int argc,
char* argv[] )
55 int ret = boost::unit_test::unit_test_main( &
init_unit_test, argc, argv );
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
bool InitPgm(bool aHeadless=false, bool aSkipPyInit=false, bool aIsUnitTest=false)
Initialize this program.
bool init_unit_test()
Main file for the libcommon tests to be compiled.
void SetPgm(PGM_BASE *pgm)
PGM_BASE & Pgm()
The global program "get" accessor.
std::vector< FAB_LAYER_COLOR > dummy