diff options
Diffstat (limited to 'Library/PackageCache/com.unity.ide.rider@1.1.4/Rider/Editor/UnitTesting/TestEvent.cs')
| -rw-r--r-- | Library/PackageCache/com.unity.ide.rider@1.1.4/Rider/Editor/UnitTesting/TestEvent.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/PackageCache/com.unity.ide.rider@1.1.4/Rider/Editor/UnitTesting/TestEvent.cs b/Library/PackageCache/com.unity.ide.rider@1.1.4/Rider/Editor/UnitTesting/TestEvent.cs new file mode 100644 index 0000000..9e3fff2 --- /dev/null +++ b/Library/PackageCache/com.unity.ide.rider@1.1.4/Rider/Editor/UnitTesting/TestEvent.cs @@ -0,0 +1,31 @@ +using System;
+using NUnit.Framework.Interfaces;
+
+namespace Packages.Rider.Editor.UnitTesting
+{
+ [Serializable]
+ public enum EventType { TestStarted, TestFinished, RunFinished }
+
+ [Serializable]
+ public class TestEvent
+ {
+ public EventType type;
+ public string id;
+ public string assemblyName;
+ public string output;
+ public TestStatus testStatus;
+ public double duration;
+ public string parentId;
+
+ public TestEvent(EventType type, string id, string assemblyName, string output, double duration, TestStatus testStatus, string parentID)
+ {
+ this.type = type;
+ this.id = id;
+ this.assemblyName = assemblyName;
+ this.output = output;
+ this.testStatus = testStatus;
+ this.duration = duration;
+ parentId = parentID;
+ }
+ }
+}
\ No newline at end of file |
