org.exolab.jmscts.core
Class TestFilter
java.lang.Object
|
+--org.exolab.jmscts.core.TestFilter
- public class TestFilter
- extends java.lang.Object
Instances of this class determine if a test case is to be tested or not,
based on a filter specified by Filter
- Version:
- $Revision: 1.7 $ $Date: 2004/01/31 13:44:24 $
- Author:
- Tim Anderson
Method Summary |
boolean |
includes(java.lang.Class factoryType,
junit.framework.Test test)
Determines if a test is included by the filter |
boolean |
includes(TestContext context,
AckType mode,
junit.framework.Test test)
Determines if a test is included by the filter |
boolean |
includes(TestContext context,
java.lang.Class messageType,
junit.framework.Test test)
Determines if a test is included by the filter |
boolean |
includes(TestContext context,
MessagingBehaviour behaviour,
java.lang.Class messageType,
junit.framework.Test test)
Determines if a test is included by the filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestFilter
public TestFilter(Filter filter)
- Construct a new
TestFilter
- Parameters:
filter
- the filter
includes
public boolean includes(java.lang.Class factoryType,
junit.framework.Test test)
- Determines if a test is included by the filter
- Parameters:
factoryType
- the class of the connection factorrytest
- the test case- Returns:
true
if it is included, false
otherwise
includes
public boolean includes(TestContext context,
AckType mode,
junit.framework.Test test)
- Determines if a test is included by the filter
- Parameters:
context
- the test contextmode
- the session acknowledgement modetest
- the test case- Returns:
true
if it is included, false
otherwise
includes
public boolean includes(TestContext context,
java.lang.Class messageType,
junit.framework.Test test)
- Determines if a test is included by the filter
- Parameters:
context
- the test contextmessageType
- the message typetest
- the test case- Returns:
true
if it is included, false
otherwise
includes
public boolean includes(TestContext context,
MessagingBehaviour behaviour,
java.lang.Class messageType,
junit.framework.Test test)
- Determines if a test is included by the filter
- Parameters:
context
- the test contextbehaviour
- the messaging behaviourmessageType
- the message typetest
- the test case- Returns:
true
if it is included, false
otherwise
Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.