Apache Commons logo Apache Commons JEXL

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
405 0 0 0 100% 9.601

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
org.apache.commons.jexl3.examples 2 0 0 0 100% 0.005
org.apache.commons.jexl3 367 0 0 0 100% 9.267
org.apache.commons.jexl3.junit 2 0 0 0 100% 0.005
org.apache.commons.jexl3.parser 3 0 0 0 100% 0
org.apache.commons.jexl3.introspection 10 0 0 0 100% 0.019
org.apache.commons.jexl3.internal.introspection 10 0 0 0 100% 0.281
org.apache.commons.jexl3.internal 1 0 0 0 100% 0.002
org.apache.commons.jexl3.scripting 10 0 0 0 100% 0.022

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

org.apache.commons.jexl3.examples

Class Tests Errors Failures Skipped Success Rate Time
ArrayTest 1 0 0 0 100% 0.003
MethodPropertyTest 1 0 0 0 100% 0.002

org.apache.commons.jexl3

Class Tests Errors Failures Skipped Success Rate Time
LambdaTest 14 0 0 0 100% 0.055
ScriptCallableTest 9 0 0 0 100% 1.814
ContextNamespaceTest 1 0 0 0 100% 0.001
ForEachTest 15 0 0 0 100% 0.009
ArrayLiteralTest 11 0 0 0 100% 0.013
ArrayAccessTest 2 0 0 0 100% 0.009
PragmaTest 1 0 0 0 100% 0
ArithmeticOperatorTest 10 0 0 0 100% 0.037
JexlTest 37 0 0 0 100% 0.058
VarTest 11 0 0 0 100% 0.016
IfTest 11 0 0 0 100% 0.006
RangeTest 7 0 0 0 100% 0.013
IssuesTest 43 0 0 0 100% 0.042
BlockTest 6 0 0 0 100% 0
SideEffectTest 8 0 0 0 100% 0.029
MapLiteralTest 10 0 0 0 100% 0.01
ScriptTest 4 0 0 0 100% 0.012
SetLiteralTest 9 0 0 0 100% 0.008
CacheTest 12 0 0 0 100% 3.395
BitwiseOperatorTest 23 0 0 0 100% 0.01
ExceptionTest 4 0 0 0 100% 0.002
JXLTTest 38 0 0 0 100% 0.165
ParseFailuresTest 5 0 0 0 100% 0.003
PublicFieldsTest 6 0 0 0 100% 0.015
ArithmeticTest 35 0 0 0 100% 0.165
PropertyAccessTest 3 0 0 0 100% 0.007
AssignTest 8 0 0 0 100% 0.008
StrategyTest 4 0 0 0 100% 0.02
WhileTest 3 0 0 0 100% 0.005
MethodTest 14 0 0 0 100% 0.029
ClassCreatorTest 3 0 0 0 100% 3.311

org.apache.commons.jexl3.junit

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

org.apache.commons.jexl3.parser

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

org.apache.commons.jexl3.introspection

Class Tests Errors Failures Skipped Success Rate Time
SandboxTest 10 0 0 0 100% 0.019

org.apache.commons.jexl3.internal.introspection

Class Tests Errors Failures Skipped Success Rate Time
MethodKeyTest 6 0 0 0 100% 0.273
DiscoveryTest 4 0 0 0 100% 0.008

org.apache.commons.jexl3.internal

Class Tests Errors Failures Skipped Success Rate Time
RangeTest 1 0 0 0 100% 0.002

org.apache.commons.jexl3.scripting

Class Tests Errors Failures Skipped Success Rate Time
JexlScriptEngineTest 7 0 0 0 100% 0.018
JexlScriptEngineOptionalTest 3 0 0 0 100% 0.004

Test Cases

[Summary] [Package List] [Test Cases]

LambdaTest

testScriptContext 0.028
testLambdaClosure 0.006
testLambdaLambda 0.003
testRecurse2 0.003
testRecurse3 0.002
testIdentity 0.002
testRecurse 0.002
testHoistLambada 0.002
testNestLambada 0.002
testCurry1 0.002
testCurry2 0.001
testCurry3 0
testLambda 0.001
testNestLambda 0.001

ParserTest

testErrorAmbiguous 0
testParse 0
testErrorAssign 0

ScriptCallableTest

testCancelWaitInterrupt 0.105
testCancelForever 0.101
testWait 1.002
testCancelLoopWait 0.101
testCallable 0.101
testCallableClosure 0.101
testCancelWait 0.101
testFuture 0.201
testNoWait 0.001

ContextNamespaceTest

testThreadedContext 0.001

ForEachTest

testForEachWithIterator 0.001
testForEachWithArray 0
testForEachWithBlock 0.001
testForEachWithCollection 0
testForEachWithEnumeration 0
testForEachBreakBroken 0
testForEachWithProperty 0
testForEachBreakMethod 0
testForEachWithIteratorMethod 0
testForEachWithEmptyStatement 0.001
testForEachContinueBroken 0
testForEachWithListExpression 0.003
testForEachWithEmptyList 0.001
testForEachContinueMethod 0.001
testForEachWithMap 0.001

ArrayLiteralTest

testLiteralWithIntegers 0.001
testLiteralWithNumbers 0.001
testLiteralWithStrings 0.001
testLiteralWithElipsis 0.001
notestCallingMethodsOnNewMapLiteral 0.002
testLiteralWithNulls 0.003
testChangeThroughVariables 0.001
testLiteralWithOneEntry 0.001
testNotEmptySimpleArrayLiteral 0
testSizeOfSimpleArrayLiteral 0.001
testEmptyArrayLiteral 0.001

ArrayAccessTest

testDoubleMaps 0.004
testDoubleArrays 0.005

PragmaTest

testPragmas 0

ArithmeticOperatorTest

testMatch 0.006
testDateArithmetic 0.004
testNotStartsEndsWith 0.004
testStartsEndsWithString 0
testStartsEndsWith 0.003
testInterval 0.002
testRegexp 0.005
testFormatArithmeticJxlt 0.009
testNotStartsEndsWithString 0.001
testFormatArithmetic 0.003

JexlTest

testCharAtBug 0.002
testAntPropertiesWithMethods 0.001
testEmptyDottedVariableName 0.001
testConditions 0.006
testStringQuoting 0.001
testBlankStrings 0.001
testBadParse 0
testBooleanShortCircuitAnd 0.001
testNew 0.001
testStringLiterals 0.001
testNegativeIntComparison 0.001
testArray 0.001
testEmpty 0.003
testDuck 0.002
testNull 0.002
testSize 0.001
testVariableNames 0
testComparisons 0.002
testToString 0
testSizeAsProperty 0.001
testIntProperty 0.001
testBoolean 0.002
testProperty 0.001
testUnicodeSupport 0.002
testEmptySubListOfMap 0
testNotConditions 0.003
testLogicExpressions 0.002
testStringConcatenation 0
testAssignment 0.001
testCoercionWithComparisionOperators 0.004
testStringLit 0.001
testComment 0
testNotConditionsWithDots 0.001
testMapDot 0
testBooleanShortCircuitOr 0.001
testExpression 0.01
testCalculations 0.001

VarTest

testLocalFor 0.001
testMix 0.001
testRefs 0.006
testLocalForFunc 0.001
testSyntacticVariations 0.001
testObjectContext 0.002
testLiteral 0.002
testLocalBasic 0
testLocalForFuncReturn 0.001
testLocalSimple 0
testStrict 0.001

IfTest

testSimpleElse 0.001
testIfWithArithmeticExpression 0.001
testTernary 0.001
testIfWithSimpleExpression 0
testSimpleIfTrue 0
testBlockIfTrue 0
testTernaryShorthand 0.001
testSimpleIfFalse 0
testIfWithAssignment 0.001
testBlockElse 0.001
testIfWithDecimalArithmeticExpression 0

