Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
510 0 0 0 100% 9.54

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
net.objecthunter.exp4j.shuntingyard 54 0 0 0 100% 0.24
net.objecthunter.exp4j.tokenizer 29 0 0 0 100% 0.007
net.objecthunter.exp4j 427 0 0 0 100% 9.293

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

net.objecthunter.exp4j.shuntingyard

Class Tests Errors Failures Skipped Success Rate Time
ShuntingYardTest 11 0 0 0 100% 0.019
TokenStackTest 12 0 0 0 100% 0.006
SimplifierTest 31 0 0 0 100% 0.215

net.objecthunter.exp4j.tokenizer

Class Tests Errors Failures Skipped Success Rate Time
TokenizerTest 22 0 0 0 100% 0.007
TokenizerUnknownTokenOrVariableTest 7 0 0 0 100% 0

net.objecthunter.exp4j

Class Tests Errors Failures Skipped Success Rate Time
ExpressionBuilderTest 234 0 0 0 100% 0.152
FunctionsMiscTest 10 0 0 0 100% 0.004
ExpressionTest 17 0 0 0 100% 0.009
SanityFunctionCallingTest 5 0 0 0 100% 0.029
FunctionBooleanTest 52 0 0 0 100% 0.019
OperatorsComparisonTest 32 0 0 0 100% 0.007
PerformanceTest 1 0 0 0 100% 8.872
SerializationTest 8 0 0 0 100% 0.161
ArrayStackTest 12 0 0 0 100% 0.002
DisableBuiltInTest 7 0 0 0 100% 0
ExpressionValidateTest 25 0 0 0 100% 0.01
FunctionsTest 11 0 0 0 100% 0.026
OperatorBooleanTest 13 0 0 0 100% 0.002

Test Cases

[Summary] [Package List] [Test Cases]

ShuntingYardTest

testShuntingYard1 0
testShuntingYard2 0
testShuntingYard3 0
testShuntingYard4 0
testShuntingYard5 0
testShuntingYard6 0.011
testShuntingYard7 0.005
testShuntingYard8 0
testShuntingYard9 0.002
testIssue88_2 0.001
testIssue88 0

TokenStackTest

testPop 0
testPeek2 0
testPeek 0
testPop2 0.003
testPop3 0
testSize 0.003
testPopNoData 0
testPeekNoData 0
testPushLessSize 0
testPushNoSize 0
testIsEmpty 0
testConstructor 0

ExpressionBuilderTest

