소스 검색

Turns out we don't actually need a Canvas! Cool.

Daniel Buckmaster 11 년 전
부모
커밋
e5bb218377
2개의 변경된 파일2개의 추가작업 그리고 18개의 파일을 삭제
  1. 1 9
      Templates/Empty/game/runTests.cs
  2. 1 9
      Templates/Full/game/runTests.cs

+ 1 - 9
Templates/Empty/game/runTests.cs

@@ -1,13 +1,5 @@
-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;
+$Testing::CheckMemoryLeaks = false;
 runAllUnitTests();
 quit();

+ 1 - 9
Templates/Full/game/runTests.cs

@@ -1,13 +1,5 @@
-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;
+$Testing::CheckMemoryLeaks = false;
 runAllUnitTests();
 quit();