mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Default mainfiles to run unit tests.
This commit is contained in:
parent
ec34d9928c
commit
2248c90d52
13
Templates/Empty/game/runTests.cs
Normal file
13
Templates/Empty/game/runTests.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
new GuiControlProfile(GuiDefaultProfile);
|
||||
new GuiControlProfile(GuiToolTipProfile);
|
||||
new GuiCanvas(Canvas);
|
||||
function onLightManagerActivate() {}
|
||||
function onLightManagerDeactivate() {}
|
||||
Canvas.setWindowTitle("Torque 3D Unit Tests");
|
||||
new RenderPassManager(DiffuseRenderPassManager);
|
||||
setLightManager("Basic Lighting");
|
||||
setLogMode(2);
|
||||
$Con::LogBufferEnabled = false;
|
||||
$Testing::checkMemoryLeaks = false;
|
||||
runAllUnitTests();
|
||||
quit();
|
||||
13
Templates/Full/game/runTests.cs
Normal file
13
Templates/Full/game/runTests.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
new GuiControlProfile(GuiDefaultProfile);
|
||||
new GuiControlProfile(GuiToolTipProfile);
|
||||
new GuiCanvas(Canvas);
|
||||
function onLightManagerActivate() {}
|
||||
function onLightManagerDeactivate() {}
|
||||
Canvas.setWindowTitle("Torque 3D Unit Tests");
|
||||
new RenderPassManager(DiffuseRenderPassManager);
|
||||
setLightManager("Basic Lighting");
|
||||
setLogMode(2);
|
||||
$Con::LogBufferEnabled = false;
|
||||
$Testing::checkMemoryLeaks = false;
|
||||
runAllUnitTests();
|
||||
quit();
|
||||
Loading…
Reference in a new issue