agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/JobRequestInputProcessorIT.java
/**
     * Tests job app input validation throws exception for invalid uri
     */
Tests job app input validation throws exception for invalid uri
Tests job app input validation throws exception for invalid uri
@Test(expectedExceptions = JobProcessingException.class)
    public void processInvalidUriThrowsException() throws JobProcessingException
    {
        try {
            SoftwareInput softwareInput = createInput("testInput", null, null, false, true);
            _genericProcess(List.of(softwareInput), mapper.createObjectNode().put(softwareInput.getKey(), "j:/^^  //example.com/test.txt"));
        } catch (PermissionException e) {
            fail("Failed to setup software input test", e);
        }
    }
@ Test ( expectedExceptions = JobProcessingException . class ) public void processInvalidUriThrowsException ( ) throws JobProcessingException { try { SoftwareInput softwareInput = createInput ( "testInput" , null , null , false , true ) ; _genericProcess ( List . of ( softwareInput ) , mapper . createObjectNode ( ) . put ( softwareInput . getKey ( ) , "j:/^^  //example.com/test.txt" ) ) ; } catch ( PermissionException e ) { fail ( "Failed to setup software input test" , e ) ; } }
Tests job app input validation throws exception for invalid uri
Tests job app input validation throws exception for invalid uri