示例#1
0
 private void FinishTestRun()
 {
     Debug.Log("FinishTestRun");
     PrintResultToLog();
     TestRunnerCallback.RunFinished(m_ResultList);
     LoadNextLevelOrQuit();
 }
示例#2
0
        private void FinishTestRun()
        {
            PrintResultToLog();
#if UNITY_EDITOR || UNITY_STANDALONE
            WriteResultsToFile();
#endif
            TestRunnerCallback.RunFinished(testToRun);
            LoadNextLevelOrQuit();
        }
示例#3
0
        private void FinishTestRun()
        {
            PrintResultToLog();
            TestRunnerCallback.RunFinished(m_ResultList);

            if (InternalEditorUtility.inBatchMode)
            {
                EditorApplication.Exit(m_ResultList.Count(t => t.IsFailure) > 0 ? 1 : 0);
            }
        }
示例#4
0
 private void FinishTestRun()
 {
     if (IsBatchRun())
     {
         SaveResults();
     }
     PrintResultToLog();
     TestRunnerCallback.RunFinished(testToRun);
     LoadNextLevelOrQuit();
 }
示例#5
0
        private void FinishTestRun()
        {
            TestRunnerCallback.RunFinished(testToRun);
            PrintResultToLog();
#if UNITY_EDITOR || UNITY_STANDALONE
            WriteResultsToFile();
#endif
#if UNITY_EDITOR
            if (UnityEditorInternal.InternalEditorUtility.inBatchMode)
            {
                UnityEditor.EditorApplication.isPlaying = false;
                UnityEditor.EditorApplication.Exit(0);
            }
#else
            LoadNextLevelOrQuit();
#endif
        }
 private void FinishTestRun()
 {
     PrintResultToLog();
     TestRunnerCallback.RunFinished(resultList);
     LoadNextLevelOrQuit();
 }