示例#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);
     }
 }