20#include <boost/test/unit_test.hpp>
30 SetPgm(
new MOCK_PGM_BASE() );
32 boost::unit_test::framework::master_test_suite().p_name.value =
"IPC API tests";
34 wxApp::SetInstance(
new wxAppConsole );
36 bool ok = wxInitialize( boost::unit_test::framework::master_test_suite().argc,
37 boost::unit_test::framework::master_test_suite().argv );
50int main(
int argc,
char* argv[] )
52 return boost::unit_test::unit_test_main( &
init_unit_test, argc, argv );
bool InitPgm(bool aHeadless=false, bool aSkipPyInit=false, bool aIsUnitTest=false)
Initialize this program.
void wxAssertThrower(const wxString &aFile, int aLine, const wxString &aFunc, const wxString &aCond, const wxString &aMsg)
void SetPgm(PGM_BASE *pgm)
PGM_BASE & Pgm()
The global program "get" accessor.