RangeTest

testLongContains 0.004
testLongSum 0.001
testIntegerRange 0.003
testIntegerContains 0.001
testLongRange 0.003
testIntegerRangeOne 0
testIntegerSum 0.001

RangeTest

testRanges 0.002

IssuesTest

test100 0.001
test105 0.001
test106 0
test107 0.005
test108 0.001
test109 0
test110 0.001
test111 0.001
test112 0
test117 0.001
test125 0.001
test135 0.002
test136 0.001
test143 0.001
test144 0
test155 0
test179 0.003
test5115a 0
test5115b 0
test5115c 0.002
test130a 0
test130b 0
test144a 0.002
test147b 0.002
test147c 0.001
test148a 0.001
test11 0
test40 0.001
test42 0
test44 0.001
test47 0
test48 0.001
test49 0.001
test62 0
test73 0
test87 0.001
test90 0.003
test97 0.001
test98 0.001
testQuestion42 0.003
test52base 0.001
testScaleIssue 0.001
testRichContext 0

BlockTest

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

SideEffectTest

testSideEffectBean 0.005
testSideEffectAntishArray 0.004
testSideEffectArray 0.003
testSideEffectBeanContainer 0.005
testArithmeticSelf 0.006
testArithmeticSelfNoCache 0.002
testSideEffectVar 0.003
testOverrideGetSet 0.001

ArrayTest

testExample 0.003

MapLiteralTest

testLiteralWithNumbers 0.004
testMapMapLiteral 0.001
testNotEmptySimpleMapLiteral 0.001
testLiteralWithStrings 0
testMapArrayLiteral 0.001
testLiteralWithMultipleEntries 0.001
testSizeOfSimpleMapLiteral 0.001
testCallingMethodsOnNewMapLiteral 0
testVariableMap 0.001
testEmptyMap 0

ScriptTest

testScriptFromFile 0.009
testSimpleScript 0.001
testScriptFromURL 0.001
testScriptUpdatesContext 0.001

SetLiteralTest

testSizeOfSimpleSetLiteral 0.001
testSetLiteralWithNumbers 0.001
testSetLiteralWithStrings 0
testLiteralWithOneEntry 0.001
testSetLiteralWithOneEntryBlock 0.001
testSetLiteralWithOneEntryScript 0
testSetLiteralWithNulls 0.003
testNotEmptySimpleSetLiteral 0
testSetLiteralWithStringsScript 0.001

CacheTest

testAssignNoCache 0.436
testComputeNoCache 0.779
testAssignListNoCache 0.23
testAssignBooleanCache 0.218
testNullAssignNoCache 0.223
testComputeCache 0.537
testAssignListCache 0.207
testCOMPUTENoCache 0.119
testAssignCache 0.21
testCOMPUTECache 0.062
testAssignBooleanNoCache 0.212
testNullAssignCache 0.162

JexlScriptEngineTest

testScriptEngineFactory 0
testNulls 0.001
testDottedNames 0.004
testDirectNew 0.001
testScriptingGetBy 0.001
testScripting 0.01
testScopes 0.001

MethodKeyTest

testPerfKey 0.064
testObjectKey 0.038
testStringKey 0.046
testPerfString 0.048
testPerfKey2 0.034
testPerfStringKey2 0.043

SandboxTest

testGetBlack 0.007
testMethodBlack 0.001
testGetWhite 0.001
testMethodWhite 0
testRestrict 0.004
testCtorBlack 0.001
testCtorWhite 0.001
testMethodNoJexl 0.002
testSetBlack 0.001
testSetWhite 0.001

BitwiseOperatorTest

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

ExceptionTest

testExVar 0.001
testEx 0.001
testWrappedEx 0
testExMethod 0

JXLTTest

