org.apache.james.pop3server
Class POP3ServerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.james.pop3server.POP3ServerTest
All Implemented Interfaces:
junit.framework.Test

public class POP3ServerTest
extends junit.framework.TestCase

Tests the org.apache.james.smtpserver.SMTPServer unit


Constructor Summary
POP3ServerTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAuthenticationFail()
           
 void testKnownUserEmptyInbox()
           
 void testKnownUserInboxWithMessages()
           
 void testNotAsciiCharsInPassword()
           
 void testTwoSimultaneousMails()
           
 void testUnknownUser()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

POP3ServerTest

public POP3ServerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testAuthenticationFail

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

testUnknownUser

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

testKnownUserEmptyInbox

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

testNotAsciiCharsInPassword

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

testKnownUserInboxWithMessages

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

testTwoSimultaneousMails

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


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