toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TestType.builtinFuzz:
      return 'BUILTIN_FUZZ';
    case TestType.builtinExplorer:
      return 'BUILTIN_EXPLORER';
    case TestType.webPerformanceProfile:
      return 'WEB_PERFORMANCE_PROFILE';
    case TestType.appiumJavaJunit:
      return 'APPIUM_JAVA_JUNIT';
    case TestType.appiumJavaTestng:
      return 'APPIUM_JAVA_TESTNG';
    case TestType.appiumPython:
      return 'APPIUM_PYTHON';
    case TestType.appiumNode:
      return 'APPIUM_NODE';
    case TestType.appiumRuby:
      return 'APPIUM_RUBY';
    case TestType.appiumWebJavaJunit:
      return 'APPIUM_WEB_JAVA_JUNIT';
    case TestType.appiumWebJavaTestng:
      return 'APPIUM_WEB_JAVA_TESTNG';
    case TestType.appiumWebPython:
      return 'APPIUM_WEB_PYTHON';
    case TestType.appiumWebNode:
      return 'APPIUM_WEB_NODE';
    case TestType.appiumWebRuby:
      return 'APPIUM_WEB_RUBY';
    case TestType.calabash:
      return 'CALABASH';
    case TestType.instrumentation:
      return 'INSTRUMENTATION';
    case TestType.uiautomation:
      return 'UIAUTOMATION';
    case TestType.uiautomator:
      return 'UIAUTOMATOR';
    case TestType.xctest:
      return 'XCTEST';
    case TestType.xctestUi:
      return 'XCTEST_UI';
    case TestType.remoteAccessRecord:
      return 'REMOTE_ACCESS_RECORD';
    case TestType.remoteAccessReplay:
      return 'REMOTE_ACCESS_REPLAY';
  }
}