public class FTPServerTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
FTPServerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
DISABLED_testQuota()
Create a user with a small quota.
|
protected void |
setUp() |
protected void |
tearDown() |
void |
testCRUD()
Test CRUD for FTP server
|
void |
testCWD()
Test CWD for FTP server
|
void |
testFTPConnect()
Simple test that connects to the inbuilt ftp server and logs on
|
void |
testFTPConnectNegative()
Simple negative test that connects to the inbuilt ftp server and attempts to
log on with the wrong password.
|
void |
testFtpQuotaAndFtp()
Test a quota failue exception over FTP.
|
void |
testModificationTime()
Test Setting the modification time FTP server
|
void |
testPathNames()
Test of obscure path names in the FTP server
RFC959 states that paths are constructed thus...
|
void |
testTwoUserUpdate()
Create a user other than "admin" who has access to a set of files.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, failNotEquals, failNotSame, failSame, formatprotected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testFTPConnect()
throws java.lang.Exception
java.lang.Exceptionpublic void testFTPConnectNegative()
throws java.lang.Exception
java.lang.Exceptionpublic void testCWD()
throws java.lang.Exception
java.lang.Exceptionpublic void testCRUD()
throws java.lang.Exception
java.lang.Exceptionpublic void testPathNames()
throws java.lang.Exception
java.lang.Exceptionpublic void testTwoUserUpdate()
throws java.lang.Exception
java.lang.Exceptionpublic void testFtpQuotaAndFtp()
throws java.lang.Exception
java.lang.Exceptionpublic void testModificationTime()
throws java.lang.Exception
java.lang.Exceptionpublic void DISABLED_testQuota()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.