MCPcopy Create free account
hub / github.com/cpputest/cpputest / TestTestingFixture

Method TestTestingFixture

src/CppUTest/TestTestingFixture.cpp:33–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31bool TestTestingFixture::lineOfCodeExecutedAfterCheck = false;
32
33TestTestingFixture::TestTestingFixture()
34{
35 output_ = new StringBufferTestOutput();
36 result_ = new TestResult(*output_);
37 genTest_ = new ExecFunctionTestShell();
38 registry_ = new TestRegistry();
39 ownsExecFunction_ = false;
40
41 registry_->setCurrentRegistry(registry_);
42 registry_->addTest(genTest_);
43
44 lineOfCodeExecutedAfterCheck = false;
45}
46
47void TestTestingFixture::flushOutputAndResetResult()
48{

Callers

nothing calls this directly

Calls 2

setCurrentRegistryMethod · 0.80
addTestMethod · 0.45

Tested by

no test coverage detected