|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.extensions.TestDecorator | +--junit.extensions.TestSetup | +--org.exolab.jmscts.core.TestRunner | +--org.exolab.jmscts.core.AbstractMessageTestRunner | +--org.exolab.jmscts.core.SendReceiveTestRunner
This class enables generic message test cases to be run for each JMS message type using different delivery modes, synchronous/asynchronous messaging, and administered and non-administered destinations.
Test cases must implement the SendReceiveTestCase
interface.
SendReceiveTestCase
Fields inherited from class junit.extensions.TestDecorator |
fTest |
Constructor Summary | |
SendReceiveTestRunner(SendReceiveTestCase test)
Construct an instance with the test case to run. |
Method Summary | |
int |
countTestCases()
Counts the number of test cases that will be run by this test |
protected void |
runTest(junit.framework.Test test,
junit.framework.TestResult result,
java.lang.Class messageType)
Runs a test case for a particular message type, against each of the supported delivery types. |
protected void |
runTest(junit.framework.Test test,
junit.framework.TestResult result,
java.lang.Class messageType,
MessagingBehaviour behaviour)
Runs a test case for a particular message type, against a particular messaging behaviour |
Methods inherited from class org.exolab.jmscts.core.AbstractMessageTestRunner |
getAckTypes, getConnectionFactoryTypes, runTest, setClientID, startConnection |
Methods inherited from class org.exolab.jmscts.core.TestRunner |
basicRun, checkImplements, getChildContext, getContext, getFilter, getTests, setChildContext, setContext, setFilter, share, tearDown |
Methods inherited from class junit.extensions.TestSetup |
run, setUp |
Methods inherited from class junit.extensions.TestDecorator |
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 |
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.JMSTest |
getContext, setContext, share |
Methods inherited from interface junit.framework.Test |
run |
Constructor Detail |
public SendReceiveTestRunner(SendReceiveTestCase test)
test
- the test case to run.Method Detail |
public int countTestCases()
countTestCases
in class AbstractMessageTestRunner
protected void runTest(junit.framework.Test test, junit.framework.TestResult result, java.lang.Class messageType)
runTest
in class AbstractMessageTestRunner
test
- the test caseresult
- the instance to collect test results inmessageType
- the message typeprotected void runTest(junit.framework.Test test, junit.framework.TestResult result, java.lang.Class messageType, MessagingBehaviour behaviour)
test
- the test caseresult
- the instance to collect test results inmessageType
- the message typebehaviour
- the messaging behaviour
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |