org.jboss.test
Class JBossClusteredTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.JBossClusteredTestCase
Direct Known Subclasses:
BaseTest (src) , BeanUnitTestCase (src) , BeanUnitTestCaseNew (src) , CacheInvalidationUnitTestCase (src) , ClusteredSingleSignOnUnitTestCase (src) , CrossServerCallsUnitTestCase (src) , DistributedStateTestCase (src) , DRMTestCase (src) , HttpSessionReplicationTestCase (src) , HttpSessionReplicationUnitTestCase (src) , WebSessionTestCase (src)

public class JBossClusteredTestCase
extends JBossTestCase (src)

Derived implementation of JBossTestCase for cluster testing.

See Also:
JBossTestCase (src) , Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
JBossClusteredTestCase(java.lang.String name)
           
 
Method Summary
 RMIAdaptor (src) [] getAdaptors()
           
static Test getDeploySetup(Test test, java.lang.String jarName)
          Get a JBossTestSetup that does login and deployment in setUp/tearDown
 java.lang.String[] getHttpURLs()
           
 java.lang.String[] getNamingURLs()
           
 java.lang.String[] getServers()
           
 void initDelegate()
           
 void setServerNames(java.lang.String[] snames)
          anil
 void testServerFound()
          This just checks the server is there...
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, invoke, restartDBPool, sleep, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossClusteredTestCase

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

initDelegate

public void initDelegate()
Overrides:
initDelegate in class JBossTestCase (src)

testServerFound

public void testServerFound()
                     throws java.lang.Exception
Description copied from class: JBossTestCase (src)
This just checks the server is there... so you should get at least one success! Also checks if an exception occurred during deployment, and throws any such exception from here.

Overrides:
testServerFound in class JBossTestCase (src)
Throws:
java.lang.Exception - Description of Exception

getAdaptors

public RMIAdaptor (src) [] getAdaptors()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getServers

public java.lang.String[] getServers()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getNamingURLs

public java.lang.String[] getNamingURLs()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getHttpURLs

public java.lang.String[] getHttpURLs()
                               throws java.lang.Exception
Throws:
java.lang.Exception

getDeploySetup

public static Test getDeploySetup(Test test,
                                  java.lang.String jarName)
                           throws java.lang.Exception
Description copied from class: JBossTestCase (src)
Get a JBossTestSetup that does login and deployment in setUp/tearDown

Throws:
java.lang.Exception

setServerNames

public void setServerNames(java.lang.String[] snames)
                    throws java.lang.Exception
anil

Throws:
java.lang.Exception