Package gov.nasa.pds.tools.label
Class DateTimeFormatterTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- gov.nasa.pds.tools.BaseTestCase
-
- 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
Constructors Constructor Description DateTimeFormatterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testDayOfYearOOR()
void
testDaysOOR()
void
testFractionalSecondsOOR()
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
testTooManyFractionalSeconds()
-
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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testFractionalSecondsOOR
public void testFractionalSecondsOOR() 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
-
testTooManyFractionalSeconds
public void testTooManyFractionalSeconds() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
-