|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.filesys.FTPServerTest
public class FTPServerTest
End to end JUNIT test of the FTP server Uses the commons-net ftp client library to connect to the Alfresco FTP server.
Constructor Summary | |
---|---|
FTPServerTest()
|
Method Summary | |
---|---|
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 |
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. |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FTPServerTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testFTPConnect() throws java.lang.Exception
java.lang.Exception
public void testFTPConnectNegative() throws java.lang.Exception
java.lang.Exception
public void testCWD() throws java.lang.Exception
java.lang.Exception
public void testCRUD() throws java.lang.Exception
java.lang.Exception
public void testPathNames() throws java.lang.Exception
java.lang.Exception
public void testTwoUserUpdate() throws java.lang.Exception
java.lang.Exception
public void testFtpQuotaAndFtp() throws java.lang.Exception
java.lang.Exception
public void DISABLED_testQuota() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |