Class ElementValidatorTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- gov.nasa.pds.tools.BaseTestCase
-
- gov.nasa.pds.tools.label.validate.ElementValidatorTest
-
- All Implemented Interfaces:
junit.framework.Test
public class ElementValidatorTest extends BaseTestCase
-
-
Field Summary
-
Fields inherited from class gov.nasa.pds.tools.BaseTestCase
LABEL_DIR, PARSER, RESOLVER, TEST_DIR
-
-
Constructor Summary
Constructors Constructor Description ElementValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestCastError()voidtestInvalidValue()voidtestLongValue()voidtestManipulatedValue()voidtestMissingEquals()voidtestMissingKey()voidtestMissingValue()voidtestNoProbsPastEnd()voidtestNumericExceedsMax()voidtestNumericLessThanMin()voidtestSequence()voidtestSet()voidtestShortValue()voidtestSkipValue()voidtestTypeMismatch()voidtestUnitAllowed()voidtestUnknownDefinition()voidtestUnknownValue()voidtestUnknownValueWInclude()-
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
-
testSet
public void testSet() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testUnknownValue
public void testUnknownValue() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testUnknownValueWInclude
public void testUnknownValueWInclude() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testInvalidValue
public void testInvalidValue() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testMissingValue
public void testMissingValue() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testSequence
public void testSequence() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testSkipValue
public void testSkipValue() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testUnitAllowed
public void testUnitAllowed() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testUnknownDefinition
public void testUnknownDefinition() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testMissingKey
public void testMissingKey() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testNumericExceedsMax
public void testNumericExceedsMax() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testNumericLessThanMin
public void testNumericLessThanMin() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testShortValue
public void testShortValue() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testLongValue
public void testLongValue() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testCastError
public void testCastError() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testManipulatedValue
public void testManipulatedValue() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testTypeMismatch
public void testTypeMismatch() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testNoProbsPastEnd
public void testNoProbsPastEnd() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
testMissingEquals
public void testMissingEquals() throws gov.nasa.pds.tools.LabelParserException, IOException- Throws:
gov.nasa.pds.tools.LabelParserExceptionIOException
-
-