Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
3822099.48%65.89

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.apache.velocity.tools.generic 9400100.00%9.33
org.apache.velocity.tools.generic.directive 600100.00%1.99
org.apache.velocity.tools.generic.introspection 2700100.00%2.40
org.apache.velocity.tools.view.tools 200100.00%2.77
org.ieee.shinobu.demo 300100.00%0.06
org.ieee.shinobu.demo.collection 600100.00%0.28
org.ieee.shinobu.demo.encoding 600100.00%0.08
org.ieee.shinobu.demo.javacore 100100.00%0.31
org.ieee.shinobu.demo.jce 3100100.00%3.20
org.ieee.shinobu.demo.velocity 1402098.57%25.50
org.ieee.shinobu.demo.velocity.log 100100.00%7.53
org.ieee.shinobu.demo.velocity.resource 700100.00%1.30
org.ieee.shinobu.demo.veracity.compatability 5000100.00%9.42
org.ieee.shinobu.demo.veracity.enhanced 700100.00%1.48
org.ieee.shinobu.demo.veracity 100100.00%0.22

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

org.apache.velocity.tools.generic

ClassTestsErrorsFailuresSuccess RateTime
Success ArrayToolTest 5900100.00%5.468
Success EscapeToolTest 2700100.00%2.553
Success NullToolTest 800100.00%1.312

org.apache.velocity.tools.generic.directive

ClassTestsErrorsFailuresSuccess RateTime
Success IfnotnullTest 300100.00%1.171
Success IfnullTest 300100.00%0.821

org.apache.velocity.tools.generic.introspection

ClassTestsErrorsFailuresSuccess RateTime
Success PublicFieldUberspectTest 2700100.00%2.403

org.apache.velocity.tools.view.tools

ClassTestsErrorsFailuresSuccess RateTime
Success ViewNullToolTest 200100.00%2.774

org.ieee.shinobu.demo

ClassTestsErrorsFailuresSuccess RateTime
Success ClassLoaderTest 200100.00%0.040
Success RandomTest 100100.00%0.020

org.ieee.shinobu.demo.collection

ClassTestsErrorsFailuresSuccess RateTime
Success ExtendedPropertiesTest 400100.00%0.091
Success LinkedHashMapTest 200100.00%0.190

org.ieee.shinobu.demo.encoding

ClassTestsErrorsFailuresSuccess RateTime
Success HexDateTest 200100.00%0.020
Success JisTest 400100.00%0.061

org.ieee.shinobu.demo.javacore

ClassTestsErrorsFailuresSuccess RateTime
Success JavaCoreTest 100100.00%0.310

org.ieee.shinobu.demo.jce

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractCryptTestCaseTest 400100.00%0.040
Success Aes128Test 500100.00%2.533
Success BlowFish128Test 400100.00%0.150
Success BlowFish32Test 400100.00%0.120
Success Des56Test 400100.00%0.130
Success KeyGeneratorTest 200100.00%0.030
Success TripleDes112Test 400100.00%0.100
Success TripleDes168Test 400100.00%0.100

org.ieee.shinobu.demo.velocity

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractSearchToolTest 600100.00%3.355
Success AnakiaTest 200100.00%1.623
Success CaseSubstitutionTest 600100.00%0.561
Success ContextTest 200100.00%0.591
Success DvslTest 200100.00%1.883
Success DynamicTest 300100.00%0.591
Success EscapeTest 1400100.00%1.472
Success FieldMethodizerTest 100100.00%1.312
Success ForeachTest 600100.00%0.711
Success GenericsTest 200100.00%0.530
Success InitVelocityEngineTest 400100.00%0.701
Success IteratorToolTest 200100.00%0.451
Success MacroTest 200100.00%0.431
Success MathToolTest 200100.00%0.421
Success MultiDimensionArrayTest 300100.00%0.511
Success NullTest 1100100.00%0.721
Success NumberToolTest 300100.00%0.460
Error ParserTest 42050.00%0.490
Success ParseTest 300100.00%0.641
Success RecursingMacroTest 200100.00%1.312
Success ReferenceTest 500100.00%0.500
Success RenderToolTest 500100.00%0.581
Success ReplaceTest 1000100.00%0.501
Success SetDirectiveTest 1600100.00%0.801
Success TypeTest 800100.00%1.282
Success VelocimacroTest 900100.00%0.751
Success ViewRenderToolTest 200100.00%1.822
Success WhiteSpaceTest 500100.00%0.491

org.ieee.shinobu.demo.velocity.log

ClassTestsErrorsFailuresSuccess RateTime
Success SimpleLog4jLogSystemBugTest 100100.00%7.530

org.ieee.shinobu.demo.velocity.resource

ClassTestsErrorsFailuresSuccess RateTime
Success ClasspathTest 200100.00%0.611
Success JarTest 500100.00%0.691

org.ieee.shinobu.demo.veracity.compatability

ClassTestsErrorsFailuresSuccess RateTime
Success ConditionalTest 1400100.00%1.532
Success ForeachTest 400100.00%1.502
Success FunctionTest 900100.00%1.011
Success IncludeTest 100100.00%0.550
Success MacroTest 300100.00%0.671
Success MathTest 600100.00%0.691
Success ParseTest 100100.00%1.432
Success SpaceTest 500100.00%0.762
Success StringsTest 200100.00%0.641
Success VarTest 500100.00%0.631

org.ieee.shinobu.demo.veracity.enhanced

ClassTestsErrorsFailuresSuccess RateTime
Success FunctionTest 100100.00%0.301
Success MacroTest 100100.00%0.270
Success MathTest 100100.00%0.231
Success ParseTest 100100.00%0.240
Success WhitespaceTest 300100.00%0.441

org.ieee.shinobu.demo.veracity

ClassTestsErrorsFailuresSuccess RateTime
Success VeracityTest 100100.00%0.220

Test Cases

[ summary] [ package list] [ test cases]

ArrayToolTest

Success testListObject0.44
Success testListLong0.03
Success testListInt0.04
Success testListShort0.04
Success testListByte0.42
Success testListChar0.03
Success testListDouble0.03
Success testListFloat0.03
Success testListBoolean0.04
Success testListNotAnArray0.02
Success testListNullArray0.04
Success testGetObject0.03
Success testGetLong0.05
Success testGetInt0.38
Success testGetShort0.03
Success testGetByte0.04
Success testGetChar0.03
Success testGetDouble0.04
Success testGetFloat0.01
Success testGetBoolean0.02
Success testGetOutOfBounds0.03
Success testGetNotAnArray0.03
Success testGetNullArray0.37
Success testLengthObject0.03
Success testLengthLong0.03
Success testLengthInt0.03
Success testLengthShort0.02
Success testLengthByte0.03
Success testLengthChar0.02
Success testLengthDouble0.02
Success testLengthFloat0.03
Success testLengthBoolean0.44
Success testLengthNotAnArray0.04
Success testLengthNullArray0.03
Success testSetObject0.03
Success testSetLong0.03
Success testSetInt0.04
Success testSetShort0.03
Success testSetByte0.03
Success testSetChar0.03
Success testSetDouble0.02
Success testSetFloat0.47
Success testSetBoolean0.03
Success testSetOutOfBounds0.03
Success testSetNotAnArray0.03
Success testSetNullArray0.04
Success testCloneObject0.02
Success testCloneLong0.03
Success testCloneInt0.05
Success testCloneShort0.48
Success testCloneByte0.06
Success testCloneChar0.07
Success testCloneDouble0.04
Success testCloneFloat0.05
Success testCloneBoolean0.05
Success testCloneNotAnArray0.36
Success testCloneNullArray0.04
Success testIsArray0.00
Success testNotArray0.00

IfnotnullTest

Success testNull0.42
Success testNotNull0.61
Success testNotBlock0.12

IfnullTest

Success testNull0.66
Success testNotNull0.03
Success testNotBlock0.10

EscapeToolTest

Success testStringJava0.42
Success testObjectJava0.03
Success testNullJava0.04
Success testStringJavascript0.05
Success testObjectJavascript0.44
Success testNullJavascript0.03
Success testStringHtml0.05
Success testObjectHtml0.03
Success testNullHtml0.03
Success testStringXml0.03
Success testObjectXml0.02
Success testNullXml0.04
Success testStringSql0.03
Success testObjectSql0.03
Success testNullSql0.47
Success testDollar0.04
Success testShortDollar0.03
Success testHash0.04
Success testShortHash0.03
Success testBackslash0.02
Success testShortBackslash0.03
Success testQuote0.03
Success testShortQuote0.02
Success testSingleQuote0.03
Success testShortSingleQuote0.04
Success testExclamation0.02
Success testShortExclamation0.46

PublicFieldUberspectTest

