Package gov.nasa.pds.tools.dict.type
Class RealCheckerTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- gov.nasa.pds.tools.BaseTestCase
-
- gov.nasa.pds.tools.dict.type.RealCheckerTest
-
- All Implemented Interfaces:
junit.framework.Test
public class RealCheckerTest 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 RealCheckerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testASCII_REAL_REGEX()
void
testBadReal()
void
testExceedsMax()
void
testLessThanMin()
void
testNumErrors()
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
-
testBadReal
public void testBadReal() 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
-
testLessThanMin
public void testLessThanMin() 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
-
testASCII_REAL_REGEX
public void testASCII_REAL_REGEX()
-
-