Apache Commons logo Apache Commons JEXL

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
460 0 0 0 100% 59.341

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.parser 3 0 0 0 100% 0
org.apache.commons.jexl3.internal.introspection 10 0 0 0 100% 2.521
org.apache.commons.jexl3.examples 2 0 0 0 100% 0.03
org.apache.commons.jexl3.introspection 11 0 0 0 100% 0.355
org.apache.commons.jexl3.junit 2 0 0 0 100% 0
org.apache.commons.jexl3.scripting 10 0 0 0 100% 0.306
org.apache.commons.jexl3 421 0 0 0 100% 56.112
org.apache.commons.jexl3.internal 1 0 0 0 100% 0.017

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

org.apache.commons.jexl3.parser

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

org.apache.commons.jexl3.internal.introspection

Class Tests Errors Failures Skipped Success Rate Time
DiscoveryTest 4 0 0 0 100% 0.028
MethodKeyTest 6 0 0 0 100% 2.493

org.apache.commons.jexl3.examples

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

org.apache.commons.jexl3.introspection

Class Tests Errors Failures Skipped Success Rate Time
SandboxTest 11 0 0 0 100% 0.355

org.apache.commons.jexl3.junit

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

org.apache.commons.jexl3.scripting

Class Tests Errors Failures Skipped Success Rate Time
JexlScriptEngineOptionalTest 3 0 0 0 100% 0.16
JexlScriptEngineTest 7 0 0 0 100% 0.146

org.apache.commons.jexl3

Class Tests Errors Failures Skipped Success Rate Time
AnnotationTest 8 0 0 0 100% 2.605
ArithmeticOperatorTest 13 0 0 0 100% 0.55
ArithmeticTest 41 0 0 0 100% 0.544
ArrayAccessTest 8 0 0 0 100% 0.143
ArrayLiteralTest 11 0 0 0 100% 0.021
AssignTest 9 0 0 0 100% 0.086
BitwiseOperatorTest 23 0 0 0 100% 0.067
BlockTest 6 0 0 0 100% 0.012
CacheTest 12 0 0 0 100% 18.466
ClassCreatorTest 3 0 0 0 100% 24.735
JXLTTest 38 0 0 0 100% 1.122
LambdaTest 15 0 0 0 100% 0.205
MapLiteralTest 10 0 0 0 100% 0.159
MethodTest 15 0 0 0 100% 0.509
ParseFailuresTest 5 0 0 0 100% 0.015
PragmaTest 2 0 0 0 100% 0.015
PropertyAccessTest 4 0 0 0 100% 0.151
PublicFieldsTest 8 0 0 0 100% 0.075
RangeTest 7 0 0 0 100% 0.074
ScriptCallableTest 16 0 0 0 100% 4.461
ScriptTest 6 0 0 0 100% 0.1
SetLiteralTest 9 0 0 0 100% 0.072
SideEffectTest 10 0 0 0 100% 0.134
StrategyTest 4 0 0 0 100% 0.026
SynchronizedOverloadsTest 3 0 0 0 100% 0.051
VarTest 11 0 0 0 100% 0.108
WhileTest 3 0 0 0 100% 0.01
ContextNamespaceTest 1 0 0 0 100% 0
JexlTest 37 0 0 0 100% 0.455
ExceptionTest 5 0 0 0 100% 0.226
ForEachTest 15 0 0 0 100% 0.145
IfTest 11 0 0 0 100% 0.115
IssuesTest 52 0 0 0 100% 0.655

org.apache.commons.jexl3.internal

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

Test Cases

[Summary] [Package List] [Test Cases]

AnnotationTest

testError 0.24
testNoArg 0.007
test197a 0.001
testUnknown 0.015
testVarStmt 0.064
testMultiple 0.001
testOneArg 0.001
testNoArgExpression 0.002

ArithmeticOperatorTest

testOperatorError 0.063
testMatch 0.063
testNotStartsEndsWithStringDot 0.005
testDateArithmetic 0.016
testNotStartsEndsWith 0.025
testStartsEndsWithString 0.004
testStartsEndsWith 0.011
testStartsEndsWithStringDot 0.006
testInterval 0.067
testRegexp 0.032
testFormatArithmeticJxlt 0.216
testNotStartsEndsWithString 0.005
testFormatArithmetic 0.03

ArithmeticTest

