From 7c1e566113d59699af1624186c64eca67f063fc6 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 20 Apr 2020 19:09:33 -0400 Subject: Upgraded Unity --- .../Utils/MonoBehaviourTest/MonoBehaviourTest.cs | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/Utils/MonoBehaviourTest/MonoBehaviourTest.cs (limited to 'Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/Utils/MonoBehaviourTest/MonoBehaviourTest.cs') diff --git a/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/Utils/MonoBehaviourTest/MonoBehaviourTest.cs b/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/Utils/MonoBehaviourTest/MonoBehaviourTest.cs deleted file mode 100644 index b3c1c62..0000000 --- a/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/Utils/MonoBehaviourTest/MonoBehaviourTest.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace UnityEngine.TestTools -{ - public class MonoBehaviourTest : CustomYieldInstruction where T : MonoBehaviour, IMonoBehaviourTest - { - public T component { get; } - public GameObject gameObject { get { return component.gameObject; } } - - public MonoBehaviourTest(bool dontDestroyOnLoad = true) - { - var go = new GameObject("MonoBehaviourTest: " + typeof(T).FullName); - component = go.AddComponent(); - if (dontDestroyOnLoad) - { - Object.DontDestroyOnLoad(go); - } - } - - public override bool keepWaiting - { - get { return !component.IsTestFinished; } - } - } -} -- cgit v1.2.3