public void RunTests(TestFilter filter, UnitTestRunner.ITestRunnerCallback testRunnerEventListener) { try { if (testRunnerEventListener != null) { testRunnerEventListener.RunStarted(testSuite.TestName.FullName, testSuite.TestCount); } ExecuteTestSuite(testSuite, testRunnerEventListener, filter); if (testRunnerEventListener != null) { testRunnerEventListener.RunFinished(); } } catch (Exception e) { Debug.LogException(e); if (testRunnerEventListener != null) { testRunnerEventListener.RunFinishedException(e); } } }
public void RunFinished(Exception exception) { testRunnerEventListener.RunFinishedException(exception); }