Success testNormalGet1.11
Success testPublicFieldGet0.14
Success testPublicStaticFieldGet0.03
Success testPublicFieldGetInt0.03
Success testPublicFieldDontGetProtected0.03
Success testPublicFieldGetNotFound0.03
Success testNormalSet0.04
Success testPublicFieldSet0.04
Success testPublicFieldSetInt0.01
Success testPublicFieldDontSetProtected0.04
Success testPublicFieldSetNotFound0.04
Success testIterator0.03
Success testBooleanArrayLength0.44
Success testCharArrayLength0.03
Success testByteArrayLength0.02
Success testShortArrayLength0.04
Success testIntArrayLength0.04
Success testLongArrayLength0.02
Success testFloatArrayLength0.03
Success testDoubleArrayLength0.04
Success testObjectArrayLength0.02
Success testStringArrayLength0.03
Success testNotArrayLength0.04
Success testNullLength0.02
Success testArrayInstance0.00
Success testArrayFields0.00
Success testArrayMethods0.04

NullToolTest

Success testNull1.01
Success testRemoveWithoutTool0.06
Success testRemove0.02
Success testRemoveNoContext0.03
Success testIsNull0.04
Success testIsNotNull0.02
Success testNullableSet0.03
Success testNullableSetNoContext0.04

ViewNullToolTest

Success testRemove2.17
Success testNullableSet0.57

ClassLoaderTest

Success testResource0.00
Success testResourceWithLeadingSlash0.00

ExtendedPropertiesTest

Success testInterpolate0.01
Success testInterpolateOccuringTwice0.00
Success testTrimWhiteSpace0.00
Success testConvertPropertiesBug0.00

LinkedHashMapTest

Success testKeySetIterator0.00
Success testKeySetIteratorReversed0.00

HexDateTest

Success testDateToHex0.00
Success testHexToDate0.00

JisTest

Success testMojibake0.04
Success testMojibakeFromJis0.00
Success testMojibakeToJis0.00
Success testAllChars0.01

JavaCoreTest

Success testJavaCoreException0.00

AbstractCryptTestCaseTest

Success testAssertByteArrayNotEqualsSame0.01
Success testAssertByteArrayNotEqualsNull0.00
Success testAssertByteArrayNotEqualsWhenEqual0.00
Success testAssertByteArrayNotEqualsWithLength0.00

Aes128Test

Success testDecryptTruncatedEncryptedData2.45
Success testCrypt0.02
Success testMeasure10Bytes409600Times0.04
Success testMeasure4096Bytes1000Times0.01
Success testConsistant0.01

BlowFish128Test

Success testCrypt0.04
Success testMeasure10Bytes409600Times0.06
Success testMeasure4096Bytes1000Times0.02
Success testConsistant0.01

BlowFish32Test

Success testCrypt0.03
Success testMeasure10Bytes409600Times0.05
Success testMeasure4096Bytes1000Times0.02
Success testConsistant0.01

Des56Test

Success testCrypt0.05
Success testMeasure10Bytes409600Times0.05
Success testMeasure4096Bytes1000Times0.02
Success testConsistant0.01

KeyGeneratorTest

Success testGenerateKeyForAes0.01
Success testGenerateSameKeyTwice0.00

TripleDes112Test

Success testCrypt0.04
Success testMeasure10Bytes409600Times0.04
Success testMeasure4096Bytes1000Times0.01
Success testConsistant0.01

TripleDes168Test

Success testCrypt0.02
Success testMeasure10Bytes409600Times0.05
Success testMeasure4096Bytes1000Times0.01
Success testConsistant0.01

RandomTest

Success testRandom0.00

AbstractSearchToolTest

Success testFirstSlipOneItemPerPage1.59
Success testMiddleSlipOneItemPerPage0.35
Success testLastSlipOneItemPerPage0.38
Success testFirstSlipTwoItemsPerPage0.36
Success testMiddleSlipTwoItemsPerPage0.31
Success testLastSlipTwoItemsPerPage0.33

AnakiaTest

Success testCraigExampleVelocityProperties1.45
Success testCraigExampleTemplatePath0.15

CaseSubstitutionTest

Success testGetter0.41
Success testShortGetter0.02
Success testPropertyGetter0.03
Success testSetter0.03
Success testShortSetter0.04
Success testPropertySetter0.02

ContextTest

Success testRemove0.55
Success testListEverything0.03

DvslTest

Success testSimpleExample1.65
Success testCraigExample0.21

DynamicTest

Success testRavikanthExample0.49
Success testSetDynamicMacro0.04
Success testSetDynamic0.05

EscapeTest

Success testNoEscape0.39
Success testEscapeReference0.02
Success testEscapeNoReference0.04
Success testEscape0.02
Success testEscapeDollar0.65
Success testEscapeExclamation0.04
Success testEscapeDirectives0.06
Success testEscapeReferenceQuiet0.03
Success testEscapeNoReferenceQuiet0.04
Success testEscapeQuietReference0.03
Success testEscapeQuietNoReference0.05
Success testIgorExample0.04
Success testIgorExampleUsingEscapeTool0.02
Success testEscaping0.03

FieldMethodizerTest

Success testStaticField1.30

ForeachTest

Success testMapKeySet0.53
Success testMapEntrySet0.03
Success testSteveExample0.05
Success testDimitriosExample0.04
Success testDimitriosExampleSet0.04
Success testDimitriosExampleJoin0.01

GenericsTest

Success testGenerics0.08
Success testBarbaraExample0.45

InitVelocityEngineTest

Success testResetOnMultipleInitialization0.55
Success testDefaultResourceLoader0.04
Success testInitFromProperties0.05
Success testJeremyExample0.04

IteratorToolTest

Success testMore0.40
Success testBinuExample0.05

SimpleLog4jLogSystemBugTest

Success testCloseAppenders7.52

MacroTest

Success testSetFromMacro0.41
Success testSetResultOfMacro0.02

MathToolTest

Success testAdd0.38
Success testAddBigDecimal0.04

MultiDimensionArrayTest

Success testSimonExample0.43
Success testSimonExampleWithArrayTool0.03
Success testSimonExampleIteratePoints0.03

NullTest

Success testNull0.41
Success testBlankIsNotNull0.05
Success testNullIsFalse0.04
Success testZeroIsNotFalse0.01
Success testBlank0.01
Success testSpaceIsNotBlank0.07
Success testIterateWithNullWithNullTool0.03
Success testIterateWithNullWithNullToolAndIteratorTool0.02
Success testIterateWithNullWithIteratoraTool0.04
Success testIterateWithNull0.02
Success testIterateWithNullDefault0.01

NumberToolTest

Success testManishExample0.40
Success testManishNoCentsExample0.04
Success testManishNoCentsExampleWithComma0.02

ParserTest

Success testCurlyDirectiveAsSchmoo0.32
Error testMapToMethod0.09
Encountered "{" at line 2, column 20. Was expecting one of: "[" ... "{" ... <STRING_LITERAL> ... "true" ... "false" ... <NUMBER_LITERAL> ... <IDENTIFIER> ...
Error testLeftParentheses0.03
Encountered ")" at line 1, column 52. Was expecting one of: "," ... ")" ... <WHITESPACE> ... <DOT> ...
Success testBracket0.05

ParseTest

Success testParse0.50
Success testParseAfterNotFound0.05
Success testParseAfterNotParseError0.08

RecursingMacroTest

Success testGenerateFlow1.22
Success testSimpleRecursion0.07

ReferenceTest

Success testSpecialist33Example0.40
Success testClassMap0.00
Success testScottExample0.02
Success testMarkExampleInJava0.04
Success testMarkExampleInVelocity0.04

RenderToolTest

Success testRender0.47
Success testRenderNull0.02
Success testRenderBlank0.02
Success testRenderNullAndBlank0.02
Success testRecurseToBlank0.05

ReplaceTest

Success testReplaceAll0.38
Success testReplaceAllWithReplacementInContext0.02
Success testReplaceAllWithAttribute0.04
Success testReplaceAllInString0.00
Success testReplaceAllDollarsInString0.00
Success testReplace0.02
Success testReplaceAllDotsInString0.00
Success testReplaceAllDots0.02
Success testReplaceDashInString0.00
Success testPhilipExample0.02

ClasspathTest

Success testClasspath0.57
Success testClasspathWithLeadingSlash0.03

JarTest

Success testFromClasspath0.57
Success testFromClasspathWithLeadingSlash0.03
Success testFromJar0.05
Success testFromJarWithLeadingSlash0.03
Success testJarFile0.00

SetDirectiveTest

Success testVariableReference0.36
Success testStringLiteral0.03
Success testPropertyReference0.07
Success testMethodReference0.03
Success testNumberLiteral0.02
Success testArrayList0.02
Success testMap0.04
Success testMikeCantSetBooleanExample0.02
Success testMikeSetBooleanExample0.02
Success testSetBackToNull0.04
Success testSetBackToNullDefault0.02
Success testSetProperty0.03
Success testSetPropertyNull0.01
Success testSetPropertyBackToNull0.03
Success testSetPropertyBackToNullDefault0.02
Success testSetPropertyBackToNullDirectly0.03

