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

Class GTestConvertor

include/CppUTestExt/GTestConvertor.h:173–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171};
172
173class GTestConvertor
174{
175public:
176 GTestConvertor(bool shouldSimulateFailureAtCreationToAllocateThreadLocalData = true);
177 virtual ~GTestConvertor();
178
179 virtual void addAllGTestToTestRegistry();
180protected:
181 virtual void simulateGTestFailureToPreAllocateAllTheThreadLocalData();
182
183 virtual void addNewTestCaseForTestInfo(::testing::TestInfo* testinfo);
184 virtual void addAllTestsFromTestCaseToTestRegistry(::testing::TestCase* testcase);
185
186 virtual void createDummyInSequenceToAndFailureReporterAvoidMemoryLeakInGMock();
187private:
188 GTestResultReporter* reporter_;
189 GTestShell* first_;
190 GTestFlagsThatAllocateMemory flags_;
191};
192
193class GTestDummyResultReporter : public ::testing::ScopedFakeTestPartResultReporter
194{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected