org.exolab.jmscts.core
Class AbstractSessionTestCase

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.exolab.jmscts.core.JMSTestCase
                    |
                    +--org.exolab.jmscts.core.AbstractConnectionFactoryTestCase
                          |
                          +--org.exolab.jmscts.core.AbstractConnectionTestCase
                                |
                                +--org.exolab.jmscts.core.AbstractSessionTestCase
All Implemented Interfaces:
ConnectionFactoryTestCase, ConnectionTestCase, JMSTest, SessionTestCase, junit.framework.Test
Direct Known Subclasses:
AbstractMessageTestCase, CloseTest, DuplicateDurableSubscriberTest, NonTransactedTest, RecoverTest

public abstract class AbstractSessionTestCase
extends AbstractConnectionTestCase
implements SessionTestCase

This class provides a default implementation of the SessionTestCase interface.

Version:
$Revision: 1.5 $ $Date: 2004/01/31 13:44:24 $
Author:
Tim Anderson
See Also:
SessionTestRunner, AckTypes

Constructor Summary
AbstractSessionTestCase(java.lang.String name)
          Construct an instance of this class for a specific test case, to be run against all message acknowledgement types
 
Method Summary
 AckTypes getAckTypes()
          Returns the session types to test against.
 
Methods inherited from class org.exolab.jmscts.core.AbstractConnectionTestCase
setClientID, startConnection
 
Methods inherited from class org.exolab.jmscts.core.AbstractConnectionFactoryTestCase
getConnectionFactoryTypes
 
Methods inherited from class org.exolab.jmscts.core.JMSTestCase
getContext, getRequirements, setContext, share
 
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 org.exolab.jmscts.core.ConnectionTestCase
setClientID, startConnection
 
Methods inherited from interface org.exolab.jmscts.core.ConnectionFactoryTestCase
getConnectionFactoryTypes
 
Methods inherited from interface org.exolab.jmscts.core.JMSTest
getContext, setContext, share
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Constructor Detail

AbstractSessionTestCase

public AbstractSessionTestCase(java.lang.String name)
Construct an instance of this class for a specific test case, to be run against all message acknowledgement types
Parameters:
name - the name of test case
Method Detail

getAckTypes

public AckTypes getAckTypes()
Returns the session types to test against. This implementation returns the values of any jmscts.session javadoc tags associated with the test case. The none are specified, returns AckTypes.ALL
Specified by:
getAckTypes in interface SessionTestCase
Returns:
the session types to test against


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.