TypeTest

Success testBoolean1.09
Success testString0.03
Success testStringOneLetter0.01
Success testCharacter0.05
Success testInteger0.01
Success testShort0.03
Success testByte0.01
Success testLong0.04

VelocimacroTest

Success testVelocimacro0.36
Success testVelocimacroLibrary0.04
Success testParseVelocimacro0.03
Success testParseVelocimacroLibrary0.03
Success testMiscellanyMacroInMacro0.03
Success testMacroInRenderTool0.07
Success testLocalMacroInRenderTool0.02
Success testLocalMacroInRenderedTemplate0.02
Success testSamiExample0.14

ViewRenderToolTest

Success testEval1.52
Success testRecurse0.29

WhiteSpaceTest

Success testExpandedMacro0.38
Success testCollapsedMacro0.02
Success testUserGuideFormattingIssuesOneLine0.03
Success testUserGuideFormattingIssuesReadable0.04
Success testUserGuideFormattingIssuesUnreadable0.02

ConditionalTest

Success testNullIsFalse0.59
Success testIf0.03
Success testIfStops0.02
Success testElseIf0.04
Success testElse0.07
Success testGreaterThan0.02
Success testLessThanElse0.02
Success testEquals0.56
Success testEqualsElse0.03
Success testLessThanOrEquals0.02
Success testGreaterThanOrEquals0.02
Success testTrueIsTrue0.04
Success testFalseNotFalse0.02
Success testEmptyStringIsTrue0.05

ForeachTest

Success testMap1.40
Success testRange0.03
Success testStringArray0.02
Success testIntArray0.04

FunctionTest

Success testGetter0.78
Success testNoMethod0.04
Success testNoGetter0.02
Success testNoReference0.03
Success testSetFunctionCall0.06
Success testDirectFunctionCall0.01
Success testHello0.02
Success testOverload0.02
Success testArray0.02

IncludeTest

Success testInclude0.55

MacroTest

Success testReference0.57
Success testTrimLineFeed0.06
Success testLocalParameters0.02

MathTest

Success testAddition0.56
Success testSubtraction0.02
Success testDivision0.02
Success testMultiplication0.02
Success testRemainder0.05
Success testParentheses0.02

ParseTest

Success testParse1.42

SpaceTest

Success testBlank0.34
Success testIf0.25
Success testElse0.02
Success testIfInElse0.09
Success testElseInElse0.05

StringsTest

Success testMacroInQuotes0.58
Success testReferenceInQuotes0.05

VarTest

Success testPlainDefined0.56
Success testPlainNotDefined0.02
Success testSilentDefined0.02
Success testSilentNotDefined0.02
Success testVar0.01

FunctionTest

Success testFunction0.29

MacroTest

Success testMacro0.26

MathTest

Success testMath0.22

ParseTest

Success testParse0.23

WhitespaceTest

Success testStructuredWhitespace0.25
Success testRawWhitespace0.01
Success testDefaultWhitespace0.17

VeracityTest

Success testSimpleContextReference0.21

Failure details

Error testMapToMethod
Encountered "{" at line 2, column 20. Was expecting one of: "[" ... "{" ... <STRING_LITERAL> ... "true" ... "false" ... <NUMBER_LITERAL> ... <IDENTIFIER> ...
org.apache.velocity.exception.ParseErrorException: Encountered "{" at line 2, column 20. Was expecting one of: "[" ... "{" ... <STRING_LITERAL> ... "true" ... "false" ... <NUMBER_LITERAL> ... <IDENTIFIER> ... at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:320) at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:244) at org.ieee.shinobu.demo.velocity.AbstractVelocityTestCase.assertVelocity(AbstractVelocityTestCase.java:112) at org.ieee.shinobu.demo.velocity.ParserTest.testMapToMethod(ParserTest.java:50)
Error testLeftParentheses
Encountered ")" at line 1, column 52. Was expecting one of: "," ... ")" ... <WHITESPACE> ... <DOT> ...
org.apache.velocity.exception.ParseErrorException: Encountered ")" at line 1, column 52. Was expecting one of: "," ... ")" ... <WHITESPACE> ... <DOT> ... at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:320) at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:244) at org.ieee.shinobu.demo.velocity.AbstractVelocityTestCase.assertVelocity(AbstractVelocityTestCase.java:112) at org.ieee.shinobu.demo.velocity.ParserTest.testLeftParentheses(ParserTest.java:74)