|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.enterprisedt.net.ftp.test.FTPTestCase
com.enterprisedt.net.ftp.test.TestFileOperations
public class TestFileOperations
Tests various file operations
Field Summary | |
---|---|
static String |
cvsId
Revision control id |
Fields inherited from class com.enterprisedt.net.ftp.test.FTPTestCase |
---|
bulkCount, ftp, highPort, localBigFile, localBigTextFile, localBinaryFile, localDataDir, localEmptyFile, localTestDir, localTextFile, localUnixTextFile, log, logDir, lowPort, props, remoteBinaryFile, remoteEmptyDir, remoteEmptyFile, remoteTextFile, testdir, tools |
Constructor Summary | |
---|---|
TestFileOperations()
|
Method Summary | |
---|---|
protected String |
getLogName()
Get name of log file |
static void |
main(String[] args)
Enable our class to be run, doing the tests |
static junit.framework.Test |
suite()
Automatic test suite construction |
void |
testDelete()
Test remote deletion |
void |
testModtime()
Test finding the modification time of a file |
void |
testRename()
Test renaming of a file |
void |
testSize()
Test the size() method |
Methods inherited from class com.enterprisedt.net.ftp.test.FTPTestCase |
---|
assertIdentical, assertIdentical, assertIdentical, bulkTransfer, connect, generateRandomFilename, print, print, print, setUp, tearDown |
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 |
Field Detail |
---|
public static String cvsId
Constructor Detail |
---|
public TestFileOperations()
Method Detail |
---|
protected String getLogName()
getLogName
in class FTPTestCase
public void testDelete() throws Exception
Exception
public void testRename() throws Exception
Exception
public void testModtime() throws Exception
Exception
public void testSize() throws Exception
Exception
public static junit.framework.Test suite()
public static void main(String[] args)
|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |