|
||||||||||
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.objectweb.jtests.jms.framework.JMSTestCase
public class JMSTestCase
Class extending junit.framework.TestCase
to
provide a new fail()
method with an Exception
as parameter.
Every Test Case for JMS should extend this class instead of junit.framework.TestCase
Constructor Summary | |
---|---|
JMSTestCase(java.lang.String name)
|
Method Summary | |
---|---|
void |
fail(java.lang.Exception e)
Fails a test with an exception which will be used for a message. |
protected java.util.Properties |
getProviderProperties()
Should be overriden |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JMSTestCase(java.lang.String name)
Method Detail |
---|
public void fail(java.lang.Exception e)
javax.jms.JMSException
, the
message of the failure will contained both the JMSException and its linked exception
(provided there's one).
protected java.util.Properties getProviderProperties() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |