Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq.filter
Class DestinationFilterTest  view DestinationFilterTest download DestinationFilterTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.test.TestSupport
              extended byorg.activemq.filter.DestinationFilterTest
All Implemented Interfaces:
junit.framework.Test

public class DestinationFilterTest
extends org.activemq.test.TestSupport

Version:
$Revision: 1.1.1.1 $

Field Summary
 
Fields inherited from class org.activemq.test.TestSupport
connectionFactory, log, topic
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DestinationFilterTest()
           
 
Method Summary
protected  void assertFilterMatches(Filter filter, java.lang.String subject, boolean expected)
           
protected  Filter createFilter(java.lang.String subject)
           
 void testCompositeFilter()
           
 void testDoubleWildcard()
           
 void testIntermixedWildcards()
           
 void testMatchAnythingWildcard()
           
 void testNonWildcard()
           
 void testPrefixWildcard()
           
 void testTwoLevelPrefixWildcard()
           
 void testWildcard()
           
 void testWildcardInMiddle()
           
 
Methods inherited from class org.activemq.test.TestSupport
assertEquals, assertEquals, assertEquals, assertTextMessageEqual, assertTextMessagesEqual, assertTextMessagesEqual, createConnection, createConnectionFactory, createDestination, createMessage, getConnectionFactory, getConsumerSubject, getProducerSubject, getSubject
 
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
 

Constructor Detail

DestinationFilterTest

public DestinationFilterTest()
Method Detail

testNonWildcard

public void testNonWildcard()
                     throws javax.jms.JMSException

testPrefixWildcard

public void testPrefixWildcard()
                        throws javax.jms.JMSException

testTwoLevelPrefixWildcard

public void testTwoLevelPrefixWildcard()
                                throws javax.jms.JMSException

testMatchAnythingWildcard

public void testMatchAnythingWildcard()
                               throws javax.jms.JMSException

testWildcard

public void testWildcard()
                  throws javax.jms.JMSException

testDoubleWildcard

public void testDoubleWildcard()
                        throws javax.jms.JMSException

testWildcardInMiddle

public void testWildcardInMiddle()
                          throws javax.jms.JMSException

testIntermixedWildcards

public void testIntermixedWildcards()
                             throws javax.jms.JMSException

testCompositeFilter

public void testCompositeFilter()
                         throws javax.jms.JMSException

assertFilterMatches

protected void assertFilterMatches(Filter filter,
                                   java.lang.String subject,
                                   boolean expected)
                            throws javax.jms.JMSException

createFilter

protected Filter createFilter(java.lang.String subject)