org.apache.james.transport.matchers
Class HostIsLocalTest

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

public class HostIsLocalTest
extends junit.framework.TestCase


Constructor Summary
HostIsLocalTest(java.lang.String arg0)
           
 
Method Summary
 void testHostIsMatchedAllRecipients()
           
 void testHostIsMatchedOneRecipient()
           
 void testHostIsNotMatch()
           
 
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

HostIsLocalTest

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

testHostIsMatchedAllRecipients

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

testHostIsMatchedOneRecipient

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

testHostIsNotMatch

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


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