public void OnEnable ()
		{
			Instance = this;
			settings = ProjectSettingsBase.Load<UnitTestsRunnerSettings> ();
			RefreshTests ();
			EnableBackgroundRunner (settings.runOnRecompilation);
		}
Beispiel #2
0
 public void OnEnable()
 {
     Instance = this;
     settings = ProjectSettingsBase.Load <UnitTestsRunnerSettings> ();
     RefreshTests();
     EnableBackgroundRunner(settings.runOnRecompilation);
 }
 public void OnEnable()
 {
     titleContent.text = "Unit Tests";
     s_Instance = this;
     m_Settings = ProjectSettingsBase.Load<UnitTestsRunnerSettings>();
     m_FilterSettings = new TestFilterSettings("UnityTest.UnitTestView");
     RefreshTests();
 }
Beispiel #4
0
 public void OnEnable()
 {
     titleContent     = new GUIContent("Unit Tests");
     s_Instance       = this;
     m_Settings       = ProjectSettingsBase.Load <UnitTestsRunnerSettings>();
     m_FilterSettings = new TestFilterSettings("UnityTest.UnitTestView");
     RefreshTests();
 }
Beispiel #5
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);
 }
Beispiel #6
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();
        }