Package gov.nasa.pds.tools.dict.type
Class NonDecimalCheckerTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- gov.nasa.pds.tools.BaseTestCase
-
- gov.nasa.pds.tools.dict.type.NonDecimalCheckerTest
-
- All Implemented Interfaces:
junit.framework.Test
public class NonDecimalCheckerTest 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 NonDecimalCheckerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testBadChars()
void
testBadCharsLong()
void
testBadContents()
void
testBadRadix()
void
testExceedsMax()
void
testInvalidBase()
void
testLessThanMin()
void
testMismatch()
void
testNoBase()
void
testNoEnd()
void
testNoStart()
void
testNumErrors()
void
testSigned()
void
testTrailingDigit()
void
testValueWSpaces()
-
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
-
testMismatch
public void testMismatch() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testBadChars
public void testBadChars() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testBadCharsLong
public void testBadCharsLong() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testValueWSpaces
public void testValueWSpaces() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testNoBase
public void testNoBase() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testNoEnd
public void testNoEnd() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testNoStart
public void testNoStart() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testTrailingDigit
public void testTrailingDigit() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testBadRadix
public void testBadRadix() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testInvalidBase
public void testInvalidBase() throws gov.nasa.pds.tools.LabelParserException, IOException
- Throws:
gov.nasa.pds.tools.LabelParserException
IOException
-
testBadContents
public void testBadContents() 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
-
testSigned
public void testSigned() 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
-
-