org.apache.jsieve
Class BodyTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.jsieve.BodyTest
All Implemented Interfaces:
junit.framework.Test

public class BodyTest
extends junit.framework.TestCase

Class BodyTest


Constructor Summary
BodyTest()
           
 
Method Summary
protected  SieveMailAdapter nonTextMail()
           
 void testBasic()
          Test for Test 'header'
 void testBodyCaseInsensitivity()
          Test for Test 'body'
 void testBodyNoContains()
          Test for Test 'body'
protected  SieveMailAdapter textMail()
           
 
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

BodyTest

public BodyTest()
Method Detail

textMail

protected SieveMailAdapter textMail()
                             throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

nonTextMail

protected SieveMailAdapter nonTextMail()
                                throws javax.mail.MessagingException,
                                       org.apache.jsieve.exception.SieveException
Throws:
javax.mail.MessagingException
org.apache.jsieve.exception.SieveException

testBasic

public void testBasic()
Test for Test 'header'


testBodyCaseInsensitivity

public void testBodyCaseInsensitivity()
Test for Test 'body'


testBodyNoContains

public void testBodyNoContains()
Test for Test 'body'



Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.