agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/JobRequestInputProcessorIT.java
/**
     * Generates unsupported schema for upper, lower, and mixed case to test processing fails for unsupported schema.
     *
     * @return test cases
     */
Generates unsupported schema for upper, lower, and mixed case to test processing fails for unsupported schema.
@return test cases
Generates unsupported schema for upper lower and mixed case to test processing fails for unsupported schema . @return test cases
@DataProvider
    protected Object[][] processUnsupportedSchemaThrowsExceptionProvider() {
        List<Object[]> testData = new ArrayList<>();
        for (String schema: new String[]{"GsiFTP", "GridFTP", "Azure", "S3", "Irods", "Irods3", "Irods4", "MySQL"}) {
            testData.add(new Object[]{ schema });
            testData.add(new Object[]{ schema.toUpperCase() });
            testData.add(new Object[]{ schema.toLowerCase() });
        }
        return testData.toArray(new Object[][]{});
    }
@ DataProvider protected Object [ ] [ ] processUnsupportedSchemaThrowsExceptionProvider ( ) { List < Object [ ] > testData = new ArrayList < > ( ) ; for ( String schema : new String [ ] { "GsiFTP" , "GridFTP" , "Azure" , "S3" , "Irods" , "Irods3" , "Irods4" , "MySQL" } ) { testData . add ( new Object [ ] { schema } ) ; testData . add ( new Object [ ] { schema . toUpperCase ( ) } ) ; testData . add ( new Object [ ] { schema . toLowerCase ( ) } ) ; } return testData . toArray ( new Object [ ] [ ] { } ) ; }
Generates unsupported schema for upper, lower, and mixed case to test processing fails for unsupported schema.
Generates unsupported schema for upper lower and mixed case to test processing fails for unsupported schema .