MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / QtTestDriverTest

Class QtTestDriverTest

tests/integration/drivers/QtTestDriverTest.cpp:46–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44};
45
46class QtTestDriverTest : public DriverTest {
47public:
48 void runAllTests() override {
49 stepInvocationRunsStepBody();
50 DriverTest::runAllTests();
51 }
52
53private:
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
62int main() {
63 QtTestDriverTest test;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected