org.apache.james.transport.matchers
Class RecipientIsRegexTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.james.transport.matchers.RecipientIsRegexTest
All Implemented Interfaces:
junit.framework.Test

public class RecipientIsRegexTest
extends junit.framework.TestCase


Constructor Summary
RecipientIsRegexTest(java.lang.String arg0)
           
 
Method Summary
 void testRegexIsMatchedAllRecipients()
           
 void testRegexIsMatchedOneRecipient()
           
 void testRegexIsNotMatch()
           
 void testRegexIsNotMatchedCauseError()
           
 
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

RecipientIsRegexTest

public RecipientIsRegexTest(java.lang.String arg0)
                     throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException
Method Detail

testRegexIsMatchedAllRecipients

public void testRegexIsMatchedAllRecipients()
                                     throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

testRegexIsMatchedOneRecipient

public void testRegexIsMatchedOneRecipient()
                                    throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

testRegexIsNotMatch

public void testRegexIsNotMatch()
                         throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

testRegexIsNotMatchedCauseError

public void testRegexIsNotMatchedCauseError()
                                     throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.