diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-04-20 19:09:33 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-04-20 19:09:33 -0400 |
| commit | 7c1e566113d59699af1624186c64eca67f063fc6 (patch) | |
| tree | 5a6850a695986872d5d0b09d7dab8421628fe33e /Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/TestRunner/RemoteHelpers/RemoteTestData.cs | |
| parent | dd117b77aae1d8be7563b360d05b842a73b7dab2 (diff) | |
| download | Project-Sandbox-7c1e566113d59699af1624186c64eca67f063fc6.tar.gz Project-Sandbox-7c1e566113d59699af1624186c64eca67f063fc6.tar.bz2 Project-Sandbox-7c1e566113d59699af1624186c64eca67f063fc6.zip | |
Upgraded Unity
Diffstat (limited to 'Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/TestRunner/RemoteHelpers/RemoteTestData.cs')
| -rw-r--r-- | Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/TestRunner/RemoteHelpers/RemoteTestData.cs | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/TestRunner/RemoteHelpers/RemoteTestData.cs b/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/TestRunner/RemoteHelpers/RemoteTestData.cs deleted file mode 100644 index eaf7078..0000000 --- a/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEngine.TestRunner/TestRunner/RemoteHelpers/RemoteTestData.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System;
-using System.Linq;
-using NUnit.Framework.Interfaces;
-using NUnit.Framework.Internal;
-using UnityEngine.TestRunner.NUnitExtensions;
-
-namespace UnityEngine.TestRunner.TestLaunchers
-{
- [Serializable]
- internal class RemoteTestData
- {
- public string id;
- public string name;
- public string fullName;
- public int testCaseCount;
- public int ChildIndex;
- public bool hasChildren;
- public bool isSuite;
- public string[] childrenIds;
- public int testCaseTimeout;
- public string[] Categories;
- public bool IsTestAssembly;
- public RunState RunState;
- public string Description;
- public string SkipReason;
- public string ParentId;
- public string UniqueName;
- public string ParentUniqueName;
- public string ParentFullName;
-
- internal RemoteTestData(ITest test)
- {
- id = test.Id;
- name = test.Name;
- fullName = test.FullName;
- testCaseCount = test.TestCaseCount;
- ChildIndex = -1;
- if (test.Properties["childIndex"].Count > 0)
- {
- ChildIndex = (int)test.Properties["childIndex"][0];
- }
- hasChildren = test.HasChildren;
- isSuite = test.IsSuite;
- childrenIds = test.Tests.Select(t => t.Id).ToArray();
- Categories = test.GetAllCategoriesFromTest().ToArray();
- IsTestAssembly = test is TestAssembly;
- RunState = (RunState)Enum.Parse(typeof(RunState), test.RunState.ToString());
- Description = (string)test.Properties.Get(PropertyNames.Description);
- SkipReason = test.GetSkipReason();
- ParentId = test.GetParentId();
- UniqueName = test.GetUniqueName();
- ParentUniqueName = test.GetParentUniqueName();
- ParentFullName = test.GetParentFullName();
- }
- }
-}
|
