protected static void RunGameTest(GraphicsTestBase game) { game.CurrentTestContext = TestContext.CurrentContext; game.ScreenShotAutomationEnabled = !ForceInteractiveMode; GameTester.RunGameTest(game); if (game.ScreenShotAutomationEnabled && !game.FrameGameSystem.IsUnityTestFeeding) { Assert.IsTrue(ImageTester.RequestImageComparisonStatus(game.CurrentTestContext.Test.FullName), "The image comparison returned false."); } }
protected static void RunGameTest(GraphicsTestBase game) { game.CurrentTestContext = TestContext.CurrentContext; game.ScreenShotAutomationEnabled = !ForceInteractiveMode; GameTester.RunGameTest(game); if (game.ScreenShotAutomationEnabled) Assert.IsTrue(ImageTester.RequestImageComparisonStatus(game.CurrentTestContext.Test.FullName), "The image comparison returned false."); }