testJexl173 0.03
testBigLiteralValue 0.007
test2DoubleLiterals 0.006
testEmptyFloat 0.006
testDivideByZero 0.134
testNaN 0.023
testArithmeticPlusNoCache 0.037
testXmlArithmetic 0.076
testCoerceDouble 0.006
testBigDecimal 0.002
testCoerceInteger 0.003
testAddWithStringsLenient 0.005
testEmpty 0.009
testRightNullOperand 0.009
testBigInteger 0.004
testPlusClass 0.001
testCoerceLong 0.002
testEmptyLong 0.009
testMultClass 0.001
testUnaryMinus 0.007
testNullOperand 0.005
testIsFloatingPointPattern 0
testLeftNullOperand 0.005
testLongLiterals 0.002
testEmptyDouble 0.005
testBigLiterals 0.002
testInfiniteArithmetic 0.009
testBigExponentLiterals 0.002
testNullOperands 0.008
testAddWithStringsStrict 0.003
testArithmeticPlus 0.022
testCoercions 0.01
testDivClass 0.006
testMinusClass 0
testAtomicBoolean 0.002
testBigdOp 0.001
testCoerceBigDecimal 0.002
testOption 0.001
testCoerceBigInteger 0.003
testCalculations 0.012
testUndefinedVar 0.002

ArrayAccessTest

testArrayArray 0.056
testArrayAndDottedConflict 0.019
testArrayAccess 0.006
testArrayIdentifierParsing 0.01
testArrayProperty 0.007
testDoubleMaps 0.007
testArrayMethods 0.021
testDoubleArrays 0.016

ArrayLiteralTest

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

AssignTest

testAmbiguous 0.029
testArray 0.003
testMini 0.013
testMore 0.011
testUtil 0.008
testBeanish 0
testRejectLocal 0.011
testAntish 0.002
testAntishInteger 0.002

BitwiseOperatorTest

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

BlockTest

testEmptyBlock 0.001
testBlockExecutesAll 0.001
testBlockLastExecuted01 0.002
testBlockLastExecuted02 0.001
testBlockSimple 0.001
testNestedBlock 0.001

CacheTest

testAssignNoCache 1.898
testComputeNoCache 6.081
testAssignListNoCache 0.731
testAssignBooleanCache 0.688
testNullAssignNoCache 0.836
testComputeCache 5.326
testAssignListCache 0.404
testCOMPUTENoCache 0.332
testAssignCache 0.608
testCOMPUTECache 0.303
testAssignBooleanNoCache 0.644
testNullAssignCache 0.612

ClassCreatorTest

testOne 4.915
testMany 19.806
testBasicCtor 0.013

AsserterTest

testThis 0
testVariable 0

JXLTTest

testCharAtBug 0.02
testBadContextNested 0.012
testInterpolation 0.012
testTemplate0 0.014
testTemplate1 0.017
testTemplate2 0.012
testOneLiner 0.011
testInterpolationGlobal 0.02
testInterpolationLocal 0.02
testInterpolationLvsG2 0.013
testMalformed 0.01
testStatement 0.057
testEscapeString 0.01
testMalformedNested2 0.007
testPrepareTemplate 0.015
testNestedTemplate 0.041
test42 0.049
testComposite 0.014
testConstant 0.019
testConstant2 0.008
testConstant3 0.007
testConstant4 0.027
testPrepareEvaluate 0.025
testTemplate10 0.031
testMalformedNested 0.045
testOneLinerVar 0.038
testReport1 0.027
testReport2 0.032
testInterpolationLvsG 0.029
testAssign 0.027
testEscape 0.033
testDeferred 0.054
testNested 0.034
testReport 0.038
testImmediate 0.023
testWriter 0.038
testInterpolationParameter 0.023
testNonEscapeString 0.023

LambdaTest

testScriptContext 0.009
testLambdaClosure 0.008
testLambdaLambda 0.023
testScriptArguments 0.001
testRecurse2 0.009
testRecurse3 0.015
testIdentity 0.044
testRecurse 0.002
testHoistLambada 0.001
testNestLambada 0.013
testCurry1 0.029
testCurry2 0.002
testCurry3 0.001
testLambda 0.01
testNestLambda 0.003

MapLiteralTest

