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

Class GTestTestingFixtureTest

tests/CppUTestExt/GTest2ConvertorTest.cpp:32–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#include "CppUTestExt/GTestConvertor.h"
31
32class GTestTestingFixtureTest : public testing::Test {
33protected:
34 bool setup_was_called;
35 char* freed_during_teardown;
36
37 void SetUp()
38 {
39 setup_was_called = true;
40 freed_during_teardown = NULL;
41 }
42
43 void TearDown()
44 {
45 delete [] freed_during_teardown;
46 }
47};
48
49TEST_F(GTestTestingFixtureTest, setupBeenCalled)
50{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected