Methods Summary |
---|
public void | doTest1()
String[] args = { "#001" };
EmployeeClient.main(args);
|
public void | doTest2()
String[] args = { "#002" };
try {
EmployeeClient.main(args);
} catch (samples.faults.NoSuchEmployeeFault nsef) {
return;
}
fail("Should not reach here");
|
public void | doTestDeploy()
String[] args = { "samples/faults/deploy.wsdd" };
AdminClient.main(args);
|
public static void | main(java.lang.String[] args)
TestFaultsSample tester = new TestFaultsSample("test");
tester.testFaultsService();
|
public void | testFaultsService()
try {
log.info("Testing faults sample.");
log.info("Testing deployment...");
doTestDeploy();
log.info("Testing service...");
doTest1();
doTest2();
log.info("Test complete.");
}
catch( Exception e ) {
e.printStackTrace();
throw new Exception("Fault returned from test: "+e);
}
|