public void OnEnable()
 {
     titleContent.text = "Unit Tests";
     s_Instance = this;
     m_Settings = ProjectSettingsBase.Load<UnitTestsRunnerSettings>();
     m_FilterSettings = new TestFilterSettings("UnityTest.UnitTestView");
     RefreshTests();
 }
示例#2
0
 public void OnEnable()
 {
     titleContent     = new GUIContent("Unit Tests");
     s_Instance       = this;
     m_Settings       = ProjectSettingsBase.Load <UnitTestsRunnerSettings>();
     m_FilterSettings = new TestFilterSettings("UnityTest.UnitTestView");
     RefreshTests();
 }
示例#3
0
 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);
 }
示例#4
0
 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);
 }
        public void OnEnable()
        {
#if !UNITY_4_6 && !UNITY_4_7 && !UNITY_5_0
            titleContent = new GUIContent("Unit Tests");
#else
            title = "Unit Tests";
#endif
            s_Instance       = this;
            m_Settings       = ProjectSettingsBase.Load <UnitTestsRunnerSettings>();
            m_FilterSettings = new TestFilterSettings("UnityTest.UnitTestView");
            RefreshTests();
        }
        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();
            }
        }
        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();
        }