|
JBoss Test 1.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jboss.test.AbstractTestCase
org.jboss.test.AbstractTestCaseWithSetup
org.jboss.test.JBossTestCase
org.jboss.test.JBossJMSTestCase
public class JBossJMSTestCase
A Base class with abstraction on creating and deleting JMS destinations.
Field Summary |
---|
Fields inherited from class org.jboss.test.JBossTestCase |
---|
delegate, deploymentException, log |
Constructor Summary | |
---|---|
JBossJMSTestCase(String name)
Constructor for JMSTestCase object |
Method Summary | |
---|---|
void |
createQueue(String name)
Create a JMS Queue. |
void |
createTopic(String name)
Create a JMS Topic. |
void |
deleteQueue(String name)
Delete a JMS Queue. |
void |
deleteTopic(String name)
Delete a JMS Topic. |
protected static void |
deployQueue(String name,
TestRole... securityConfig)
|
protected static void |
deployTopic(String name,
TestRole... securityConfig)
|
protected void |
setUp()
Create the Admin object to perform all JMS adminsitrative functions in a JMS provider-independent manner |
protected void |
tearDown()
This method then delegates to the AbstractTestDelegate.tearDown method. |
protected static void |
undeployDestinations()
|
protected static void |
undeployQueue(String queue)
|
protected static void |
undeployTopic(String topic)
|
Methods inherited from class org.jboss.test.JBossTestCase |
---|
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDelegate, getDeployerName, getDeploySetup, getDeploySetup, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getServerHostForURL, getThreadCount, invoke, redeploy, resetDelegate, restartDBPool, serverFound, sleep, undeploy |
Methods inherited from class org.jboss.test.AbstractTestCaseWithSetup |
---|
enableTrace, getDelegate, resumeSecurity, suite, suspendSecurity |
Methods inherited from class org.jboss.test.AbstractTestCase |
---|
assertEmpty, assertEmpty, assertEmpty, assertEquals, assertEquals, assertEquals, assertEquals, assertInstanceOf, assertInstanceOf, checkDeepThrowable, checkDeepThrowableRethrow, checkThrowable, checkThrowableRethrow, configureLogging, deserialize, failure, findResource, getResource, serialize, serializeDeserialize |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JBossJMSTestCase(String name)
name
- test case nameMethod Detail |
---|
protected static void deployTopic(String name, TestRole... securityConfig) throws Exception
Exception
protected static void deployQueue(String name, TestRole... securityConfig) throws Exception
Exception
protected void setUp() throws Exception
setUp
in class JBossTestCase
Exception
protected void tearDown() throws Exception
JBossTestCase
tearDown
in class JBossTestCase
Exception
protected static void undeployDestinations() throws Exception
Exception
protected static void undeployQueue(String queue) throws Exception
Exception
protected static void undeployTopic(String topic) throws Exception
Exception
public void createQueue(String name) throws Exception
name
- The name of the Queue to be created.
Exception
public void deleteQueue(String name)
name
- The name of the Queue to be deleted.public void createTopic(String name) throws Exception
name
- The name of the Topic to be created.
Exception
public void deleteTopic(String name) throws Exception
name
- The name of the Topic to be deleted.
Exception
|
JBoss Test 1.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |