org.apache.james.smtpserver
Class ResolvableEhloHeloHandlerTest

java.lang.Object
  extended by TestCase
      extended by org.apache.james.smtpserver.ResolvableEhloHeloHandlerTest

public class ResolvableEhloHeloHandlerTest
extends TestCase


Field Summary
static java.lang.String HELO
           
static java.lang.String INVALID_HOST
           
static java.lang.String RCPT
           
static java.lang.String VALID_HOST
           
 
Constructor Summary
ResolvableEhloHeloHandlerTest()
           
 
Method Summary
 void setUp()
           
 void testAddJunkScoreInvalidHelo()
           
 void testNotRejectInvalidHeloAbuse()
           
 void testNotRejectInvalidHeloAuthUser()
           
 void testNotRejectInvalidHeloPostmaster()
           
 void testNotRejectRelay()
           
 void testNotRejectValidHelo()
           
 void testRejectInvalidHelo()
           
 void testRejectInvalidHeloAuthUser()
           
 void testRejectRelay()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID_HOST

public static final java.lang.String INVALID_HOST
See Also:
Constant Field Values

VALID_HOST

public static final java.lang.String VALID_HOST
See Also:
Constant Field Values

HELO

public static final java.lang.String HELO
See Also:
Constant Field Values

RCPT

public static final java.lang.String RCPT
See Also:
Constant Field Values
Constructor Detail

ResolvableEhloHeloHandlerTest

public ResolvableEhloHeloHandlerTest()
Method Detail

setUp

public void setUp()

testRejectInvalidHelo

public void testRejectInvalidHelo()
                           throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException

testNotRejectValidHelo

public void testNotRejectValidHelo()
                            throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException

testNotRejectInvalidHeloAuthUser

public void testNotRejectInvalidHeloAuthUser()
                                      throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException

testRejectInvalidHeloAuthUser

public void testRejectInvalidHeloAuthUser()
                                   throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException

testNotRejectRelay

public void testNotRejectRelay()
                        throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException

testRejectRelay

public void testRejectRelay()
                     throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException

testNotRejectInvalidHeloPostmaster

public void testNotRejectInvalidHeloPostmaster()
                                        throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException

testNotRejectInvalidHeloAbuse

public void testNotRejectInvalidHeloAbuse()
                                   throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException

testAddJunkScoreInvalidHelo

public void testAddJunkScoreInvalidHelo()
                                 throws javax.mail.internet.ParseException
Throws:
javax.mail.internet.ParseException


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