org.subethamail.smtp.test.command
Class MailTest

java.lang.Object
  extended by TestCase
      extended by org.subethamail.smtp.test.util.ServerTestCase
          extended by org.subethamail.smtp.test.command.MailTest

public class MailTest
extends ServerTestCase

Author:
Jon Stevens

Nested Class Summary
 
Nested classes/interfaces inherited from class org.subethamail.smtp.test.util.ServerTestCase
ServerTestCase.TestWiser
 
Field Summary
 
Fields inherited from class org.subethamail.smtp.test.util.ServerTestCase
c, PORT, wiser
 
Constructor Summary
MailTest(java.lang.String name)
           
 
Method Summary
 void testAlreadySpecified()
           
 void testEmptyEmailFromCommand()
           
 void testEmptyFromCommand()
           
 void testInvalidSenders()
           
 void testMailNoHello()
           
 void testMailWithoutWhitespace()
           
 void testMalformedMailCommand()
           
 void testSize()
           
 void testSizeTooLarge()
           
 void testSizeWithoutSize()
           
 
Methods inherited from class org.subethamail.smtp.test.util.ServerTestCase
expect, expectContains, send, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailTest

public MailTest(java.lang.String name)
Method Detail

testMailNoHello

public void testMailNoHello()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testAlreadySpecified

public void testAlreadySpecified()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidSenders

public void testInvalidSenders()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testMalformedMailCommand

public void testMalformedMailCommand()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testEmptyFromCommand

public void testEmptyFromCommand()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testEmptyEmailFromCommand

public void testEmptyEmailFromCommand()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testMailWithoutWhitespace

public void testMailWithoutWhitespace()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testSize

public void testSize()
              throws java.lang.Exception
Throws:
java.lang.Exception

testSizeWithoutSize

public void testSizeWithoutSize()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testSizeTooLarge

public void testSizeTooLarge()
                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006-2011. All Rights Reserved.