src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarmRecorder.java
public String transformTestToRunForWebApp(@Nonnull String testToRun) {
        if (testToRun != null && ifWebApp) {
            if (testToRun.equalsIgnoreCase("APPIUM_PYTHON")) return"APPIUM_WEB_PYTHON";
            else if (testToRun.equalsIgnoreCase("APPIUM_JAVA_JUNIT")) return"APPIUM_WEB_JAVA_JUNIT";
            else if (testToRun.equalsIgnoreCase("APPIUM_JAVA_TESTNG")) return"APPIUM_WEB_JAVA_TESTNG";
            else if (testToRun.equalsIgnoreCase("APPIUM_RUBY")) return"APPIUM_WEB_RUBY";
            else if (testToRun.equalsIgnoreCase("APPIUM_NODE")) return"APPIUM_WEB_NODE";
        }
        return testToRun;
    }
/**
     * Transform the test type parameter as the requirement for AWS devicefarm API for appium tests of web apps.
     *
     * @param testToRun The String representation of the test type.
     * @return The String should bu input as the parameter of the devicefarm API.
     */
Transform the test type parameter as the requirement for AWS devicefarm API for appium tests of web apps.
@param testToRun The String representation of the test type.
@return The String should bu input as the parameter of the devicefarm API.
Transform the test type parameter as the requirement for AWS devicefarm API for appium tests of web apps . @param testToRun The String representation of the test type . @return The String should bu input as the parameter of the devicefarm API .
public String transformTestToRunForWebApp(@Nonnull String testToRun) {
        if (testToRun != null && ifWebApp) {
            if (testToRun.equalsIgnoreCase("APPIUM_PYTHON")) return"APPIUM_WEB_PYTHON";
            else if (testToRun.equalsIgnoreCase("APPIUM_JAVA_JUNIT")) return"APPIUM_WEB_JAVA_JUNIT";
            else if (testToRun.equalsIgnoreCase("APPIUM_JAVA_TESTNG")) return"APPIUM_WEB_JAVA_TESTNG";
            else if (testToRun.equalsIgnoreCase("APPIUM_RUBY")) return"APPIUM_WEB_RUBY";
            else if (testToRun.equalsIgnoreCase("APPIUM_NODE")) return"APPIUM_WEB_NODE";
        }
        return testToRun;
    }
public String transformTestToRunForWebApp ( @ Nonnull String testToRun ) { if ( testToRun != null && ifWebApp ) { if ( testToRun . equalsIgnoreCase ( "APPIUM_PYTHON" ) ) return "APPIUM_WEB_PYTHON" ; else if ( testToRun . equalsIgnoreCase ( "APPIUM_JAVA_JUNIT" ) ) return "APPIUM_WEB_JAVA_JUNIT" ; else if ( testToRun . equalsIgnoreCase ( "APPIUM_JAVA_TESTNG" ) ) return "APPIUM_WEB_JAVA_TESTNG" ; else if ( testToRun . equalsIgnoreCase ( "APPIUM_RUBY" ) ) return "APPIUM_WEB_RUBY" ; else if ( testToRun . equalsIgnoreCase ( "APPIUM_NODE" ) ) return "APPIUM_WEB_NODE" ; } return testToRun ; }
Transform the test type parameter as the requirement for AWS devicefarm API for appium tests of web apps.
Transform the test type parameter as the requirement for AWS devicefarm API for appium tests of web apps .