| 30 | #include "CppUTestExt/GTestConvertor.h" |
| 31 | |
| 32 | class GTestTestingFixtureTest : public testing::Test { |
| 33 | protected: |
| 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 | |
| 49 | TEST_F(GTestTestingFixtureTest, setupBeenCalled) |
| 50 | { |
nothing calls this directly
no outgoing calls
no test coverage detected