org.apache.commons.net.ftp.parser
Class FTPTimestampParserImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest
All Implemented Interfaces:
junit.framework.Test

public class FTPTimestampParserImplTest
extends junit.framework.TestCase

Test the FTPTimestampParser class.

Author:
scohen

Constructor Summary
FTPTimestampParserImplTest()
           
 
Method Summary
static junit.framework.TestSuite suite()
          Method suite.
 void testFeb29IfLeapYear()
           
 void testFeb29LeapYear()
           
 void testFeb29NonLeapYear()
           
 void testParseDec31Lenient()
           
 void testParseJan01()
           
 void testParseJan01Lenient()
           
 void testParser()
           
 void testParseShortPastDates1()
           
 void testParseShortPastDates2()
           
 void testParseTimestamp()
           
 void testParseTimestampAcrossTimeZones()
           
 void testParseTimestampWithSlop()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FTPTimestampParserImplTest

public FTPTimestampParserImplTest()
Method Detail

testParseTimestamp

public void testParseTimestamp()

testParseTimestampWithSlop

public void testParseTimestampWithSlop()

testParseTimestampAcrossTimeZones

public void testParseTimestampAcrossTimeZones()

testParser

public void testParser()

testParseShortPastDates1

public void testParseShortPastDates1()
                              throws Exception
Throws:
Exception

testParseShortPastDates2

public void testParseShortPastDates2()
                              throws Exception
Throws:
Exception

testFeb29IfLeapYear

public void testFeb29IfLeapYear()
                         throws Exception
Throws:
Exception

testFeb29LeapYear

public void testFeb29LeapYear()
                       throws Exception
Throws:
Exception

testFeb29NonLeapYear

public void testFeb29NonLeapYear()

testParseDec31Lenient

public void testParseDec31Lenient()
                           throws Exception
Throws:
Exception

testParseJan01Lenient

public void testParseJan01Lenient()
                           throws Exception
Throws:
Exception

testParseJan01

public void testParseJan01()
                    throws Exception
Throws:
Exception

suite

public static junit.framework.TestSuite suite()
Method suite.

Returns:
TestSuite


Copyright © 1997-2010 Apache Software Foundation. All Rights Reserved.