java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.net.ftp.parser.FTPConfigEntryParserTest
- All Implemented Interfaces:
- junit.framework.Test
- public class FTPConfigEntryParserTest
- extends junit.framework.TestCase
This is a simple TestCase that tests entry parsing using the new FTPClientConfig
mechanism. The normal FTPClient cannot handle the different date formats in these
entries, however using a configurable format, we can handle it easily.
The original system presenting this issue was an AIX system - see bug #27437 for details.
- Version:
- $Id$
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
df
private java.text.SimpleDateFormat df
FTPConfigEntryParserTest
public FTPConfigEntryParserTest()
testParseFieldsOnAIX
public void testParseFieldsOnAIX()
testParseEntryWithSymlink
public void testParseEntryWithSymlink()
- This is a new format reported on the mailing lists. Parsing this kind of
entry necessitated changing the regex in the parser.