org.apache.ws.util.test.axis
Class AbstractOneAxisTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.ws.util.test.axis.AbstractAxisTestCase
              extended byorg.apache.ws.util.test.axis.AbstractOneAxisTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractOneAxisTestCase
extends AbstractAxisTestCase

A JUnit test case superclass that will setup one global Axis server for use across all individual test methods. An embedded Axis server is started before the first test is run and that one Axis server remains running until the last test completes its run at which time the Axis server is stopped.

Author:
Ian P. Springer

Field Summary
 
Fields inherited from class org.apache.ws.util.test.axis.AbstractAxisTestCase
RUN_AXIS_SERVER
 
Constructor Summary
  AbstractOneAxisTestCase()
           
protected AbstractOneAxisTestCase(boolean runServer)
           
  AbstractOneAxisTestCase(java.lang.String name)
           
 
Method Summary
protected  void setUp()
          Starts the embedded Axis server iff this is the first test being run within this test case.
protected  void tearDown()
          Stops the embedded Axis server after the last test within this test case has finished running.
 
Methods inherited from class org.apache.ws.util.test.axis.AbstractAxisTestCase
getAxisBaseUrl, getAxisConfigBasePath, getAxisConfigFileName, getAxisContextName, getAxisServer, getAxisServerSocketPort, getAxisWebServiceUrl, getAxisWebServiceWsdlUrl, getFileProvider, setAxisServer, startAxisServer, stopAxisServer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractOneAxisTestCase

public AbstractOneAxisTestCase()
See Also:
AbstractAxisTestCase.AbstractAxisTestCase()

AbstractOneAxisTestCase

protected AbstractOneAxisTestCase(boolean runServer)
See Also:
AbstractAxisTestCase.AbstractAxisTestCase(boolean)

AbstractOneAxisTestCase

public AbstractOneAxisTestCase(java.lang.String name)
See Also:
AbstractAxisTestCase.AbstractAxisTestCase(String)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Starts the embedded Axis server iff this is the first test being run within this test case.

Throws:
java.lang.Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Stops the embedded Axis server after the last test within this test case has finished running.

Throws:
java.lang.Exception
See Also:
TestCase.tearDown()


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.