testExpressionBuilder01 0
testExpressionBuilder02 0.001
testExpressionBuilder03 0
testExpressionBuilder04 0.001
testExpressionBuilder05 0.001
testExpressionBuilder06 0
testExpressionBuilder07 0
testExpressionBuilder08 0
testExpressionBuilder10 0
testExpressionBuilder11 0
testExpressionBuilder12 0
testExpressionBuilder13 0
testExpressionBuilder14 0
testExpressionBuilder15 0
testExpressionBuilder16 0
testExpressionBuilder17 0
testExpressionBuilder18 0
testExpressionBuilder19 0
testExpression10 0
testExpression11 0.001
testExpression12 0
testExpression13 0
testExpression14 0.001
testExpression15 0.002
testExpression16 0.004
testExpression17 0
testExpression18 0.001
testExpression19 0
testExpression20 0
testExpression21 0
testExpression22 0.001
testExpression23 0
testExpression24 0.001
testExpression25 0.002
testExpression26 0
testExpression27 0
testExpression28 0
testExpression29 0
testExpression30 0
testExpression31 0.001
testExpression32 0.001
testExpression33 0.001
testExpression34 0
testExpression40 0
testExpression41 0.001
testExpression42 0
testExpression43 0
testExpression44 0
testExpression45 0
testExpression46 0
testExpression48 0
testExpression49 0
testExpression50 0
testExpression51 0.001
testExpression52 0
testExpression53 0.001
testExpression54 0
testExpression55 0.003
testExpression56 0
testExpression57 0
testExpression58 0
testExpression59 0
testExpression60 0
testExpression61 0
testExpression62 0.006
testExpression63 0
testExpression64 0.007
testExpression65 0.001
testExpression66 0
testExpression67 0
testExpression68 0.003
testExpression69 0
testExpression70 0.001
testExpression71 0
testExpression72 0
testExpression73 0.001
testExpression74 0
testExpression75 0
testExpression76 0
testExpression77 0
testExpression78 0
testExpression79 0
testExpression80 0
testExpression81 0
testExpression82 0
testExpression83 0
testExpression84 0
testExpression85 0
testOperatorFactorial 0
testDocumentationExample10 0.002
testDocumentationExample11 0.001
testDocumentationExample12 0
testInvalidFunction1 0.003
testInvalidFunction2 0.002
testPostfixExponentation1 0.001
testPostfixExponentation2 0
testPostfixExponentation3 0
testPostfixExponentation4 0
testTwoAdjacentOperators 0.001
testSameName 0.001
testFunctionsArray 0.005
testUnicodeVariable1 0.002
testUnicodeVariable2 0
testUnicodeVariable3 0
testUnicodeVariable4 0.003
testOperatorFactorial10 0
testOperatorFactorial11 0.001
testOperatorFactorial12 0
testInvalidVarname 0.002
testSecondArgumentNegative 0
testMisplacedSeparator 0
testSpaceBetweenNumbers 0
testPostfixFunction10 0.002
testPostfixFunction11 0.002
testPostfixFunction12 0.003
testPostfixFunction13 0.001
testPostfixFunction14 0
testPostfixFunction15 0.001
testPostfixFunction16 0.001
testPostfixFunction17 0
testPostfixFunction18 0.001
testPostfixFunction19 0.001
testPostfixFunction20 0.001
testPostfixFunction21 0.001
testOperatorsList 0.005
testToString 0.001
testExpressionBuilder1 0
testExpressionBuilder2 0
testExpressionBuilder3 0
testExpressionBuilder4 0
testExpressionBuilder5 0.001
testExpressionBuilder6 0
testExpressionBuilder7 0
testExpressionBuilder8 0.003
testExpressionBuilder9 0
testMissingVar 0
testPostfixEverything 0
testFactorialIssue75 0
testFunction10 0
testFunction11 0
testFunction12 0.004
testFunction13 0
testFunction14 0
testFunction15 0
testFunction16 0
testFunction17 0
testFunction18 0
testFunction19 0.002
testFunction20 0
testFunction22 0
testFunction23 0
testFunction24 0.002
testOperators1 0
testOperators2 0
testOperators3 0
testOperators4 0.001
testEmptyExpression 0
testSameVariableAndUserFunctionName 0.004
testFailUnknownFunction1 0
testFailUnknownFunction2 0
testFailUnknownFunction3 0
testUnaryMinusPowerPrecedence 0.001
testVarname1 0
testExpression1 0.001
testExpression2 0.003
testExpression3 0
testExpression4 0
testExpression5 0
testExpression6 0
testExpression7 0
testExpression8 0
testExpression9 0
testSameVariableAndBuiltinFunctionName 0
testFunctionsList 0.004
testUnaryMinus 0
testGetVariableNames1 0.002
testGetVariableNames2 0
testInvalidOperator1 0
testEmptyExpression2 0
testInvalidFunction 0
testUnaryMinusInParenthesisSpace 0
testPostfixFunction1 0
testPostfixFunction2 0.001
testPostfixFunction3 0
testPostfixFunction5 0
testPostfixFunction6 0
testPostfixFunction7 0
testPostfixFunction8 0
testPostfixFunction9 0.001
testPostfixVariables 0
testPostfixParanthesis 0.001
testInvalidNumberofArguments1 0
testInvalidNumberofArguments2 0.002
testDocumentationExample1 0
testDocumentationExample2 0.01
testDocumentationExample3 0
testDocumentationExample5 0
testDocumentationExample6 0.001
testDocumentationExample7 0.001
testDocumentationExample8 0
testDocumentationExample9 0
testFunction1 0.001
testFunction2 0
testFunction3 0.001
testFunction4 0
testFunction5 0
testFunction6 0.005
testFunction7 0.001
testExpressionMultiplication 0
testUnaryMinusSpace 0
testModulo1 0
testIssue79_2 0
testIssue79_3 0
testPostfixInvalidVariableName 0
testOperatorFactorial2 0
testOperatorFactorial3 0
testOperatorFactorial4 0
testOperatorFactorial5 0
testOperatorFactorial6 0.001
testOperatorFactorial7 0
testOperatorFactorial8 0.001
testOperatorFactorial9 0
testPostfix1 0
testOperatorsArrayEmpty 0
testUnaryMinusSpace1 0.001
testUnaryMinusSpaces 0
testIssue79 0
testSignum 0
testVarMap 0.002
testFunctionsArrayEmpty 0
testValidationDocExample 0
testExpressionPower 0
testOperatorsArray 0.006
testVariableWithDot 0

