Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
294 0 0 0 100% 184.546

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
0 0 0 0 0% 0.002
org.webmacro.servlet.test 5 0 0 0 100% 5.965
org.webmacro 16 0 0 0 100% 3.829
org.webmacro.template 220 0 0 0 100% 87.406
org.webmacro.util 8 0 0 0 100% 1.64
org.webmacro.engine 4 0 0 0 100% 1.976
org.webmacro.util.test 30 0 0 0 100% 1.19
org.webmacro.parser 11 0 0 0 100% 82.538

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

Class Tests Errors Failures Skipped Success Rate Time
SpinTest 0 0 0 0 0% 0.002

org.webmacro.servlet.test

Class Tests Errors Failures Skipped Success Rate Time
InvokeExampleServletsTest 5 0 0 0 100% 5.965

org.webmacro

Class Tests Errors Failures Skipped Success Rate Time
TestContext 9 0 0 0 100% 0.668
TestMultipleInstances 2 0 0 0 100% 1.029
TestFastWriter 1 0 0 0 100% 1.473
TestBroker 4 0 0 0 100% 0.659

org.webmacro.template

Class Tests Errors Failures Skipped Success Rate Time
TestGlobalMacros 1 0 0 0 100% 0.924
TestCrankyEEH 25 0 0 0 100% 1.331
TestParseIncludeMacroDistribution 5 0 0 0 100% 3.574
TestMap 9 0 0 0 100% 1.059
TestNastySebastianTemplate 1 0 0 0 100% 1.743
TestWhitespace 11 0 0 0 100% 1.736
TestPerformanceAreas$1 1 0 0 0 100% 1.54
TestContextToolAccess 1 0 0 0 100% 0.948
TestISO88591Encoding 4 0 0 0 100% 0.982
TestAbuse 10 0 0 0 100% 1.147
TestIf 3 0 0 0 100% 1.141
TestSyntheticTemplate$1 1 0 0 0 100% 19.267
TestSyntheticTemplate$2 1 0 0 0 100% 20.006
TestSetblock 2 0 0 0 100% 0.904
TestCountDirective 8 0 0 0 100% 1.192
TestBinaryAccessor 6 0 0 0 100% 1.087
TestSetpropsDirective 9 0 0 0 100% 1.547
TestDirectiveParser 6 0 0 0 100% 1.244
TestFunction 6 0 0 0 100% 1.066
TestLineNumbers 23 0 0 0 100% 1.138
TestWindows1251Encoding 4 0 0 0 100% 0.998
TestShortCircuit 6 0 0 0 100% 1.035
TestQuote 4 0 0 0 100% 0.973
TestUndefined 2 0 0 0 100% 0.898
TestArithmetic 7 0 0 0 100% 8.895
TestMacro 5 0 0 0 100% 1.128
TestDefaultEEH 23 0 0 0 100% 1.24
TestParseInclude 7 0 0 0 100% 3.218
TestEvalTemplet 6 0 0 0 100% 1.216
TestGetSet 8 0 0 0 100% 1.133
TestList 1 0 0 0 100% 0.949
TestBlocks 9 0 0 0 100% 1.138
TestAlternate 5 0 0 0 100% 1.009

org.webmacro.util

Class Tests Errors Failures Skipped Success Rate Time
TestSettings 3 0 0 0 100% 0.093
TestHTMLEscaper 2 0 0 0 100% 0.073
TestTextTool 2 0 0 0 100% 0.071
TestMathTool 1 0 0 0 100% 1.403

org.webmacro.engine

Class Tests Errors Failures Skipped Success Rate Time
TestMultiHashAccessors 2 0 0 0 100% 1.005
TestStaticClasses 2 0 0 0 100% 0.971

org.webmacro.util.test

Class Tests Errors Failures Skipped Success Rate Time
Base64Test 6 0 0 0 100% 0.073
WMEvalTest 24 0 0 0 100% 1.117

org.webmacro.parser

Class Tests Errors Failures Skipped Success Rate Time
TestBackupCharStream 11 0 0 0 100% 82.538

Test Cases

TestGlobalMacros

testGlobalInclude 0.885

TestCrankyEEH

testNoSuchVariable 0.833
testNoSuchMethod 0.038
testNoSuchMethodWithArguments 0.055
testEvalNoSuchMethod 0.034
testEvalNoSuchMethodWithArguments 0.02
testNoSuchProperty 0.011
testEvalNoSuchProperty 0.012
testVoidMethod 0.006
testEvalVoidMethod 0.012
testNullMethod 0.012
testThrowsMethod 0.023
testEvalThrowsMethod 0.026
testNullVariable 0.025
testEvaluationOfNullReturnValue 0.017
testEvalNullMethod 0.05
testGoodVariable 0.006
testEvalGoodVariable 0.022
testGoodMethod 0.006
testEvalGoodMethod 0.009
testGoodProperty 0.005
testEvalGoodProperty 0.019
testEvalNullVariable 0.013
testEvalNoSuchVariable 0.006
testThrowsWithCaught 0.009
testThrowsWithCaughtInForeach 0.011

