1 #ifndef cf3_test_ui_Application_hpp
2 #define cf3_test_ui_Application_hpp
4 #include <boost/assign/list_of.hpp>
5 #include <boost/test/unit_test.hpp>
9 #include <QApplication>
15 if( getenv(
"DISPLAY") == 0 )
17 std::cout <<
"No graphical environment found, exiting..." << std::endl;
21 static QApplication * app =
new QApplication(
22 boost::unit_test::framework::master_test_suite().argc,
23 boost::unit_test::framework::master_test_suite().argv
29 #endif // cf3_test_ui_Application_hpp
QApplication * application()