org.apache.james.mailboxmanager.manager
Class MailboxExpressionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.james.mailboxmanager.manager.MailboxExpressionTest
All Implemented Interfaces:
junit.framework.Test

public class MailboxExpressionTest
extends junit.framework.TestCase


Constructor Summary
MailboxExpressionTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCombinedNameBaseEndsWithDelimiter()
           
 void testCombinedNameBaseEndsWithDelimiterPartStarts()
           
 void testCombinedNameEmptyPart()
           
 void testCombinedNamePartStartsWithDelimiter()
           
 void testContainsFreeWildcard()
           
 void testContainsLocalWildcard()
           
 void testDoubleFreeWildcard()
           
 void testEmptyExpression()
           
 void testEndsWithFreeWildcard()
           
 void testEndsWithLocalWildcard()
           
 void testFreeLocalMixedWildcards()
           
 void testFreeLocalWildcard()
           
 void testIsWild()
           
 void testLocalFreeWildcard()
           
 void testMultipleFreeWildcards()
           
 void testNullCombinedName()
           
 void testOnlyFreeWildcard()
           
 void testOnlyLocalWildcard()
           
 void testSimpleCombinedName()
           
 void testSimpleExpression()
           
 void testSimpleMixedWildcards()
           
 void testStartsWithFreeWildcard()
           
 void testStartsWithLocalWildcard()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

MailboxExpressionTest

public MailboxExpressionTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testIsWild

public void testIsWild()
                throws java.lang.Exception
Throws:
java.lang.Exception

testCombinedNameEmptyPart

public void testCombinedNameEmptyPart()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testNullCombinedName

public void testNullCombinedName()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleCombinedName

public void testSimpleCombinedName()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testCombinedNamePartStartsWithDelimiter

public void testCombinedNamePartStartsWithDelimiter()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCombinedNameBaseEndsWithDelimiter

public void testCombinedNameBaseEndsWithDelimiter()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testCombinedNameBaseEndsWithDelimiterPartStarts

public void testCombinedNameBaseEndsWithDelimiterPartStarts()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleExpression

public void testSimpleExpression()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testEmptyExpression

public void testEmptyExpression()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testOnlyLocalWildcard

public void testOnlyLocalWildcard()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testOnlyFreeWildcard

public void testOnlyFreeWildcard()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testEndsWithLocalWildcard

public void testEndsWithLocalWildcard()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testStartsWithLocalWildcard

public void testStartsWithLocalWildcard()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testContainsLocalWildcard

public void testContainsLocalWildcard()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testEndsWithFreeWildcard

public void testEndsWithFreeWildcard()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testStartsWithFreeWildcard

public void testStartsWithFreeWildcard()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testContainsFreeWildcard

public void testContainsFreeWildcard()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testDoubleFreeWildcard

public void testDoubleFreeWildcard()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testFreeLocalWildcard

public void testFreeLocalWildcard()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testLocalFreeWildcard

public void testLocalFreeWildcard()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleFreeWildcards

public void testMultipleFreeWildcards()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleMixedWildcards

public void testSimpleMixedWildcards()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testFreeLocalMixedWildcards

public void testFreeLocalMixedWildcards()
                                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.