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

Function TEST

tests/CppUTest/MemoryLeakWarningTest.cpp:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42};
43
44TEST(MemoryLeakWarningLocalDetectorTest, localDetectorReturnsNewGlobalWhenNoneWasSet)
45{
46 MemoryLeakWarningPlugin memoryLeakWarningPlugin("TestMemoryLeakWarningPlugin", NULLPTR);
47 CHECK(NULLPTR != memoryLeakWarningPlugin.getMemoryLeakDetector());
48}
49
50TEST(MemoryLeakWarningLocalDetectorTest, localDetectorIsTheOneSpecifiedInConstructor)
51{

Callers

nothing calls this directly

Calls 15

cpputest_mallocFunction · 0.85
cpputest_freeFunction · 0.85
operator deleteFunction · 0.85
operator delete[]Function · 0.85
cpputest_reallocFunction · 0.85
getMemoryLeakDetectorMethod · 0.80
setTestFunctionMethod · 0.80
assertPrintContainsMethod · 0.80

Tested by

no test coverage detected