|
||||||||||
| 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
This class is the base class for generic test cases that can be to be run for different connection factories, connections, and sessions.
TestContext,
ProviderTestRunner,
ConnectionTestRunner,
SessionTestRunner,
MessageTestRunner,
SendReceiveTestRunner| Constructor Summary | |
JMSTestCase(java.lang.String name)
Construct an instance of this class for a specific test case |
|
| Method Summary | |
TestContext |
getContext()
Return the context to test against |
java.lang.String[] |
getRequirements(java.lang.String test)
Returns the requirement identifiers covered by a test case. |
void |
setContext(TestContext context)
Set the context to test against |
boolean |
share()
Returns if this test can share resources with other test cases. |
| 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 junit.framework.Test |
countTestCases, run |
| Constructor Detail |
public JMSTestCase(java.lang.String name)
name - the name of test case| Method Detail |
public void setContext(TestContext context)
setContext in interface JMSTestcontext - the test contextpublic TestContext getContext()
getContext in interface JMSTestpublic boolean share()
trueshare in interface JMSTesttruepublic java.lang.String[] getRequirements(java.lang.String test)
jmscts.requirement javadoc tags associated with the test
casetest - the name of the test method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||