Changeset View
Changeset View
Standalone View
Standalone View
source/test_setup.cpp
Show All 32 Lines | |||||
#include "lib/sysdep/os/win/wdbg_heap.h" | #include "lib/sysdep/os/win/wdbg_heap.h" | ||||
#endif | #endif | ||||
#include "lib/timer.h" | #include "lib/timer.h" | ||||
#include "lib/sysdep/sysdep.h" | #include "lib/sysdep/sysdep.h" | ||||
#include "ps/Profiler2.h" | #include "ps/Profiler2.h" | ||||
#include "scriptinterface/ScriptEngine.h" | #include "scriptinterface/ScriptEngine.h" | ||||
#include "scriptinterface/ScriptContext.h" | #include "scriptinterface/ScriptContext.h" | ||||
#include "scriptinterface/ScriptInterface.h" | |||||
class LeakReporter : public CxxTest::GlobalFixture | class LeakReporter : public CxxTest::GlobalFixture | ||||
{ | { | ||||
virtual bool tearDownWorld() | virtual bool tearDownWorld() | ||||
{ | { | ||||
// Enable leak reporting on exit. | // Enable leak reporting on exit. | ||||
// (This is done in tearDownWorld so that it doesn't report 'leaks' | // (This is done in tearDownWorld so that it doesn't report 'leaks' | ||||
// if the program is aborted before finishing cleanly.) | // if the program is aborted before finishing cleanly.) | ||||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator