Package gov.nasa.pds.tools.dict.type
Class DoubleCheckerTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- gov.nasa.pds.tools.BaseTestCase
-
- gov.nasa.pds.tools.dict.type.DoubleCheckerTest
-
- All Implemented Interfaces:
junit.framework.Test
public class DoubleCheckerTest extends BaseTestCase
- Version:
- $Revision$
- Author:
- pramirez, jagander
-
-
Field Summary
-
Fields inherited from class gov.nasa.pds.tools.BaseTestCase
LABEL_DIR, PARSER, RESOLVER, TEST_DIR
-
-
Constructor Summary
Constructors Constructor Description DoubleCheckerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testExceedsMax()
void
testInvalidValue()
void
testLessThanMin()
void
testLong()
void
testNumErrors()
void
testShort()
void
testTypeMismatch()
-
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
-
testTypeMismatch
public void testTypeMismatch() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testShort
public void testShort() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testLong
public void testLong() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testLessThanMin
public void testLessThanMin() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testExceedsMax
public void testExceedsMax() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testInvalidValue
public void testInvalidValue() 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
-
-