java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.objectweb.jtests.jms.framework.JMSTestCase
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- PTPTestCase, PubSubTestCase
- public class JMSTestCase
- extends junit.framework.TestCase
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
- Version:
- $Id: JMSTestCase.java,v 1.1 2002/04/21 21:15:19 chirino Exp $
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
JMSTestCase
public JMSTestCase(java.lang.String name)
fail
public void fail(java.lang.Exception e)
- Fails a test with an exception which will be used for a message.
If the exception is an instance of
javax.jms.JMSException, the
message of the failure will contained both the JMSException and its linked exception
(provided there's one).