FunctionsMiscTest

testGetFunctionNonExistent 0.001
testSinc 0
testFuncIf1 0.001
testFuncIf2 0
testFuncIf3 0
testOpEqual2 0
testOpEqual3 0
testOpEqual4 0.001
testOpEqual5 0
testGetFunctionNull 0.001

TokenizerTest

testTokenization10 0.003
testTokenization11 0
testTokenization12 0
testTokenization13 0.001
testTokenization14 0
testTokenization15 0
testTokenization16 0
testTokenization17 0
testTokenization18 0.002
testTokenization19 0
testTokenization20 0
testTokenization21 0
testTokenization22 0
testTokenization1 0
testTokenization2 0
testTokenization3 0
testTokenization4 0
testTokenization5 0
testTokenization6 0
testTokenization7 0.001
testTokenization8 0
testTokenization9 0

ExpressionTest

testToStringNoValues 0.003
testCheckVariable 0
testCopy1 0
testCopy2 0.001
testCopy3 0.001
testCopy 0
testToString 0
testExpression1 0
testExpression2 0
testToTokenString 0
testGetVariableNames1 0
testToStringWithValues 0
testCheckVariable2 0.001
testEvaluateWrongArgsForOperator 0.001
testContainsVariable 0.002
testEvaluateWrongNumberOfArguments 0
testEvaluateWrongArgsForOperatorSimplify 0

SanityFunctionCallingTest

testOperatorsBuiltin 0.002
testFunctionsMisc 0
testFunctionsBoolean 0.025
testFunctionsBuiltin 0.001
testOperatorsComparison 0.001

SimplifierTest

testOptimization1 0.134
testOptimization2 0
testOptimization3 0.007
testOptimization4 0.003
testOptimization5 0.001
testOptimization6 0.001
testOptimization7 0.002
testOptimization8 0
testOptimization9 0.011
testValidation1 0.006
testValidation2 0
testOptimization10 0
testOptimization11 0
testOptimization12 0
testOptimization13 0.001
testOptimization14 0.001
testOptimization15 0.001
testOptimization16 0.001
testOptimization17 0.017
testOptimization18 0.011
testOptimization19 0.005
testOptimization20 0.002
testPerformanceTestExpression 0.003
testSimplifierFlag 0.001
testResult1 0.001
testResult2 0.001
testResult3 0.001
testResult4 0.001
testResult5 0.002
testDeterministic1 0
testDeterministic2 0.001

FunctionBooleanTest

testGetFunctionNonExistent 0
testSanityOr 0.001
testOr1 0
testOr2 0.001
testOr3 0.001
testOr4 0
testOr5 0
testOr6 0
testNand1 0
testNand2 0
testNand3 0
testNand4 0.001
testNand5 0
testNand6 0.001
testXnor1 0
testXnor2 0
testXnor3 0
testXnor4 0.002
testXnor5 0
testXnor6 0
testAnd1 0.001
testAnd2 0
testAnd3 0
testAnd4 0
testAnd5 0.001
testAnd6 0
testDeMorgan1 0
testDeMorgan2 0.001
testDeMorgan3 0
testNor1 0
testNor2 0.003
testNor3 0
testNor4 0
testNor5 0
testNor6 0.001
testNot1 0.001
testNot2 0
testNot3 0
testNot4 0.001
testNot5 0
testNot6 0
testNot7 0
testXor1 0
testXor2 0
testXor3 0
testXor4 0
testXor5 0.001
testXor6 0
testSanityAnd1 0
testGetFunctionNull 0.001
testOpNot4 0
testOpNot5 0.001

OperatorsComparisonTest

