ShowAggregateResults() 공개 정적인 메소드

public static ShowAggregateResults ( TestResultsViewState, state, ArrayList aggregateResults ) : TestResultsViewState,
state TestResultsViewState,
aggregateResults ArrayList
리턴 TestResultsViewState,
예제 #1
0
 public void OnGUI()
 {
     if (UnityTest.TestRunner == this)
     {
         GUI.depth = -10;
         GUILayout.BeginArea(GUITools.FullScreen, "Unit Tests", "window");
         viewState = TestRunnerGUI.ShowAggregateResults(viewState, aggregateResults);
         GUILayout.EndArea();
     }
 }
예제 #2
0
 public void OnGUI()
 {
     if (UnityTestController.Instance != null)
     {
         aggregateResults = UnityTestController.Instance.aggregateResults;
     }
     GUILayout.BeginVertical(GUITools.ConstrainedBox);
     if (UnityTestController.Instance != null)
     {
         viewState = TestRunnerGUI.ShowAggregateResults(viewState, aggregateResults);
     }
     else if (UnityTest.Instance != null)
     {
         viewState.innerScrollPosition = TestRunnerGUI.ShowSuiteResults(viewState.innerScrollPosition, UnityTest.Instance.results);
     }
     else
     {
         GUILayout.Label("No test data...");
         GUILayout.FlexibleSpace();
     }
     GUILayout.EndVertical();
 }