20#include <boost/test/unit_test.hpp> 
   32    SetPgm( 
new MOCK_PGM_BASE() );
 
   34    boost::unit_test::framework::master_test_suite().p_name.value = 
"IPC API tests";
 
   36    wxApp::SetInstance( 
new wxAppConsole );
 
   41    bool ok = wxInitialize( boost::unit_test::framework::master_test_suite().argc,
 
   42                            boost::unit_test::framework::master_test_suite().argv );
 
 
   56int main( 
int argc, 
char* argv[] )
 
   58    return 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.
 
virtual SETTINGS_MANAGER & GetSettingsManager() const
 
bool LoadProject(const wxString &aFullPath, bool aSetActive=true)
Load a project or sets up a new project with a specified path.
 
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.
 
std::vector< FAB_LAYER_COLOR > dummy