ITestRunnerApiMapper.cs 635 B

123456789101112131415
  1. using System.Collections.Generic;
  2. using UnityEditor.TestTools.TestRunner.Api;
  3. namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
  4. {
  5. interface ITestRunnerApiMapper
  6. {
  7. string GetRunStateFromResultNunitXml(ITestResultAdaptor result);
  8. TestState GetTestStateFromResult(ITestResultAdaptor result);
  9. List<string> FlattenTestNames(ITestAdaptor testsToRun);
  10. TestPlanMessage MapTestToTestPlanMessage(ITestAdaptor testsToRun);
  11. TestStartedMessage MapTestToTestStartedMessage(ITestAdaptor test);
  12. TestFinishedMessage TestResultToTestFinishedMessage(ITestResultAdaptor result);
  13. }
  14. }