testCharAtBug 0.013
testBadContextNested 0.003
testInterpolation 0.003
testTemplate0 0.013
testTemplate1 0.003
testTemplate2 0.002
testOneLiner 0.002
testInterpolationGlobal 0.002
testInterpolationLocal 0.003
testInterpolationLvsG2 0.003
testMalformed 0.002
testStatement 0.003
testEscapeString 0.002
testMalformedNested2 0.003
testPrepareTemplate 0.004
testNestedTemplate 0.004
test42 0.005
testComposite 0.003
testConstant 0.003
testConstant2 0.004
testConstant3 0.003
testConstant4 0.004
testPrepareEvaluate 0.004
testTemplate10 0.004
testMalformedNested 0.004
testOneLinerVar 0.004
testReport1 0.004
testReport2 0.005
testInterpolationLvsG 0.004
testAssign 0.005
testEscape 0.004
testDeferred 0.005
testNested 0.005
testReport 0.006
testImmediate 0.005
testWriter 0.008
testInterpolationParameter 0.006
testNonEscapeString 0.005

ParseFailuresTest

testMalformedScript1 0.001
testMalformedScript2 0
testMalformedScript3 0.001
testMalformedExpression1 0.001
testMalformedExpression2 0

PublicFieldsTest

testSetInnerDouble 0.005
testSetString 0.002
testGetInt 0.002
testGetInnerDouble 0.002
testGetString 0.002
testSetInt 0.002

AsserterTest

testThis 0.003
testVariable 0.002

DiscoveryTest

testDuckIntrospection 0.001
testBeanIntrospection 0.001
testMapIntrospection 0
testListIntrospection 0.006

ArithmeticTest

testJexl173 0.002
testBigLiteralValue 0.002
testEmptyFloat 0.004
testDivideByZero 0.059
testNaN 0.008
testArithmeticPlusNoCache 0.012
testXmlArithmetic 0.022
testCoerceDouble 0.001
testBigDecimal 0.002
testCoerceInteger 0.001
testAddWithStringsLenient 0.002
testEmpty 0.005
testRightNullOperand 0.004
testBigInteger 0.001
testCoerceLong 0.001
testEmptyLong 0.003
testMultClass 0
testUnaryMinus 0.002
testNullOperand 0.001
testIsFloatingPointPattern 0
testLeftNullOperand 0.002
testLongLiterals 0
testEmptyDouble 0.001
testBigLiterals 0.001
testInfiniteArithmetic 0.003
testBigExponentLiterals 0
testNullOperands 0.003
testAddWithStringsStrict 0.001
testArithmeticPlus 0.009
testCoercions 0.004
testBigdOp 0.001
testCoerceBigDecimal 0.001
testCoerceBigInteger 0.001
testCalculations 0.006
testUndefinedVar 0

PropertyAccessTest

testStringIdentifier 0
testPropertyProperty 0.003
testInnerProperty 0.004

AssignTest

testArray 0.001
testMini 0.001
testMore 0.002
testUtil 0.001
testBeanish 0
testRejectLocal 0.001
testAntish 0.001
testAntishInteger 0.001

StrategyTest

testRawResolvers 0.003
testJexlStrategy 0.005
testMapStrategy 0.006
testMyMapStrategy 0.006

WhileTest

testWhileWithBlock 0.003
testWhileExecutesExpressionWhenLooping 0.001
testSimpleWhileFalse 0.001

MethodTest

testStaticMethodInvocationOnClasses 0.002
testScriptCall 0.003
testStringMethods 0.002
testMulti 0.001
testCallJexlVarArgMethod 0.003
testStaticMethodInvocation 0
testNamespaceCallEdge 0.007
testCallMixedVarArgMethod 0.002
testFizzCall 0.001
testTopLevelCall 0.003
testInvoke 0.001
testMethod 0
testNamespaceCall 0.002
testCallVarArgMethod 0.002

ClassCreatorTest

testOne 0.387
testMany 2.924
testBasicCtor 0

MethodPropertyTest

testExample 0.002

JexlScriptEngineOptionalTest

testCompilable 0.001
testError 0.002
testOutput 0.001