|
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.TestTimeout
public class TestTimeout
Test timeout functionality. On a local network there is virtually no blocking, so ordinarily timeouts will not occur on network reads. We do this test in isolation and pull out a network cable to test the timeout
| 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 | |
|---|---|
TestTimeout()
|
|
| 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 |
testTimeout()
Test some general methods |
| 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 TestTimeout()
| Method Detail |
|---|
protected String getLogName()
getLogName in class FTPTestCase
public void testTimeout()
throws Exception
Exceptionpublic 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 | |||||||||