testLiteralWithNumbers 0.052
testMapMapLiteral 0.008
testNotEmptySimpleMapLiteral 0.012
testLiteralWithStrings 0.001
testMapArrayLiteral 0.015
testLiteralWithMultipleEntries 0.003
testSizeOfSimpleMapLiteral 0.005
testCallingMethodsOnNewMapLiteral 0.004
testVariableMap 0.006
testEmptyMap 0.001

MethodTest

testStaticMethodInvocationOnClasses 0.009
testScriptCall 0.042
testStringMethods 0.033
testVariousFunctionLocation 0.042
testMulti 0.002
testCallJexlVarArgMethod 0.021
testStaticMethodInvocation 0.004
testNamespaceCallEdge 0.118
testCallMixedVarArgMethod 0.014
testFizzCall 0.017
testTopLevelCall 0.064
testInvoke 0.005
testMethod 0.005
testNamespaceCall 0.026
testCallVarArgMethod 0.019

ParseFailuresTest

testMalformedScript1 0
testMalformedScript2 0
testMalformedScript3 0.003
testMalformedExpression1 0.002
testMalformedExpression2 0.009

ParserTest

testErrorAmbiguous 0
testParse 0
testErrorAssign 0

PragmaTest

testPragmas 0.003
testJxltPragmas 0.002

PropertyAccessTest

testStringIdentifier 0.01
testPropertyProperty 0.066
testInnerProperty 0.042
testInnerViaArithmetic 0.014

PublicFieldsTest

testGetStaticField 0.011
testGetEnum 0.01
testSetInnerDouble 0.016
testSetString 0.004
testGetInt 0.005
testGetInnerDouble 0.006
testGetString 0.004
testSetInt 0.004

RangeTest

testLongContains 0.033
testLongSum 0.006
testIntegerRange 0.002
testIntegerContains 0.002
testLongRange 0.01
testIntegerRangeOne 0.003
testIntegerSum 0.004

ScriptCallableTest

testCancelWaitInterrupt 0.136
testCancelForever 0.111
testCallableTimeout 0.104
testHangs 0.015
testWait 1.011
testInterruptSilentLenient 0.541
testCancelLoopWait 0.105
testCallableCancel 0.034
testInterruptVerboseLenient 0.512
testInterruptSilentStrict 0.507
testCallableClosure 0.103
testCancelWait 0.105
testInterruptVerboseStrict 0.533
testFuture 0.104
testNoWait 0.004
testInterruptCancellable 0.51

JexlScriptEngineOptionalTest

testCompilable 0.023
testError 0.011
testOutput 0.002

JexlScriptEngineTest

testScriptEngineFactory 0
testNulls 0.005
testDottedNames 0.02
testDirectNew 0.001
testScriptingGetBy 0.017
testScripting 0.064
testScopes 0.028

ScriptTest

testScriptFromFile 0.052
testSimpleScript 0.014
testArgScriptFromURL 0.005
testScriptFromURL 0.013
testArgScriptFromFile 0.008
testScriptUpdatesContext 0.007

SetLiteralTest

testSizeOfSimpleSetLiteral 0.01
testSetLiteralWithNumbers 0.004
testSetLiteralWithStrings 0.002
testLiteralWithOneEntry 0.009
testSetLiteralWithOneEntryBlock 0.006
testSetLiteralWithOneEntryScript 0.001
testSetLiteralWithNulls 0.015
testNotEmptySimpleSetLiteral 0.006
testSetLiteralWithStringsScript 0.002

SideEffectTest

testSideEffectBean 0.036
testSideEffectAntishArray 0.008
testSideEffectArray 0.009
testSideEffectBeanContainer 0.023
testArithmeticSelf 0.017
testSideEffectDotArray 0.007
testArithmeticSelfNoCache 0.004
testSideEffectVarDots 0.007
testSideEffectVar 0.008
testOverrideGetSet 0.007

StrategyTest

testRawResolvers 0
testJexlStrategy 0.005
testMapStrategy 0.012
testMyMapStrategy 0.009

SynchronizedOverloadsTest

testSynchronized 0.025
testSynchronizer 0.005
testUnsafeMonitor 0.02

VarTest

testLocalFor 0.002
testMix 0.002
testRefs 0.041
testLocalForFunc 0.006
testSyntacticVariations 0.001
testObjectContext 0.024
testLiteral 0.005
testLocalBasic 0.001
testLocalForFuncReturn 0.003
testLocalSimple 0.001
testStrict 0.012

