Пример #1
0
 public static void AddAsyncTest(string group, string title, Func <IEnumerator> asyncTestCoroutine)
 {
     try
     {
         UnitTestRunner.AddAsyncTest(group, title, asyncTestCoroutine);
     }
     catch (Exception ex)
     {
         UnityEngine.Debug.LogException(ex);
     }
 }
Пример #2
0
 public static void AddCustomAction(string name, UnityAction action)
 {
     try
     {
         UnitTestRunner.AddCutomAction(name, action);
     }
     catch (Exception ex)
     {
         UnityEngine.Debug.LogException(ex);
     }
 }
Пример #3
0
 public static void AddTest(string group, string title, Action test)
 {
     try
     {
         UnitTestRunner.AddTest(group, title, test);
     }
     catch (Exception ex)
     {
         UnityEngine.Debug.LogException(ex);
     }
 }