|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--org.exolab.jmscts.core.JMSTestCase | +--org.exolab.jmscts.core.AbstractConnectionFactoryTestCase | +--org.exolab.jmscts.core.AbstractConnectionTestCase | +--org.exolab.jmscts.core.AbstractSessionTestCase | +--org.exolab.jmscts.core.AbstractMessageTestCase
This class provides a default implementation of the MessageTestCase
interface.
MessageTestCase
,
MessageTestRunner
Constructor Summary | |
AbstractMessageTestCase(java.lang.String name)
Construct an instance of this class for a specific test case. |
Method Summary | |
MessagePopulator |
getMessagePopulator()
Get the message populator. |
MessageTypes |
getMessageTypes()
Returns the message types to test against This implementation returns the values of any jmscts.message javadoc tags associated with the test
case. |
boolean |
shouldCreateMessage()
Determines if messages should be pre-created and populated for the test. |
boolean |
startConnection()
Returns true if the connection should be started prior to running the test. |
Methods inherited from class org.exolab.jmscts.core.AbstractSessionTestCase |
getAckTypes |
Methods inherited from class org.exolab.jmscts.core.AbstractConnectionTestCase |
setClientID |
Methods inherited from class org.exolab.jmscts.core.AbstractConnectionFactoryTestCase |
getConnectionFactoryTypes |
Methods inherited from class org.exolab.jmscts.core.JMSTestCase |
getContext, getRequirements, setContext, share |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.exolab.jmscts.core.SessionTestCase |
getAckTypes |
Methods inherited from interface org.exolab.jmscts.core.ConnectionTestCase |
setClientID |
Methods inherited from interface org.exolab.jmscts.core.ConnectionFactoryTestCase |
getConnectionFactoryTypes |
Methods inherited from interface org.exolab.jmscts.core.JMSTest |
getContext, setContext, share |
Methods inherited from interface junit.framework.Test |
countTestCases, run |
Constructor Detail |
public AbstractMessageTestCase(java.lang.String name)
name
- the name of test caseMethod Detail |
public MessageTypes getMessageTypes()
jmscts.message
javadoc tags associated with the test
case. If none are specified, it defaults to MessageTypes.ALL
getMessageTypes
in interface MessageTestCase
public boolean shouldCreateMessage()
shouldCreateMessage
in interface MessageTestCase
true
public MessagePopulator getMessagePopulator()
JMSTestCase.setContext(org.exolab.jmscts.core.TestContext)
being invoked.getMessagePopulator
in interface MessageTestCase
BasicMessagePopulator
public boolean startConnection()
startConnection
in interface MessageTestCase
startConnection
in class AbstractConnectionTestCase
true
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |