예제 #1
0
 public static void AddCustomButton(Button button)
 {
     try
     {
         UnitTestRunner.AddCustomButton(button);
     }
     catch (Exception ex)
     {
         UnityEngine.Debug.LogException(ex);
     }
 }
예제 #2
0
 public static void AddAsyncTest(Func <UniTask> asyncTest)
 {
     try
     {
         UnitTestRunner.AddTest(asyncTest.Target.GetType().Name, asyncTest.Method.Name, asyncTest);
     }
     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);
     }
 }
예제 #4
0
 public static void AddAsyncTest(string group, string title, Func <IEnumerator> asyncTestCoroutine)
 {
     try
     {
         UnitTestRunner.AddTest(group, title, asyncTestCoroutine);
     }
     catch (Exception ex)
     {
         UnityEngine.Debug.LogException(ex);
     }
 }
예제 #5
0
 public static void AddCustomAction(string name, UnityAction action)
 {
     try
     {
         UnitTestRunner.AddCutomAction(name, action);
     }
     catch (Exception ex)
     {
         UnityEngine.Debug.LogException(ex);
     }
 }