gov.nasa.pds.tools.label
Class DateTimeFormatterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gov.nasa.pds.tools.BaseTestCase
              extended by gov.nasa.pds.tools.label.DateTimeFormatterTest
All Implemented Interfaces:
junit.framework.Test

public class DateTimeFormatterTest
extends BaseTestCase


Field Summary
 
Fields inherited from class gov.nasa.pds.tools.BaseTestCase
LABEL_DIR, PARSER, RESOLVER, TEST_DIR
 
Constructor Summary
DateTimeFormatterTest()
           
 
Method Summary
 void testDayOfYearOOR()
           
 void testDaysOOR()
           
 void testHoursOOR()
           
 void testInvalidYear()
           
 void testMinutesOOR()
           
 void testMonthsOOR()
           
 void testNumErrors()
           
 void testSecondsOOR()
           
 void testShortDays()
           
 void testShortHours()
           
 void testShortMinutes()
           
 void testShortMonths()
           
 void testShortSeconds()
           
 void testShortYear()
           
 void testTooManyMilliseconds()
           
 
Methods inherited from class gov.nasa.pds.tools.BaseTestCase
assertDoesntHaveProblem, assertHasProblem, assertHasProblem, assertNegative, assertPositive, assertProblemEquals, assertZero, getDictionary, validate
 
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

DateTimeFormatterTest

public DateTimeFormatterTest()
Method Detail

testTooManyMilliseconds

public void testTooManyMilliseconds()
                             throws LabelParserException,
                                    java.io.IOException
Throws:
LabelParserException
java.io.IOException

testSecondsOOR

public void testSecondsOOR()
                    throws LabelParserException,
                           java.io.IOException
Throws:
LabelParserException
java.io.IOException

testMinutesOOR

public void testMinutesOOR()
                    throws LabelParserException,
                           java.io.IOException
Throws:
LabelParserException
java.io.IOException

testHoursOOR

public void testHoursOOR()
                  throws LabelParserException,
                         java.io.IOException
Throws:
LabelParserException
java.io.IOException

testDaysOOR

public void testDaysOOR()
                 throws LabelParserException,
                        java.io.IOException
Throws:
LabelParserException
java.io.IOException

testMonthsOOR

public void testMonthsOOR()
                   throws LabelParserException,
                          java.io.IOException
Throws:
LabelParserException
java.io.IOException

testDayOfYearOOR

public void testDayOfYearOOR()
                      throws LabelParserException,
                             java.io.IOException
Throws:
LabelParserException
java.io.IOException

testShortSeconds

public void testShortSeconds()
                      throws LabelParserException,
                             java.io.IOException
Throws:
LabelParserException
java.io.IOException

testShortMinutes

public void testShortMinutes()
                      throws LabelParserException,
                             java.io.IOException
Throws:
LabelParserException
java.io.IOException

testShortHours

public void testShortHours()
                    throws LabelParserException,
                           java.io.IOException
Throws:
LabelParserException
java.io.IOException

testShortDays

public void testShortDays()
                   throws LabelParserException,
                          java.io.IOException
Throws:
LabelParserException
java.io.IOException

testShortMonths

public void testShortMonths()
                     throws LabelParserException,
                            java.io.IOException
Throws:
LabelParserException
java.io.IOException

testShortYear

public void testShortYear()
                   throws LabelParserException,
                          java.io.IOException
Throws:
LabelParserException
java.io.IOException

testInvalidYear

public void testInvalidYear()
                     throws LabelParserException,
                            java.io.IOException
Throws:
LabelParserException
java.io.IOException

testNumErrors

public void testNumErrors()
                   throws LabelParserException,
                          java.io.IOException
Throws:
LabelParserException
java.io.IOException


Copyright © 2005-2010 Planetary Data System. All Rights Reserved.