Exemple #1
0
 public void OnEnable()
 {
     Instance = this;
     settings = ProjectSettingsBase.Load <UnitTestsRunnerSettings> ();
     RefreshTests();
     EnableBackgroundRunner(settings.runOnRecompilation);
 }
Exemple #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();
 }
Exemple #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);
 }
        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()
        {
            title    = "Integration Tests Runner";
            Instance = this;

            settings = ProjectSettingsBase.Load <IntegrationTestsRunnerSettings> ();

            InitBackgroundRunners();
            if (!EditorApplication.isPlayingOrWillChangePlaymode && !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();
            }
        }