コード例 #1
0
 public void OnEnable()
 {
     titleContent.text = "Unit Tests";
     s_Instance = this;
     m_Settings = ProjectSettingsBase.Load<UnitTestsRunnerSettings>();
     m_FilterSettings = new TestFilterSettings("UnityTest.UnitTestView");
     RefreshTests();
 }
コード例 #2
0
ファイル: UnitTestView.cs プロジェクト: LostLT/TestTools
 public void OnEnable()
 {
     title = "Unit Tests";
     s_Instance = this;
     m_Settings = ProjectSettingsBase.Load<UnitTestsRunnerSettings>();
     m_FilterSettings = new TestFilterSettings("UnityTest.UnitTestView");
     RefreshTests();
     EnableBackgroundRunner(m_Settings.runOnRecompilation);
 }
コード例 #3
0
        public void OnEnable()
        {
            titleContent = new GUIContent("Integration Tests");
            s_Instance = this;

            m_Settings = ProjectSettingsBase.Load<IntegrationTestsRunnerSettings>();
            m_FilterSettings = new TestFilterSettings("UnityTest.IntegrationTestsRunnerWindow");

            InitBackgroundRunners();
            if (!EditorApplication.isPlayingOrWillChangePlaymode && !m_ReadyToRun) RebuildTestList();
        }