public class POP3ClientTest extends junit.framework.TestCase
| Constructor and Description |
|---|
POP3ClientTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
testInvalidLoginWithBadName() |
void |
testInvalidLoginWithBadPassword() |
void |
testLoginFromWrongState()
Test to try to run the login method from the
disconnected, transaction and update states
|
void |
testLogoutFromAllStates() |
void |
testValidLoginWithNameAndPassword()
Simple test to logon to a valid server using a valid
user name and password.
|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringpublic POP3ClientTest(String name)
public void testValidLoginWithNameAndPassword() throws Exception
Exceptionpublic void testInvalidLoginWithBadName() throws Exception
Exceptionpublic void testInvalidLoginWithBadPassword() throws Exception
Exceptionpublic void testLoginFromWrongState() throws Exception
Exceptionpublic void testLogoutFromAllStates() throws Exception
ExceptionCopyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.