Inheritance: EditorWindow
 public void OnCloseWindow()
 {
     window = null;
     if (UnityTest.TestRunner == this)
     {
         UnityTest.TestRunner = null;
     }
     DestroyImmediate(this);
     Debug.Log("EditorTestRunner.OnCloseWindow");
 }
Exemple #2
0
    public void OnEnable()
    {
        #if UNITY_IPHONE
        if(window == null)
          window = this;
        Show(true);
        #endif

        if(UnityTest.TestRunner == null)
          UnityTest.TestRunner = this;
    }
Exemple #3
0
    public static void ShowTestResults()
    {
        #if UNITY_IPHONE
        if(window == null)
          window = new EditorTestRunner();

        window.Show(true);
        #else
        EditorTestRunner window = (EditorTestRunner)EditorWindow.GetWindow(typeof(EditorTestRunner));
        window.Show();
        window.title = "UnityTest";
        #endif
    }
    public void OnEnable()
    {
#if UNITY_IPHONE
        if (window == null)
        {
            window = this;
        }
        Show(true);
#endif

        if (UnityTest.TestRunner == null)
        {
            UnityTest.TestRunner = this;
        }
    }
    public static void ShowTestResults()
    {
#if UNITY_IPHONE
        if (window == null)
        {
            window = new EditorTestRunner();
        }

        window.Show(true);
#else
        EditorTestRunner window = (EditorTestRunner)EditorWindow.GetWindow(typeof(EditorTestRunner));
        window.Show();
        window.title = "UnityTest";
#endif
    }
Exemple #6
0
 public void OnCloseWindow()
 {
     window = null;
     if(UnityTest.TestRunner == this)
       UnityTest.TestRunner = null;
     DestroyImmediate(this);
     Debug.Log("EditorTestRunner.OnCloseWindow");
 }