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

Function setup

tests/CppUTest/TestRegistryTest.cpp:121–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 TestResult *result;
120 MockTestResult *mockResult;
121 void setup()
122 {
123 output = new StringBufferTestOutput();
124 mockResult = new MockTestResult(*output);
125 result = mockResult;
126 test1 = new MockTest();
127 test2 = new MockTest();
128 test3 = new MockTest("group2");
129 test4 = new MockTest();
130 myRegistry = new TestRegistry();
131 myRegistry->setCurrentRegistry(myRegistry);
132 }
133
134 void teardown()
135 {

Callers

nothing calls this directly

Calls 1

setCurrentRegistryMethod · 0.80

Tested by

no test coverage detected