org.jboss.test
Class JBossTestClusteredSetup

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.extensions.TestDecorator
          extended by junit.extensions.TestSetup
              extended by org.jboss.test.AbstractTestSetup
                  extended by org.jboss.test.JBossTestSetup
                      extended by org.jboss.test.JBossTestClusteredSetup
All Implemented Interfaces:
junit.framework.Test

public class JBossTestClusteredSetup
extends JBossTestSetup

Derived implementation of JBossTestSetup for cluster testing.

Version:
$Revision: 71787 $

Revisions:

12 avril 2002 Sacha Labourey:

Author:
Sacha Labourey.
See Also:
JBossTestSetup

Field Summary
 
Fields inherited from class org.jboss.test.JBossTestSetup
delegate
 
Fields inherited from class org.jboss.test.AbstractTestSetup
clazz
 
Fields inherited from class junit.extensions.TestDecorator
fTest
 
Constructor Summary
JBossTestClusteredSetup(junit.framework.Test test)
           
JBossTestClusteredSetup(junit.framework.Test test, String jarNames)
           
 
Method Summary
 JBossTestServices createTestServices()
           
protected  void setUp()
          Create a delegate by calling AbstractTestDelegate.getDelegate(clazz) to allow for a test specific delegate.
protected  void tearDown()
          This method then delegates to the AbstractTestDelegate.tearDown method.
 
Methods inherited from class org.jboss.test.JBossTestSetup
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, invoke, redeploy, restartDBPool, undeploy
 
Methods inherited from class junit.extensions.TestSetup
run
 
Methods inherited from class junit.extensions.TestDecorator
basicRun, countTestCases, getTest, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JBossTestClusteredSetup

public JBossTestClusteredSetup(junit.framework.Test test,
                               String jarNames)
                        throws Exception
Throws:
Exception

JBossTestClusteredSetup

public JBossTestClusteredSetup(junit.framework.Test test)
                        throws Exception
Throws:
Exception
Method Detail

createTestServices

public JBossTestServices createTestServices()

setUp

protected void setUp()
              throws Exception
Description copied from class: AbstractTestSetup
Create a delegate by calling AbstractTestDelegate.getDelegate(clazz) to allow for a test specific delegate. This method then delegates to the AbstractTestDelegate.setUp method.

Overrides:
setUp in class JBossTestSetup
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Description copied from class: AbstractTestSetup
This method then delegates to the AbstractTestDelegate.tearDown method.

Overrides:
tearDown in class JBossTestSetup
Throws:
Exception


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.