TestParseIncludeMacroDistribution

testEcommMacros 2.741
testVerisignMacros 0.114
testHrefMacro 0.081
testFrameMacro 0.107
testControlsMacro 0.493

TestBackupCharStream

testBasic 5.073
test_1_1 9.19
test_1_2 10.823
test_1_4 14.589
test_2_1 6.858
test_3_2 6.689
test_5_4 6.65
test_10_9 6.584
test_10_2 5.184
test_1000_500 5.448
test_4000_2000 5.418

TestContext

testPutGet_NULL 0.626
testPutGet_int 0
testPutGet_boolean 0
testPutGet_byte 0.001
testPutGet_char 0.001
testPutGet_Class 0
testPutGet_double 0
testPutGet_long 0
testPutGet_short 0

TestMap

testNoWhiteSpace 0.813
testWhiteSpace 0.018
testLostOfWhiteSpace 0.017
testNewLine 0.018
testWhiteSpaceNewLine 0.008
testUniqueMaps 0.016
testEmpty 0.007
testEmpty2 0.018
testEmpty3 0.101

TestMultipleInstances

testFooDirective 0.908
testDefaultConstructor 0.084

TestNastySebastianTemplate

testIt 1.707

Base64Test

testDecodeString 0.032
testEncodeString 0.003
testDecodeByteArray 0.003
testEncodeByteArray 0.003
testBadInputToDecode 0.001
testBadInputToEncode 0

SpinTest

TestWhitespace

testTabs 0.85
testBeforeComment 0.068
testBeforeDirective 0.034
testBeforeSubdirective 0.073
testAfterDirective 0.016
testAfterBegin 0.065
testBeforeEnd 0.088
testAfterEnd 0.153
testSpacesInParens 0.113
testForeach 0.23
testColor 0.005

TestPerformanceAreas$1

Performance 1.54

TestSettings

testSimple 0.035
testOcclude 0.004
testSubsettings 0.013

TestContextToolAccess

testContextToolMethodCall 0.907

TestISO88591Encoding

testInputEncoding 0.909
testOutputEncoding 0.009
testUTF8OutputEncoding 0.007
testUTF8InputEncoding 0.021

InvokeExampleServletsTest

testInvokeHelloWorld 4.401
testInvokeCheckConfig 0.574
testInvokeGuestBook 0.252
testInvokeStandalone 0.455
testIndex 0.213

TestAbuse

testEOLComment 0.791
testBlockComment 0.018
testTrailingDot 0.015
testEOLCommentWithDirective 0.061
testBlockCommentWithBadWMScript 0.008
testMultiLineIf 0.001
testToStringIsNull 0.015
testBlockDirectiveWithJavascript 0.03
testSemi 0.083
testNastyEndreTemplate 0.076

TestIf

test1 0.989
test2 0.042
test3 0.07

TestSyntheticTemplate$1

load 19.267

TestSyntheticTemplate$2

Release2Features 20.006

TestSetblock

testSetblock 0.833
testSetblockAsMacro 0.029

TestCountDirective

testCountForwards 0.958
testCountBackwardsImplicitStep 0.04
testCountBackwards 0.026
testCountByTwo 0.014
testCountByZero 0.02
testUndefArgs 0.043
testCountForwardsWithNegativeStep 0.016
testCountBackwardsWithPositiveStep 0.013

TestBinaryAccessor

testBinaryGet 0.93
testBinarySet 0.066
testBinarySetGet 0.016
testBinaryMultiLevelGet 0.008
testBinaryMultiLevelSet 0.01
testBinaryMultiLevelSetGet 0.014

TestMultiHashAccessors

testMultiGet1 0.923
testMultiGet2 0.04

TestSetpropsDirective

testSetpropsDoesNotThrowIfUnconfigured 0.848
testSetprops 0.112
testSetpropsEmpty 0.04
testSetpropsWithNonMap 0.073
testSetpropsAllowedPackage 0.091
testSetpropsMultiLine 0.076
testSetpropsWithClassName 0.073
testSetpropsImpliedPackage 0.132
testSetpropsThrowsOnClassNotFound 0.048

TestDirectiveParser

testBadDir 0.745
testSmashedTogetherDirective 0.11
testOne 0.112
testTwo 0.035
testThree 0.054
testFour 0.148

TestFunction

testFunctionToList 0.919
testGlobalFunctionEscape 0.012
testModulusFunction 0.008
testSubstringFunction 0.011
testFunctionDotMore 0.023
testVoidFunction 0.053

TestLineNumbers

