| 10 | #include <boost/test/unit_test.hpp> |
| 11 | |
| 12 | struct Fixture |
| 13 | { |
| 14 | Fixture() |
| 15 | : application(boost::unit_test::framework::master_test_suite().argc, |
| 16 | boost::unit_test::framework::master_test_suite().argv, |
| 17 | false) |
| 18 | { |
| 19 | BOOST_TEST_MESSAGE( "setup QApplication fixture" ); |
| 20 | } |
| 21 | |
| 22 | ~Fixture() |
| 23 | { |
| 24 | BOOST_TEST_MESSAGE( "teardown QApplication fixture" ); |
| 25 | } |
| 26 | |
| 27 | QApplication application; |
| 28 | }; |
| 29 | |
| 30 | BOOST_GLOBAL_FIXTURE( Fixture ) |
| 31 |
nothing calls this directly
no outgoing calls
no test coverage detected