| 75 | TestTestingFixture* fixture; |
| 76 | |
| 77 | void setup() |
| 78 | { |
| 79 | fixture = new TestTestingFixture(); |
| 80 | detector = new MemoryLeakDetector(&dummy); |
| 81 | allocator = new TestMemoryAllocator; |
| 82 | memPlugin = new MemoryLeakWarningPlugin("TestMemoryLeakWarningPlugin", detector); |
| 83 | fixture->installPlugin(memPlugin); |
| 84 | memPlugin->enable(); |
| 85 | |
| 86 | leak1 = NULLPTR; |
| 87 | leak2 = NULLPTR; |
| 88 | } |
| 89 | |
| 90 | void teardown() |
| 91 | { |
nothing calls this directly
no test coverage detected