mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Added memory leak testing for MSVC.
This commit is contained in:
parent
551a7b3820
commit
3fbaa60e40
2 changed files with 70 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include "console/engineAPI.h"
|
||||
#include "console/consoleInternal.h"
|
||||
#include "unitTesting.h"
|
||||
#include "memoryTester.h"
|
||||
|
||||
#include <gtest/gtest-all.cc>
|
||||
|
||||
|
|
@ -87,6 +88,9 @@ DefineConsoleFunction( runAllUnitTests, int, (),,
|
|||
// Release the default listener.
|
||||
delete listeners.Release( listeners.default_result_printer() );
|
||||
|
||||
// Add the memory leak tester.
|
||||
listeners.Append( new testing::MemoryLeakDetector );
|
||||
|
||||
// Add the Torque unit test listener.
|
||||
listeners.Append( new TorqueUnitTestListener );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue