org.jboss.test.webservice.exception
Class ExceptionTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.webservice.WebserviceTestBase (src) 
              extended byorg.jboss.test.webservice.exception.ExceptionTestCase

public class ExceptionTestCase
extends WebserviceTestBase (src)

Test user exception propagation.

Since:
23-Sep-2004
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
ExceptionTestCase(java.lang.String name)
           
 
Method Summary
static Test suite()
          Deploy the test archives
 void testComplexUserException()
          Test a complex user exception
 void testException()
          Test simple exception propagation
 void testExceptionWithMessage()
          Test exception with message
 
Methods inherited from class org.jboss.test.webservice.WebserviceTestBase (src)
getClientContext
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionTestCase

public ExceptionTestCase(java.lang.String name)
Method Detail

suite

public static Test suite()
                  throws java.lang.Exception
Deploy the test archives

Throws:
java.lang.Exception

testException

public void testException()
                   throws java.lang.Exception
Test simple exception propagation

Throws:
java.lang.Exception

testExceptionWithMessage

public void testExceptionWithMessage()
                              throws java.lang.Exception
Test exception with message

Throws:
java.lang.Exception

testComplexUserException

public void testComplexUserException()
                              throws java.lang.Exception
Test a complex user exception

Throws:
java.lang.Exception