org.jboss.test
Class JBossClusteredTestCase
java.lang.Object
TestCase
org.jboss.test.JBossTestCase (src)
org.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
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 |
JBossClusteredTestCase
public JBossClusteredTestCase(java.lang.String name)
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