summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/UnityTestProtocol/ITestRunnerApiMapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/UnityTestProtocol/ITestRunnerApiMapper.cs')
-rw-r--r--Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/UnityTestProtocol/ITestRunnerApiMapper.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/UnityTestProtocol/ITestRunnerApiMapper.cs b/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/UnityTestProtocol/ITestRunnerApiMapper.cs
new file mode 100644
index 0000000..231fe4b
--- /dev/null
+++ b/Library/PackageCache/com.unity.test-framework@1.1.11/UnityEditor.TestRunner/UnityTestProtocol/ITestRunnerApiMapper.cs
@@ -0,0 +1,15 @@
+using System.Collections.Generic;
+using UnityEditor.TestTools.TestRunner.Api;
+
+namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
+{
+ interface ITestRunnerApiMapper
+ {
+ string GetRunStateFromResultNunitXml(ITestResultAdaptor result);
+ TestState GetTestStateFromResult(ITestResultAdaptor result);
+ List<string> FlattenTestNames(ITestAdaptor testsToRun);
+ TestPlanMessage MapTestToTestPlanMessage(ITestAdaptor testsToRun);
+ TestStartedMessage MapTestToTestStartedMessage(ITestAdaptor test);
+ TestFinishedMessage TestResultToTestFinishedMessage(ITestResultAdaptor result);
+ }
+}