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 gov.nasa.pds.tools.LabelParserException,
                                    IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testSecondsOOR

public void testSecondsOOR()
                    throws gov.nasa.pds.tools.LabelParserException,
                           IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testMinutesOOR

public void testMinutesOOR()
                    throws gov.nasa.pds.tools.LabelParserException,
                           IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testHoursOOR

public void testHoursOOR()
                  throws gov.nasa.pds.tools.LabelParserException,
                         IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testDaysOOR

public void testDaysOOR()
                 throws gov.nasa.pds.tools.LabelParserException,
                        IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testMonthsOOR

public void testMonthsOOR()
                   throws gov.nasa.pds.tools.LabelParserException,
                          IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testDayOfYearOOR

public void testDayOfYearOOR()
                      throws gov.nasa.pds.tools.LabelParserException,
                             IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testShortSeconds

public void testShortSeconds()
                      throws gov.nasa.pds.tools.LabelParserException,
                             IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testShortMinutes

public void testShortMinutes()
                      throws gov.nasa.pds.tools.LabelParserException,
                             IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testShortHours

public void testShortHours()
                    throws gov.nasa.pds.tools.LabelParserException,
                           IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testShortDays

public void testShortDays()
                   throws gov.nasa.pds.tools.LabelParserException,
                          IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testShortMonths

public void testShortMonths()
                     throws gov.nasa.pds.tools.LabelParserException,
                            IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testShortYear

public void testShortYear()
                   throws gov.nasa.pds.tools.LabelParserException,
                          IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testInvalidYear

public void testInvalidYear()
                     throws gov.nasa.pds.tools.LabelParserException,
                            IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException

testNumErrors

public void testNumErrors()
                   throws gov.nasa.pds.tools.LabelParserException,
                          IOException
Throws:
gov.nasa.pds.tools.LabelParserException
IOException


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