コード例 #1
0
        private void OnEnable()
        {
            s_Instance = this;
            SelectTestListGUI(m_TestTypeToolbarIndex);

            m_testRunnerApi = ScriptableObject.CreateInstance<TestRunnerApi>();
            m_WindowResultUpdater = new WindowRes
コード例 #2
0
        public static void ShowPlaymodeTestsRunnerWindowCodeBased()
        {
            if (s_Instance != null)
            {
                try
                {
                    s_Instance.Close();
                }
                catch (Exception exception)
                {
                    Debug.LogException(exception);
                }
            }

            s_Instance = GetWindow <TestRunnerWindow>("Test Runner");
            s_Instance.Show();
        }
コード例 #3
0
ファイル: TestRunnerWindow.cs プロジェクト: 334499p/Portfolio
 public static void ShowPlaymodeTestsRunnerWindowCodeBased()
 {
     s_Instance = GetWindow <TestRunnerWindow>("Test Runner");
     s_Instance.Show();
 }
コード例 #4
0
 /// <summary>
 /// Launches the Test Runner window.
 /// </summary>
 public static void ShowWindow()
 {
     s_Instance = GetWindow <TestRunnerWindow>("Test Runner");
     s_Instance.Show();
 }