Summary

[ summary ] [ package list ] [ test cases ]

TestsErrorsFailuresSuccess rateTime(s)
106 0 0 100.00% 18.06

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

Package List

[ summary ] [ package list ] [ test cases ]

PackageTestsErrorsFailuresSuccess RateTime
org.apache.commons.jelly.core 62 0 0 100.00% 10.24
org.apache.commons.jelly.expression 6 0 0 100.00% 0.83
org.apache.commons.jelly.impl 1 0 0 100.00% 0.28
org.apache.commons.jelly.test.impl 2 0 0 100.00% 0.66
org.apache.commons.jelly.test.xml 11 0 0 100.00% 4.47
org.apache.commons.jelly 24 0 0 100.00% 1.58

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

org.apache.commons.jelly.core

ClassTestsErrorsFailuresSuccess RateTime
Success TestArgTag 16 0 0 100.00% 0.431
Success TestBreakTag 4 0 0 100.00% 1.883
Success TestChooseTag 1 0 0 100.00% 0.721
Success TestFileTag 2 0 0 100.00% 0.651
Success TestGetStaticTag 2 0 0 100.00% 1.622
Success TestIncludeTag 4 0 0 100.00% 0.661
Success TestInvokeStaticTag 5 0 0 100.00% 0.852
Success TestInvokeTag 6 0 0 100.00% 0.921
Success TestNewTag 8 0 0 100.00% 0.881
Success TestSwitchTag 10 0 0 100.00% 0.861
Success TestUseBeanTag 4 0 0 100.00% 0.751

org.apache.commons.jelly.expression

ClassTestsErrorsFailuresSuccess RateTime
Success TestDynaBeans 1 0 0 100.00% 0.430
Success TestExpressions 5 0 0 100.00% 0.401

org.apache.commons.jelly.impl

ClassTestsErrorsFailuresSuccess RateTime
Success TestTagLibraryResolver 1 0 0 100.00% 0.281

org.apache.commons.jelly.test.impl

ClassTestsErrorsFailuresSuccess RateTime
Success TestEmbedded 2 0 0 100.00% 0.661

org.apache.commons.jelly.test.xml

ClassTestsErrorsFailuresSuccess RateTime
Success TestCData 2 0 0 100.00% 0.651
Success TestDefaultNamespaceFilter 2 0 0 100.00% 0.991
Success TestDummyXMLOutput 1 0 0 100.00% 0.651
Success TestNonexistentTags 1 0 0 100.00% 0.610
Success TestXMLParserCache 2 0 0 100.00% 0.811
Success TestXMLValidation 3 0 0 100.00% 0.752

org.apache.commons.jelly

ClassTestsErrorsFailuresSuccess RateTime
Success TestCoreTags 3 0 0 100.00% 0.600
Success TestJelly 17 0 0 100.00% 0.290
Success TestJellyContext 1 0 0 100.00% 0.391
Success TestTrim 3 0 0 100.00% 0.301

Test Cases

[ summary ] [ package list ] [ test cases ]

TestArgTag

Success testToBooleanFromString 0.13
Success testToCharFromString 0.00
Success testToByteFromString 0.00
Success testToByteFromNumber 0.00
Success testToShortFromString 0.00
Success testToShortFromNumber 0.00
Success testToIntFromString 0.00
Success testToIntFromNumber 0.00
Success testToFloatFromString 0.00
Success testToFloatFromNumber 0.00
Success testToLongFromString 0.00
Success testToLongFromNumber 0.00
Success testToDoubleFromString 0.00
Success testToDoubleFromNumber 0.00
Success testToPrimitiveFromNull 0.00
Success testFromNull 0.01

TestBreakTag

Success testSimpleBreakTag 1.26
Success testConditionalBreakTag 0.01
Success testVarBreakTag 0.01
Success testVarNoBreakTag 0.06

TestChooseTag

Success testSimpleFileTag 0.43

TestFileTag

Success testSimpleFileTag 0.35
Success testDom4Xmlns 0.00

TestGetStaticTag

Success testGetIntegerMaxValue 0.46
Success testInvalidGet 0.01

TestIncludeTag

Success testInnermost 0.32
Success testMiddle 0.02
Success testOutermost 0.02
Success testFileInclude 0.02

TestInvokeStaticTag

Success testSimpleSystemInvoke 0.44
Success testSystemInvoke 0.01
Success testMessageFormatInvoke 0.02
Success testInvokeThatThrowsException 0.07
Success testInvokeThatDoesNotHandleException 0.01

TestInvokeTag

Success testSimpleInvoke 0.47
Success testInvokeWithVar 0.06
Success testInvokeWithReturnedValueAsArg 0.02
Success testInvokeWithReturnedValueAsArgAndVar 0.02
Success testInvokeThatThrowsException 0.03
Success testInvokeThatDoesNotHandleException 0.02

TestNewTag

Success testSimpleNew 0.43
Success testNewThenOverwrite 0.01
Success testNewWithLiteralArg 0.02
Success testNewWithTwoArgs 0.05
Success testNewWithExpressionArg 0.02
Success testNewWithNullArg 0.01
Success testNewWithNewArg 0.02
Success testNewWithUseBeanArg 0.02

TestSwitchTag

Success testSimpleSwitch 0.40
Success testFallThru 0.02
Success testDefault 0.01
Success testNullCase 0.05
Success testSwitchWithoutOn 0.01
Success testCaseWithoutSwitch 0.02
Success testDefaultWithoutSwitch 0.01
Success testCaseWithoutValue 0.02
Success testMultipleDefaults 0.01
Success testCaseAfterDefault 0.01

TestUseBeanTag

Success testSimple 0.42
Success testExtension 0.01
Success testBadProperty 0.02
Success testIgnoredBadProperty 0.01

TestDynaBeans

Success testDynaBeans 0.12

TestExpressions

Success testExpresssions 0.07
Success testAntExpresssions 0.02
Success testNotConditions 0.01
Success testNotConditionsWithDot 0.00
Success testNull 0.01

TestTagLibraryResolver

Success testResolver 0.00

TestEmbedded

Success testStringAsScript 0.37
Success testInputStreamAsScript 0.01

TestCData

Success testCData 0.36
Success testDom4JCData 0.00

TestDefaultNamespaceFilter

Success testNamespaceDefined 0.69
Success testNamespaceNotDefined 0.01

TestDummyXMLOutput

Success testDummyXMLOutput 0.36

TestNonexistentTags

Success testNonexistentTags 0.32

TestXMLParserCache

Success testParserCache1 0.40
Success testParserCache2 0.11

TestXMLValidation

Success testInvalidXML1NoValidation 0.42
Success testInvalidXML1Validation 0.03
Success testValidXML1Validation 0.02

TestCoreTags

Success testArgs 0.33
Success testTrimEndWhitespace 0.00
Success testTrimStartWhitespace 0.00

TestJelly

Success testSetAndRemove 0.03
Success testSetWithDefault 0.00
Success testScope 0.01
Success testChoose 0.01
Success testIf 0.00
Success testNewAndSetProperties 0.04
Success testUseBean 0.00
Success testUseBeanWithSetProperties 0.00
Success testSetWithNoEncoding 0.00
Success testFileToVar 0.01
Success testTrim 0.00
Success testBreak 0.02
Success testBreakWithIf 0.00
Success testVariablesWithDots 0.00
Success testImport 0.03
Success testMuteTag 0.00
Success testForEachWithString 0.01

TestJellyContext

Success testSetVariablesAndRetainContextEntry 0.11

TestTrim

Success testTrim 0.01
Success testTrimStart 0.00
Success testTrimEnd 0.00