gov.nasa.pds.tools.label.validate
Class ElementValidatorTest

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.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
ElementValidatorTest()
           
 
Method Summary
 void testCastError()
           
 void testInvalidValue()
           
 void testLongValue()
           
 void testManipulatedValue()
           
 void testMissingEquals()
           
 void testMissingKey()
           
 void testMissingValue()
           
 void testNoProbsPastEnd()
           
 void testNumericExceedsMax()
           
 void testNumericLessThanMin()
           
 void testSequence()
           
 void testSet()
           
 void testShortValue()
           
 void testSkipValue()
           
 void testTypeMismatch()
           
 void testUnitAllowed()
           
 void testUnknownDefinition()
           
 void testUnknownValue()
           
 void testUnknownValueWInclude()
           
 
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

ElementValidatorTest

public ElementValidatorTest()
Method Detail

testSet

public void testSet()
             throws LabelParserException,
                    IOException
Throws:
LabelParserException
IOException

testUnknownValue

public void testUnknownValue()
                      throws LabelParserException,
                             IOException
Throws:
LabelParserException
IOException

testUnknownValueWInclude

public void testUnknownValueWInclude()
                              throws LabelParserException,
                                     IOException
Throws:
LabelParserException
IOException

testInvalidValue

public void testInvalidValue()
                      throws LabelParserException,
                             IOException
Throws:
LabelParserException
IOException

testMissingValue

public void testMissingValue()
                      throws LabelParserException,
                             IOException
Throws:
LabelParserException
IOException

testSequence

public void testSequence()
                  throws LabelParserException,
                         IOException
Throws:
LabelParserException
IOException

testSkipValue

public void testSkipValue()
                   throws LabelParserException,
                          IOException
Throws:
LabelParserException
IOException

testUnitAllowed

public void testUnitAllowed()
                     throws LabelParserException,
                            IOException
Throws:
LabelParserException
IOException

testUnknownDefinition

public void testUnknownDefinition()
                           throws LabelParserException,
                                  IOException
Throws:
LabelParserException
IOException

testMissingKey

public void testMissingKey()
                    throws LabelParserException,
                           IOException
Throws:
LabelParserException
IOException

testNumericExceedsMax

public void testNumericExceedsMax()
                           throws LabelParserException,
                                  IOException
Throws:
LabelParserException
IOException

testNumericLessThanMin

public void testNumericLessThanMin()
                            throws LabelParserException,
                                   IOException
Throws:
LabelParserException
IOException

testShortValue

public void testShortValue()
                    throws LabelParserException,
                           IOException
Throws:
LabelParserException
IOException

testLongValue

public void testLongValue()
                   throws LabelParserException,
                          IOException
Throws:
LabelParserException
IOException

testCastError

public void testCastError()
                   throws LabelParserException,
                          IOException
Throws:
LabelParserException
IOException

testManipulatedValue

public void testManipulatedValue()
                          throws LabelParserException,
                                 IOException
Throws:
LabelParserException
IOException

testTypeMismatch

public void testTypeMismatch()
                      throws LabelParserException,
                             IOException
Throws:
LabelParserException
IOException

testNoProbsPastEnd

public void testNoProbsPastEnd()
                        throws LabelParserException,
                               IOException
Throws:
LabelParserException
IOException

testMissingEquals

public void testMissingEquals()
                       throws LabelParserException,
                              IOException
Throws:
LabelParserException
IOException


Copyright © 2005–2013 Planetary Data System. All rights reserved.