testNoSuchVariable 0.843
testNoSuchMethod 0.042
testNoSuchMethodWithArguments 0.033
testEvalNoSuchMethod 0.027
testEvalNoSuchMethodWithArguments 0.035
testNoSuchProperty 0.015
testEvalNoSuchProperty 0.014
testVoidMethod 0
testEvalVoidMethod 0.014
testNullMethod 0.006
testThrowsMethod 0.022
testEvalThrowsMethod 0.027
testNullVariable 0.006
testEvaluationOfNullReturnValue 0
testEvalNullMethod 0
testGoodVariable 0
testEvalGoodVariable 0
testGoodMethod 0
testEvalGoodMethod 0.001
testGoodProperty 0.001
testEvalGoodProperty 0
testEvalNullVariable 0
testEvalNoSuchVariable 0

TestWindows1251Encoding

testInputEncoding 0.913
testOutputEncoding 0.01
testUTF8OutputEncoding 0.008
testUTF8InputEncoding 0.03

TestShortCircuit

testConstOr 0.838
testVarOr 0.026
testConstAndOr 0.071
testVarAndOr 0.017
testConstOrAnd 0.026
testVarOrAnd 0.015

TestQuote

testDq 0.866
testSq 0.039
testMixed 0.016
testInline 0.009

WMEvalTest

testError 0.651
testWMEvalServlet 0.101
testWMEvalServletNull 0.048
testWMEval 0
testGetSettings 0.009
testGetLog 0
testInit 0.176
testGetNewContext 0.001
testGetNewContextHttpServletRequestHttpServletResponse 0.009
testGetCurrentContext 0
testGetCurrentTemplate 0
testParseLocalTemplate 0.019
testSetCurrentTemplate 0.004
testSetCurrentContext 0.001
testSetOutputStream 0.001
testEval 0.008
testEvalContext 0.005
testEvalContextStringOutputStream 0.003
testEvalString 0.002
testEvalWebContextStringHttpServletResponse 0.004
testEvalContextTemplate 0.003
testEvalContextStringOutputStreamString 0.003
testEvalContextStringStringBooleanString 0.017
testDestroy 0

TestUndefined

testUndefined 0.825
testUndefinedWithSet 0.032

TestArithmetic

testAssociativity 0.873
testParenRounding 0.062
testBoolean 0.587
testBinary 1.597
testCompare 3.265
testEquality 2.413
testWsInParams 0.055

TestMacro

testUndefinedMacro 0.783
testNoArgs 0.133
testBadArgs 0.075
testSetVar 0.063
testNoCapture 0.034

TestHTMLEscaper

testEscaping 0.043
testEscapingNull 0.001

TestDefaultEEH

testNoSuchVariable 0.843
testNoSuchMethod 0.041
testNoSuchMethodWithArguments 0.054
testEvalNoSuchMethod 0.03
testEvalNoSuchMethodWithArguments 0.018
testNoSuchProperty 0.01
testEvalNoSuchProperty 0.013
testVoidMethod 0.006
testEvalVoidMethod 0.012
testNullMethod 0.006
testThrowsMethod 0.023
testEvalThrowsMethod 0.024
testNullVariable 0.005
testEvaluationOfNullReturnValue 0.014
testEvalNullMethod 0.023
testGoodVariable 0.003
testEvalGoodVariable 0.013
testGoodMethod 0.005
testEvalGoodMethod 0.008
testGoodProperty 0.004
testEvalGoodProperty 0.009
testEvalNullVariable 0.013
testEvalNoSuchVariable 0.014

TestParseInclude

testParse 0.904
testBigTemplate 0.571
testInclude 0.175
testHttp 1.314
testIncludeAsMacro 0.069
testBasicMacros 0.128
testRelaxedDirectiveBuild 0.016

TestFastWriter

testFastWriter 1.443

TestEvalTemplet

testTemplet 0.83
testEvalWithMacro 0.068
testTempletEval 0.029
testStringEval 0.018
testStringEvalInline 0.012
testEvalRecursive 0.216

TestTextTool

testRTrim 0.035
testLTrim 0.001

TestGetSet

test1 0.961
test2 0.029
testPassANull1 0.006
testPassANull2 0.024
testBinaryMutator 0.036
testBinarySetBoolean 0.005
testDotLengthOnArray 0.007
testNonExistentProperties 0.023

TestList

test1 0.898

TestStaticClasses

testStaticClassWithNullAsFirstArg_1 0.895
testStaticClassWithNullAsFirstArg_2 0.033

TestBlocks

testBraces 0.813
testBeginEnd 0.056
testOnlyEnd 0.01
testIfElseIfEnd 0.042
testIfEnd 0.009
testNestedIfElseEnd 0.042
testNoEND1 0.048
testNoEND2 0.034
testNoLBRACE 0.042

TestBroker

testGetSettings 0.624
testBrokerLocal 0
testGetProvider 0.001
testGetResource 0.001

TestMathTool

testRandom 1.373

TestAlternate

testList 0.914
testIterator 0.01
testArray 0.012
testEnumeration 0.012
testInlineArray 0.019