Package org.apache.airavata.gfac.core.cpi

Examples of org.apache.airavata.gfac.core.cpi.GFacImpl.submitJob()


    }

    @Test
    public void testGramProvider() throws GFacException {
        GFacImpl gFacAPI = new GFacImpl();
        gFacAPI.submitJob(jobExecutionContext);
        MessageContext outMessageContext = jobExecutionContext.getOutMessageContext();
        Assert.assertEquals(MappingFactory.
                toString((ActualParameter) outMessageContext.getParameter("genome_output")), "476");
    }
}
View Full Code Here


    }

    @Test
    public void testSSHProvider() throws GFacException {
        GFacImpl gFacAPI = new GFacImpl();
        gFacAPI.submitJob(jobExecutionContext);
        org.junit.Assert.assertNotNull(jobExecutionContext.getJobDetails().getJobDescription());
        org.junit.Assert.assertNotNull(jobExecutionContext.getJobDetails().getJobID());
    }

}
View Full Code Here

  }

    @Test
    public void testLocalProvider() throws GFacException {
        GFacImpl gFacAPI = new GFacImpl();
        gFacAPI.submitJob(jobExecutionContext);
        MessageContext outMessageContext = jobExecutionContext.getOutMessageContext();
        Assert.assertEquals(MappingFactory.toString((ActualParameter)outMessageContext.getParameter("echo_output")), "hello");
    }
}
View Full Code Here

        return sshSecurityContext;
    }
    @Test
    public void testGSISSHProvider() throws GFacException {
        GFacImpl gFacAPI = new GFacImpl();
        gFacAPI.submitJob(jobExecutionContext);
        System.out.println(jobExecutionContext.getJobDetails().getJobDescription());
        System.out.println(jobExecutionContext.getJobDetails().getJobID());
    }

}
View Full Code Here

    }

    @Test
    public void testGramProvider() throws GFacException {
        GFacImpl gFacAPI = new GFacImpl();
        gFacAPI.submitJob(jobExecutionContext);
        MessageContext outMessageContext = jobExecutionContext.getOutMessageContext();
        Assert.assertEquals(MappingFactory.toString((ActualParameter)outMessageContext.getParameter("echo_output")), "hello");
    }

    @Test
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.