|
||||||||||
| 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.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.JmsTestCase
public class JmsTestCase
TestCase class to test Message Driven Beans (or any JMS listener for that matter).
| Field Summary | |
|---|---|
javax.ejb.MessageDrivenContext |
context
Valid MessageDrivenContext object that you can access from
the testXXX(), setUp and
tearDown() methods. |
javax.jms.Message |
message
Valid Message object that you can access from
the testXXX(), setUp and
tearDown() methods. |
| Constructor Summary | |
|---|---|
JmsTestCase()
|
|
JmsTestCase(java.lang.String theName)
Constructs a JUnit test case with the given name. |
|
JmsTestCase(java.lang.String theName,
junit.framework.Test theTest)
Constructs a JUnit test case with the given name. |
|
| Method Summary | |
|---|---|
protected ProtocolHandler |
createProtocolHandler()
Create a protocol handler instance that will be used to connect to the server side. |
| Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase |
|---|
runBare, runBareServer |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public javax.jms.Message message
Message object that you can access from
the testXXX(), setUp and
tearDown() methods. If you try to access it from either the
beginXXX() or endXXX() methods it will
have the null value.
public javax.ejb.MessageDrivenContext context
MessageDrivenContext object that you can access from
the testXXX(), setUp and
tearDown() methods. If you try to access it from either the
beginXXX() or endXXX() methods it will
have the null value.
| Constructor Detail |
|---|
public JmsTestCase()
AbstractCactusTestCase.AbstractCactusTestCase()public JmsTestCase(java.lang.String theName)
theName - the name of the test case
public JmsTestCase(java.lang.String theName,
junit.framework.Test theTest)
theName - the name of the test case| Method Detail |
|---|
protected ProtocolHandler createProtocolHandler()
createProtocolHandler in class AbstractCactusTestCaseAbstractCactusTestCase.createProtocolHandler()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||