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

Method FinalReport

src/Platforms/Symbian/SymbianMemoryLeakWarning.cpp:58–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58const char* MemoryLeakWarning::FinalReport(int toBeDeletedLeaks)
59{
60 TInt cellDifference(User::CountAllocCells() - _impl->iInitialAllocCells);
61 if( cellDifference != toBeDeletedLeaks ) {
62 return "Heap imbalance after test\n";
63 }
64
65 TInt processHandles;
66 TInt threadHandles;
67 RThread().HandleCount(processHandles, threadHandles);
68
69 if(_impl->iInitialProcessHandleCount != processHandles ||
70 _impl->iInitialThreadHandleCount != threadHandles) {
71 return "Handle count imbalance after test\n";
72 }
73
74 return "";
75}
76
77void MemoryLeakWarning::CheckPointUsage()
78{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected