FileDocCategorySizeDatePackage
TestBidBuySample.javaAPI DocApache Axis 1.42020Sat Apr 22 18:57:26 BST 2006test.functional

TestBidBuySample

public class TestBidBuySample extends TestCase
Test the stock sample code.

Fields Summary
static Log
log
Constructors Summary
public TestBidBuySample(String name)


       
        super(name);
    
Methods Summary
public voiddoTest()

        String[] args = { "http://localhost:8080" };
        TestClient.main(args);
    
public voiddoTestDeploy()

        String[] args = { "samples/bidbuy/deploy.wsdd" };
        AdminClient.main(args);
    
public static voidmain(java.lang.String[] args)

        TestBidBuySample tester = new TestBidBuySample("test");
        tester.testBidBuyService();
    
public voidtestBidBuyService()

        try {
            log.info("Testing bidbuy sample.");
            log.info("Testing deployment...");
            doTestDeploy();
            log.info("Testing service...");
            doTest();
            log.info("Test complete.");
        }
        catch( Exception e ) {
            e.printStackTrace();
            throw new Exception("Fault returned from test: "+e);
        }