org.exolab.jmscts.core
Interface JMSTest

All Superinterfaces:
junit.framework.Test
All Known Subinterfaces:
ConnectionFactoryTestCase, ConnectionTestCase, MessageTestCase, SendReceiveTestCase, SessionTestCase
All Known Implementing Classes:
JMSTestCase, TestRunner

public interface JMSTest
extends junit.framework.Test

This interface is the base interface for generic tests that can be to be run for different connection factories, connections, and sessions.

Version:
$Revision: 1.4 $ $Date: 2004/01/31 13:44:24 $
Author:
Tim Anderson
See Also:
TestContext, JMSTestRunner, ProviderTestRunner, ConnectionTestRunner, SessionTestRunner, MessageTestRunner, SendReceiveTestRunner

Method Summary
 TestContext getContext()
          Return the context to test against
 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 interface junit.framework.Test
countTestCases, run
 

Method Detail

setContext

public void setContext(TestContext context)
Set the context to test against
Parameters:
context - the test context

getContext

public TestContext getContext()
Return the context to test against
Returns:
the test context

share

public boolean share()
Returns if this test can share resources with other test cases
Returns:
true if this test case can share resources; false if new resources should be allocated


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