org.exolab.jmscts.core
Interface ConnectionTestCase
- All Superinterfaces:
- ConnectionFactoryTestCase, JMSTest, junit.framework.Test
- All Known Subinterfaces:
- MessageTestCase, SendReceiveTestCase, SessionTestCase
- All Known Implementing Classes:
- AbstractConnectionTestCase, SessionTestRunner
- public interface ConnectionTestCase
- extends ConnectionFactoryTestCase
This interface enables generic connection test cases to be run for each JMS
connection type.
ConnectionTestRunner
uses this to set the connection to test
against prior to running the test case.
- Version:
- $Revision: 1.4 $ $Date: 2004/01/31 13:44:24 $
- Author:
- Tim Anderson
- See Also:
ConnectionTestRunner
Method Summary |
boolean |
setClientID()
Returns true if the client identifier should be set on the connection. |
boolean |
startConnection()
Returns true if the connection should be started prior to running the
test. |
Methods inherited from interface junit.framework.Test |
countTestCases, run |
startConnection
public boolean startConnection()
- Returns true if the connection should be started prior to running the
test.
- Returns:
- true if the connection should be started, false if it should be
stopped
setClientID
public boolean setClientID()
- Returns true if the client identifier should be set on the connection.
This is only applicable for TopicConnection instances, and will be
ignored for QueueConnection instances.
- Returns:
- true if an identifier should be allocated to the connection
Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.