org.exolab.jmscts.core
Class TestCreator

java.lang.Object
  |
  +--org.exolab.jmscts.core.TestCreator

public final class TestCreator
extends java.lang.Object

Helper class for creating JUnit test cases runnable by JMSTestRunner

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

Method Summary
static junit.framework.Test createConnectionFactoryTest(java.lang.Class test)
          Create a connection factory test using its class.
static junit.framework.Test createConnectionTest(java.lang.Class test)
          Create a connection test using its class.
static junit.framework.Test createConnectionTest(junit.framework.Test test)
          Create a connection test.
static junit.framework.Test createMessageTest(java.lang.Class test)
          Create a message test using its class.
static junit.framework.Test createMessageTest(junit.framework.Test test)
          Create a message test.
static junit.framework.Test createSendReceiveTest(java.lang.Class test)
          Create a send/receive test using its class.
static junit.framework.Test createSendReceiveTest(junit.framework.Test test)
          Create a send/receive test.
static junit.framework.Test createSessionTest(java.lang.Class test)
          Create a session test using its class.
static junit.framework.Test createSessionTest(junit.framework.Test test)
          Create a session test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createConnectionFactoryTest

public static junit.framework.Test createConnectionFactoryTest(java.lang.Class test)
Create a connection factory test using its class. The class must implement the ConnectionFactoryTestCase interface.
Parameters:
test - the test class
Returns:
the test

createConnectionTest

public static junit.framework.Test createConnectionTest(junit.framework.Test test)
Create a connection test.
Parameters:
test - the test case.
Returns:
the test

createConnectionTest

public static junit.framework.Test createConnectionTest(java.lang.Class test)
Create a connection test using its class. The class must implement the ConnectionTestCase interface.
Parameters:
test - the test class
Returns:
the test

createSessionTest

public static junit.framework.Test createSessionTest(junit.framework.Test test)
Create a session test.
Parameters:
test - the test case
Returns:
the test

createSessionTest

public static junit.framework.Test createSessionTest(java.lang.Class test)
Create a session test using its class. The class must implement the SessionTestCase interface.
Parameters:
test - the test class
Returns:
the test

createMessageTest

public static junit.framework.Test createMessageTest(junit.framework.Test test)
Create a message test. The test must implement the MessageTestCase interface.
Parameters:
test - the test case
Returns:
the test

createMessageTest

public static junit.framework.Test createMessageTest(java.lang.Class test)
Create a message test using its class. The class must implement the MessageTestCase interface.
Parameters:
test - the test class
Returns:
the test

createSendReceiveTest

public static junit.framework.Test createSendReceiveTest(junit.framework.Test test)
Create a send/receive test. The test must implement the SendReceiveTestCase interface.
Parameters:
test - the test case
Returns:
the test

createSendReceiveTest

public static junit.framework.Test createSendReceiveTest(java.lang.Class test)
Create a send/receive test using its class. The class must implement the SendReceiveTestCase interface.
Parameters:
test - the test class
Returns:
the test


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