| 46 | }; |
| 47 | |
| 48 | class BoostDriverTest : public DriverTest { |
| 49 | public: |
| 50 | void runAllTests() override { |
| 51 | stepInvocationInitsBoostTest(); |
| 52 | DriverTest::runAllTests(); |
| 53 | } |
| 54 | |
| 55 | private: |
| 56 | void stepInvocationInitsBoostTest() { |
| 57 | std::cout << "= Init =" << std::endl; |
| 58 | using namespace boost::unit_test; |
| 59 | BoostStepDouble step; |
| 60 | expectFalse( |
| 61 | "Framework is not initialized before the first test", framework::is_initialized() |
| 62 | ); |
| 63 | step.invokeStepBody(); |
| 64 | expectTrue("Framework is initialized after the first test", framework::is_initialized()); |
| 65 | } |
| 66 | }; |
| 67 | |
| 68 | int main() { |
| 69 | BoostDriverTest test; |
nothing calls this directly
no outgoing calls
no test coverage detected