WhileTest

testWhileWithBlock 0.006
testWhileExecutesExpressionWhenLooping 0.002
testSimpleWhileFalse 0.001

ContextNamespaceTest

testThreadedContext 0

JexlTest

testCharAtBug 0
testAntPropertiesWithMethods 0.01
testEmptyDottedVariableName 0.002
testConditions 0.02
testStringQuoting 0.002
testBlankStrings 0.004
testBadParse 0.002
testBooleanShortCircuitAnd 0.01
testNew 0.005
testStringLiterals 0.002
testNegativeIntComparison 0.004
testArray 0.011
testEmpty 0.029
testDuck 0.039
testNull 0.034
testSize 0.062
testVariableNames 0.001
testComparisons 0.01
testToString 0.001
testSizeAsProperty 0.014
testIntProperty 0.016
testBoolean 0.007
testProperty 0.002
testUnicodeSupport 0.006
testEmptySubListOfMap 0.001
testNotConditions 0.023
testLogicExpressions 0.008
testStringConcatenation 0.001
testAssignment 0.002
testCoercionWithComparisionOperators 0.011
testStringLit 0.003
testComment 0.002
testNotConditionsWithDots 0.003
testMapDot 0.001
testBooleanShortCircuitOr 0.002
testExpression 0.056
testCalculations 0.005

ArrayTest

testExample 0.001

MethodPropertyTest

testExample 0.028

ExceptionTest

test206 0.174
testExVar 0.001
testEx 0.027
testWrappedEx 0.01
testExMethod 0.003

ForEachTest

testForEachWithIterator 0.014
testForEachWithArray 0.01
testForEachWithBlock 0
testForEachWithCollection 0
testForEachWithEnumeration 0.018
testForEachBreakBroken 0.001
testForEachWithProperty 0.002
testForEachBreakMethod 0.003
testForEachWithIteratorMethod 0.005
testForEachWithEmptyStatement 0.011
testForEachContinueBroken 0.019
testForEachWithListExpression 0.031
testForEachWithEmptyList 0.004
testForEachContinueMethod 0.008
testForEachWithMap 0.004

IfTest

testSimpleElse 0.019
testIfWithArithmeticExpression 0.002
testTernary 0.019
testIfWithSimpleExpression 0.001
testSimpleIfTrue 0.01
testBlockIfTrue 0.001
testTernaryShorthand 0.013
testSimpleIfFalse 0.01
testIfWithAssignment 0.018
testBlockElse 0.01
testIfWithDecimalArithmeticExpression 0.001

DiscoveryTest

testDuckIntrospection 0.013
testBeanIntrospection 0.008
testMapIntrospection 0
testListIntrospection 0.001

MethodKeyTest

testPerfKey 0.231
testObjectKey 0.272
testStringKey 0.271
testPerfString 0.236
testPerfKey2 0.284
testPerfStringKey2 0.245

RangeTest

testRanges 0.015

SandboxTest

testGetBlack 0.084
testMethodBlack 0.019
testGetWhite 0.018
testMethodWhite 0.009
testRestrict 0.06
testCtorBlack 0.018
testCtorWhite 0.001
testCantSeeMe 0.026
testMethodNoJexl 0.067
testSetBlack 0.021
testSetWhite 0.001

IssuesTest

test100 0.015
test105 0.007
test106 0.004
test107 0.078
test108 0.011
test109 0.004
test110 0.002
test111 0.003
test112 0.003
test117 0.009
test125 0.015
test135 0.028
test136 0.003
test143 0.004
test144 0.003
test155 0.002
test179 0.043
test192 0.017
test199 0.002
test200 0.008
test210 0.006
test217 0.002
test221 0.001
test5115a 0.001
test5115b 0.001
test5115c 0.005
test130a 0.002
test130b 0.01
test144a 0.026
test147b 0.005
test147c 0.012
test148a 0.019
test200b 0.008
test209a 0.002
test209b 0.007
test11 0.003
test40 0.017
test42 0.002
test44 0.002
test47 0.008
test48 0.011
test49 0.003
test62 0.013
test73 0.002
test87 0.012
test90 0.067
test97 0.015
test98 0.014
testQuestion42 0.031
test52base 0.004
testScaleIssue 0.002
testRichContext 0.006