testOpGreaterThan1 0
testOpGreaterThan2 0.001
testOpGreaterThan3 0
testDocExample2 0
testDocExample 0
testOpLessThan1 0.001
testOpLessThan2 0
testOpLessThan3 0
testOpEqual2 0
testOpEqual3 0
testOpEqual4 0
testOpEqual5 0.001
testOpNotEqual1 0
testOpNotEqual2 0
testOpNotEqual3 0
testOpGreaterOrEqualThan1 0
testOpGreaterOrEqualThan2 0
testOpGreaterOrEqualThan3 0
testOpNotEqual 0
testPrecedence1 0.001
testPrecedence2 0
testPrecedence3 0
testPrecedence4 0
testSanityOpFunc1 0
testSanityOpFunc2 0.001
testSanityOpFunc3 0.002
testOpNotEqualThreshold1 0
testOpNotEqualThreshold2 0
testOperatorList 0
testOpLessOrEqualThan1 0
testOpLessOrEqualThan2 0
testOpLessOrEqualThan3 0

PerformanceTest

testBenches 8.872

SerializationTest

serialize1 0.138
serialize2 0.005
serialize3 0.002
serialize4 0.006
serialize5 0.001
serialize6 0.003
serialize7 0.004
serialize8 0.002

TokenizerUnknownTokenOrVariableTest

testTokenizationOfUnknownFunction2Details 0
testTokenizationOfUnknownVariable1Details 0
testTokenizationOfUnknownVariable2 0
testTokenizationOfUnknownFunction 0
testTokenizationOfUnknownVariable2Details 0
testTokenizationOfUnknownVariable 0
testTokenizationOfUnknownFunction1Details 0

ArrayStackTest

testPop 0
testPeek2 0.001
testPeek 0
testPop2 0
testPop3 0
testSize 0
testPopNoData 0
testPeekNoData 0
testPushLessSize 0
testPushNoSize 0
testIsEmpty 0
testConstructor 0.001

DisableBuiltInTest

testImplicitMulitplicationOnFunction 0
testImplicitMulitplicationOnParantheses2 0
testDisableBuiltInFunctions2 0
testImplicitMulitplicationOnParantheses 0
testDisableBuiltInFunctions 0
testImplicitMulitplicationOnVariable 0
testImplicitMulitplicationOnNumber 0

ExpressionValidateTest

testValidateFunctionWithTwoArguments 0.002
testNoArgFunctionValidation 0
testValidateFunctionWithThreeArguments 0
testValidateNumberPositive 0
testValidateFunctionWithSevenArguments 0
testValidateNumber 0
testValidateNumberNegative 0
testValidateFunctionWithTwoAndThreeArgumentsAndOperator 0.001
testValidateInvalidFunction 0
testValidateInvalidFunctionWithManyArguments 0.004
testValidateFunction 0
testValidateFunctionPositive 0
testValidateFunctionNegative 0
testValidateInvalidFunctionWithTooFewArgumentsAndOperands 0
testValidateFunctionWithTwoAndThreeArgumentsAndMultipleOperator 0
testValidateFunctionWithTwoArgumentsAndOperator 0
testValidateInvalidFunctionWithTooFewArguments 0
testValidateInvalidFunctionWithNoArguments 0
testValidateFunctionAndOperator 0
testValidateInvalidOperator 0
testValidateInvalidOperand 0
testValidateFunctionWithThreeArgumentsAndOperator 0
testValidateOperator 0
testValidateFunctionWithTwoAndThreeArguments 0.003
testValidateFunctionWithSevenArgumentsAndoperator 0

FunctionsTest

testFunctionNameZeroArgs 0
testGetFunctionNonExistent 0.001
testFunctionNameNull 0.004
testIllegalFunctionName1 0.005
testIllegalFunctionName2 0.004
testIllegalFunctionName3 0.003
testFunctionNameEmpty 0.002
testCheckFunctionNames 0
testGetFunctionNull 0.003
testFunctionNameNegativeArgs 0.004
testSignum 0

OperatorBooleanTest

testAnd 0
testDeMorgan1 0
testDeMorgan2 0
testOpPrecedence1 0
testOpPrecedence2 0
testOpPrecedence3 0
testOpPrecedence4 0
testOpPrecedence5 0.001
testOpPrecedence6 0
testOr 0.001
testOpNot1 0
testOpNot2 0
testOpNot3 0