RebuildTestList() private method

private RebuildTestList ( ) : void
return void
 private static void OnPlaymodeStateChanged()
 {
     if (s_Instance && EditorApplication.isPlaying == EditorApplication.isPlayingOrWillChangePlaymode)
     {
         s_Instance.RebuildTestList();
     }
 }
        private static void OnPlaymodeStateChanged()
#endif
        {
#if UNITY_2017_2_OR_NEWER
            if (s_Instance && stateChange == PlayModeStateChange.EnteredPlayMode || stateChange == PlayModeStateChange.EnteredEditMode)
#else
            if (s_Instance && EditorApplication.isPlaying == EditorApplication.isPlayingOrWillChangePlaymode)
#endif
            { s_Instance.RebuildTestList(); }
        }