| |
|
| org.apache.commons.net.pop3.POP3ClientTest
POP3ClientTest | public class POP3ClientTest extends TestCase (Code) | | author: [Net] version: $Id: POP3ClientTest.java 165675 2005-05-02 20:09:55Z rwinston $ version: The POP3* tests all presume the existence of the following parameters: version: mailserver: localhost (running on the default port 110) version: account: username=test; password=password version: account: username=alwaysempty; password=password. version: mail: At least four emails in the test account and zero emails version: in the alwaysempty account version: If this won't work for you, you can change these parameters in the version: TestSetupParameters class. version: The tests were originally run on a default installation of James. version: Your mileage may vary based on the POP3 server you run the tests against. version: Some servers are more standards-compliant than others. |
suite | public static TestSuite suite()(Code) | | Method suite.
TestSuite |
testInvalidLoginWithBadName | public void testInvalidLoginWithBadName() throws Exception(Code) | | |
testInvalidLoginWithBadPassword | public void testInvalidLoginWithBadPassword() throws Exception(Code) | | |
testLoginFromWrongState | public void testLoginFromWrongState() throws Exception(Code) | | Test to try to run the login method from the
disconnected, transaction and update states
|
testLogoutFromAllStates | public void testLogoutFromAllStates() throws Exception(Code) | | |
testValidLoginWithNameAndPassword | public void testValidLoginWithNameAndPassword() throws Exception(Code) | | Simple test to logon to a valid server using a valid
user name and password.
|
|
|
|