|
||||||||||
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.ConnectionTestRunner
This class enables generic connection test cases to be run for each JMS connection type.
Test cases must implement the ConnectionTestCase
interface.
ConnectionTestCase
,
ConnectionFactoryTestCase
,
ProviderTestRunner
Fields inherited from class junit.extensions.TestDecorator |
fTest |
Constructor Summary | |
ConnectionTestRunner(ConnectionTestCase test)
Construct an instance with the test case to run |
Method Summary | |
ConnectionFactoryTypes |
getConnectionFactoryTypes()
Return the connection factory types to run the test cases against |
protected void |
runTest(junit.framework.Test test,
junit.framework.TestResult result)
Runs a test case for the given connection. |
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 |
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 |
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 |
countTestCases, run |
Constructor Detail |
public ConnectionTestRunner(ConnectionTestCase test)
test
- the test case to run.Method Detail |
public ConnectionFactoryTypes getConnectionFactoryTypes()
getConnectionFactoryTypes
in interface ConnectionFactoryTestCase
protected void runTest(junit.framework.Test test, junit.framework.TestResult result)
runTest
in class TestRunner
test
- the test caseresult
- the instance to collect test results in
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |