| 44 | }; |
| 45 | |
| 46 | class QtTestDriverTest : public DriverTest { |
| 47 | public: |
| 48 | void runAllTests() override { |
| 49 | stepInvocationRunsStepBody(); |
| 50 | DriverTest::runAllTests(); |
| 51 | } |
| 52 | |
| 53 | private: |
| 54 | void stepInvocationRunsStepBody() { |
| 55 | QtTestStepDouble framework; |
| 56 | expectFalse("The test body has not been run", framework.testRun); |
| 57 | framework.invokeStepBody(); |
| 58 | expectTrue("The test body has been run", framework.testRun); |
| 59 | } |
| 60 | }; |
| 61 | |
| 62 | int main() { |
| 63 | QtTestDriverTest test; |
nothing calls this directly
no outgoing calls
no test coverage detected