Methods Summary |
---|
public void | doDeploy()
client.process(opts, new ByteArrayInputStream(deployDoc.getBytes()));
|
public void | doTest()
String[] args = { "-d" };
TestClient.main(args);
|
public void | doUndeploy()
client.process(opts, new ByteArrayInputStream(undeployDoc.getBytes()));
|
public static void | main(java.lang.String[] args)
TestMiscSample tester = new TestMiscSample("tester");
tester.testService();
|
public void | testService()
try {
log.info("Testing misc sample.");
doDeploy();
log.info("Testing service...");
doTest();
doUndeploy();
log.info("Test complete.");
}
catch( Exception e ) {
e.printStackTrace();
throw new Exception("Fault returned from test: "+e);
}
|