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

Method expectLeaksInTest

src/CppUTest/MemoryLeakWarningPlugin.cpp:590–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588}
589
590void MemoryLeakWarningPlugin::expectLeaksInTest(size_t n)
591{
592 expectedLeaks_ = n;
593}
594
595MemoryLeakWarningPlugin::MemoryLeakWarningPlugin(const SimpleString& name, MemoryLeakDetector* localDetector) :
596 TestPlugin(name), ignoreAllWarnings_(false), destroyGlobalDetectorAndTurnOfMemoryLeakDetectionInDestructor_(false), expectedLeaks_(0)

Callers 2

_testIgnore2Function · 0.80

Calls

no outgoing calls

Tested by 2

_testIgnore2Function · 0.64