org.apache.james.mailboxmanager.torque
Class SearchUtilsRFC822Test

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

public class SearchUtilsRFC822Test
extends junit.framework.TestCase


Constructor Summary
SearchUtilsRFC822Test()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBodyMatchShouldBeCaseInsensitive()
           
 void testBodyShouldMatchPhraseInBody()
           
 void testBodyShouldMatchPhraseOnlyInHeader()
           
 void testBodyShouldNotMatchPhraseOnlyInHeader()
           
 void testTextMatchShouldBeCaseInsensitive()
           
 void testTextShouldMatchPhraseInBody()
           
 
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

SearchUtilsRFC822Test

public SearchUtilsRFC822Test()
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

testBodyShouldMatchPhraseInBody

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

testBodyMatchShouldBeCaseInsensitive

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

testBodyShouldNotMatchPhraseOnlyInHeader

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

testTextShouldMatchPhraseInBody

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

testTextMatchShouldBeCaseInsensitive

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

testBodyShouldMatchPhraseOnlyInHeader

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


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