org.apache.james.transport.matchers
Class RemoteAddrNotInNetworkTest

java.lang.Object
  extended by TestCase
      extended by org.apache.james.transport.matchers.AbstractRemoteAddrInNetworkTest
          extended by org.apache.james.transport.matchers.RemoteAddrNotInNetworkTest

public class RemoteAddrNotInNetworkTest
extends AbstractRemoteAddrInNetworkTest


Field Summary
 
Fields inherited from class org.apache.james.transport.matchers.AbstractRemoteAddrInNetworkTest
matcher, mockedMail
 
Constructor Summary
RemoteAddrNotInNetworkTest(java.lang.String arg0)
           
 
Method Summary
protected  org.apache.james.transport.matchers.AbstractNetworkMatcher createMatcher()
           
protected  java.lang.String getAllowedNetworks()
           
protected  java.lang.String getConfigOption()
           
 void testRemoteAddrNotInNetworkMatched()
           
 void testRemoteAddrNotInNetworkNotMatch()
           
 
Methods inherited from class org.apache.james.transport.matchers.AbstractRemoteAddrInNetworkTest
setRemoteAddr, setupAll, setupDNSServer, setupMatcher, setupMockedMail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAddrNotInNetworkTest

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

testRemoteAddrNotInNetworkMatched

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

testRemoteAddrNotInNetworkNotMatch

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

createMatcher

protected org.apache.james.transport.matchers.AbstractNetworkMatcher createMatcher()
Specified by:
createMatcher in class AbstractRemoteAddrInNetworkTest

getConfigOption

protected java.lang.String getConfigOption()
Specified by:
getConfigOption in class AbstractRemoteAddrInNetworkTest

getAllowedNetworks

protected java.lang.String getAllowedNetworks()
Specified by:
getAllowedNetworks in class AbstractRemoteAddrInNetworkTest


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