org.apache.james.mailboxmanager.torque
Class SearchUtilsMultipartMixedTest

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

public class SearchUtilsMultipartMixedTest
extends junit.framework.TestCase


Constructor Summary
SearchUtilsMultipartMixedTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBodyShouldFindTextInBody()
           
 void testBodyShouldFindTextInBodyCaseInsensitive()
           
 void testBodyShouldNotFindTextInHeaders()
           
 void testShouldNotFindWhatIsNotThere()
           
 void testTextShouldFindTextInBody()
           
 void testTextShouldFindTextInBodyCaseInsensitive()
           
 void testTextShouldFindTextInHeaders()
           
 
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

SearchUtilsMultipartMixedTest

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

testShouldNotFindWhatIsNotThere

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

testBodyShouldFindTextInBody

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

testBodyShouldFindTextInBodyCaseInsensitive

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

testBodyShouldNotFindTextInHeaders

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

testTextShouldFindTextInBody

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

testTextShouldFindTextInBodyCaseInsensitive

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

testTextShouldFindTextInHeaders

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


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