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