Package com.singularsys.jeptests.system
Class NullWrapTest
- java.lang.Object
-
- com.singularsys.jeptests.system.JepTest
-
- com.singularsys.jeptests.system.NullWrapTest
-
public class NullWrapTest extends JepTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.singularsys.jeptests.system.JepTest
JepTest.AddFractionsNary, JepTest.AddFractionsStack, JepTest.Diff, JepTest.MyNullary, JepTest.PiFun, JepTest.Product, JepTest.Square
-
-
Field Summary
-
Fields inherited from class com.singularsys.jeptests.system.JepTest
jep, myFalse, myTrue, PRINT_RESULTS
-
-
Constructor Summary
Constructors Constructor Description NullWrapTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
myAssertEquals(java.lang.String msg, java.lang.Object expected, java.lang.Object actual)
protected void
myAssertNull(java.lang.String msg, java.lang.Object actual)
void
setUp()
Sets up the parser.void
testBitwise()
void
testCaseNull()
void
testErrorMessages()
void
testIncrement()
void
testIsNull()
void
testListFunctions()
void
testListNull()
void
testNull()
void
testNullLogical()
void
testNullSafeEquals()
void
testNullWrap()
void
testNullWrapBigDec()
void
testNullWrapMin()
void
testOpEquals()
void
testSetAllowUndeclared()
Overridden as undeclared variable indistinguishable from null.void
testTernary()
-
Methods inherited from class com.singularsys.jeptests.system.JepTest
assertEqNodes, buildMatrix, buildVector, calcValue, calcValue, checkVector, compareRecursive, complexValueTest, myAssertNaN, negativeZero, nodeTest, nodeTest, nodeTest, nodeTest, printTestHeader, setShiftZeroElePfmc, test_not_X_Y, testAssign, testBinom, testBlankParser, testCaseString, testChangeVariable, testChangeVariableComplex, testComments, testComplex, testComplexListAccess, testEleUnit, testEmptyEqn, testEmptyEqn2, testEvalExceptions, testEvaluate, testEvaluateComplex, testEvaluateString, testExpectedTokenSequence, testFormat, testFunction, testIf, testImplicitMul, testLazyLogical, testLazyLogical2, testLazyLogicalBug, testListAccess, testListAccessShiftZero, testListExtra, testLogarithm, testLogical, testMacroFunction, testMultiDimArray, testMultiDimArrayShiftZero, testMultiLine, testMultiplyBug, testNaN, testNoAssign, testNumberAsBooleanLogical, testNumbers, testNumParam, testParseException, testPlusPlus, testRecursiveMacroFunction, testSemiColon, testSimpleSum, testSpecialFunctions, testSpecialFunctions, testStrings, testStringsFun, testSwitch, testUminusPower, testX2Y, valueTest, valueTest, valueTestFail, valueTestNaN, valueTestNull, valueTestString
-
-
-
-
Method Detail
-
myAssertNull
protected void myAssertNull(java.lang.String msg, java.lang.Object actual)
- Overrides:
myAssertNull
in classJepTest
-
myAssertEquals
protected void myAssertEquals(java.lang.String msg, java.lang.Object expected, java.lang.Object actual)
- Overrides:
myAssertEquals
in classJepTest
-
testNullWrap
public void testNullWrap() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNullLogical
public void testNullLogical() throws JepException
- Throws:
JepException
-
testNullSafeEquals
public void testNullSafeEquals() throws JepException
- Throws:
JepException
-
testSetAllowUndeclared
public void testSetAllowUndeclared() throws java.lang.Exception
Overridden as undeclared variable indistinguishable from null. Does nothing.- Overrides:
testSetAllowUndeclared
in classJepTest
- Throws:
java.lang.Exception
-
testNull
public void testNull() throws java.lang.Exception
-
testIsNull
public void testIsNull() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testListNull
public void testListNull() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testListFunctions
public void testListFunctions() throws java.lang.Exception
- Overrides:
testListFunctions
in classJepTest
- Throws:
java.lang.Exception
-
testCaseNull
public void testCaseNull() throws java.lang.Exception
- Overrides:
testCaseNull
in classJepTest
- Throws:
java.lang.Exception
-
testBitwise
public void testBitwise() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTernary
public void testTernary() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIncrement
public void testIncrement() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testOpEquals
public void testOpEquals() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testErrorMessages
public void testErrorMessages() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNullWrapBigDec
public void testNullWrapBigDec() throws JepException
- Throws:
JepException
-
testNullWrapMin
public void testNullWrapMin() throws JepException
- Throws:
JepException
-
-