Summary

Tests Errors Failures Skipped Success Rate Time
123 0 0 0 100% 1.032

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

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.jexl.parser 2 0 0 0 100% 0
org.apache.commons.jexl 119 0 0 0 100% 1.016
org.apache.commons.jexl.junit 2 0 0 0 100% 0.016

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

org.apache.commons.jexl.parser

Class Tests Errors Failures Skipped Success Rate Time
ParserTest 2 0 0 0 100% 0

org.apache.commons.jexl

Class Tests Errors Failures Skipped Success Rate Time
ArrayLiteralTest 4 0 0 0 100% 0.016
BitwiseOperatorTest 22 0 0 0 100% 0.047
BlockTest 6 0 0 0 100% 0.016
ForEachTest 10 0 0 0 100% 0.078
IfTest 9 0 0 0 100% 0.219
JexlTest 43 0 0 0 100% 0.484
MapLiteralTest 6 0 0 0 100% 0.062
ParseFailuresTest 5 0 0 0 100% 0.016
ScriptFactoryTest 7 0 0 0 100% 0.016
ScriptTest 4 0 0 0 100% 0.047
WhileTest 3 0 0 0 100% 0.015

org.apache.commons.jexl.junit

Class Tests Errors Failures Skipped Success Rate Time
AsserterTest 2 0 0 0 100% 0.016

Test Cases

ArrayLiteralTest

testLiteralWithStrings 0
testLiteralWithNumbers 0
testSizeOfSimpleArrayLiteral 0
testNotEmptySimpleMapLiteral 0.016

BitwiseOperatorTest

testAndWithTwoNulls 0
testAndWithLeftNull 0
testAndWithRightNull 0
testAndSimple 0
testAndVariableNumberCoercion 0
testAndVariableStringCoercion 0
testComplementWithNull 0
testComplementSimple 0.016
testComplementVariableNumberCoercion 0
testComplementVariableStringCoercion 0
testOrWithTwoNulls 0
testOrWithLeftNull 0
testOrWithRightNull 0
testOrSimple 0
testOrVariableNumberCoercion 0
testOrVariableStringCoercion 0
testXorWithTwoNulls 0.015
testXorWithLeftNull 0
testXorWithRightNull 0
testXorSimple 0
testXorVariableNumberCoercion 0
testXorVariableStringCoercion 0

BlockTest

testBlockSimple 0
testBlockExecutesAll 0
testEmptyBlock 0
testBlockLastExecuted01 0.016
testBlockLastExecuted02 0
testNestedBlock 0

ForEachTest

testForEachWithEmptyStatement 0.016
testForEachWithEmptyList 0
testForEachWithArray 0
testForEachWithCollection 0.031
testForEachWithEnumeration 0.016
testForEachWithIterator 0
testForEachWithMap 0
testForEachWithBlock 0
testForEachWithListExpression 0
testForEachWithProperty 0.015

IfTest

testSimpleIfTrue 0.156
testSimpleIfFalse 0
testSimpleElse 0
testBlockIfTrue 0
testBlockElse 0.015
testIfWithSimpleExpression 0
testIfWithArithmeticExpression 0.016
testIfWithDecimalArithmeticExpression 0
testIfWithAssignment 0

JexlTest

testProperty 0
testMethod 0
testArrayAccess 0.093
testMulti 0
testBoolean 0.016
testStringLit 0
testExpression 0.063
testEmpty 0.015
testSize 0.047
testSizeAsProperty 0
testStringMethods 0.016
testUnaryMinus 0.015
testCalculations 0.032
testConditions 0.015
testNotConditions 0.016
testNotConditionsWithDots 0.015
testComparisons 0
testNull 0
testBlankStrings 0
testLogicExpressions 0.032
testDoubleArrays 0
testVariableNames 0
testMapDot 0
testStringLiterals 0
testIntProperty 0.015
testNegativeIntComparison 0
testArrayProperty 0
testCharAtBug 0
testEmptyDottedVariableName 0
testEmptySubListOfMap 0
testCoercionWithComparisionOperators 0.016
testResolver 0
testBooleanShortCircuitAnd 0
testBooleanShortCircuitOr 0
testStringConcatenation 0.016
testStaticMethodInvocation 0
testStaticMethodInvocationOnClasses 0.015
testToString 0
testBadParse 0
testComment 0.016
testAssignment 0
testAntPropertiesWithMethods 0
testUnicodeSupport 0.015

AsserterTest

testThis 0.016
testVariable 0

MapLiteralTest

testLiteralWithStrings 0
testLiteralWithNumbers 0
testNotEmptySimpleMapLiteral 0.016
testLiteralWithMultipleEntries 0
testSizeOfSimpleMapLiteral 0
testCallingMethodsOnNewMapLiteral 0.031

ParseFailuresTest

testMalformedExpression1 0
testMalformedExpression2 0.016
testMalformedScript1 0
testMalformedScript2 0
testMalformedScript3 0

ParserTest

testParse1 0
testParse2 0

ScriptFactoryTest

testCreateFromString 0
testCreateFromSimpleString 0
testCreateFromNullString 0
testCreateFromFile 0.016
testCreateFromNullFile 0
testCreateFromURL 0
testCreateFromNullURL 0

ScriptTest

testSimpleScript 0
testScriptFromFile 0.032
testScriptFromURL 0.015
testScriptUpdatesContext 0

WhileTest

testSimpleWhileFalse 0
testWhileExecutesExpressionWhenLooping 0
testWhileWithBlock 0