public static void AddCustomButton(Button button) { try { UnitTestRunner.AddCustomButton(button); } catch (Exception ex) { UnityEngine.Debug.LogException(ex); } }
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); } }
public static void AddTest(string group, string title, Action test) { try { UnitTestRunner.AddTest(group, title, test); } catch (Exception ex) { UnityEngine.Debug.LogException(ex); } }
public static void AddAsyncTest(string group, string title, Func <IEnumerator> asyncTestCoroutine) { try { UnitTestRunner.AddTest(group, title, asyncTestCoroutine); } catch (Exception ex) { UnityEngine.Debug.LogException(ex); } }
public static void AddCustomAction(string name, UnityAction action) { try { UnitTestRunner.AddCutomAction(name, action); } catch (Exception ex) { UnityEngine.Debug.LogException(ex); } }