Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
264 0 0 0 100% 11.647

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.seasar.cubby.filter 8 0 0 0 100% 0.081
org.seasar.cubby.spike 2 0 0 0 100% 0.003
org.seasar.cubby.validator.validators 11 0 0 0 100% 0.055
org.seasar.cubby.tags 100 0 0 0 100% 1.711
org.seasar.cubby.validator.impl 4 0 0 0 100% 0.213
org.seasar.cubby.controller 5 0 0 0 100% 0.021
org.seasar.cubby.routing.impl 25 0 0 0 100% 1.098
org.seasar.cubby.action 34 0 0 0 100% 2.967
org.seasar.cubby.action.impl 9 0 0 0 100% 0.377
org.seasar.cubby.controller.impl 33 0 0 0 100% 1.893
org.seasar.cubby.interceptor 1 0 0 0 100% 0.297
org.seasar.cubby.unit 1 0 0 0 100% 0.008
org.seasar.cubby.util 18 0 0 0 100% 1.541
org.seasar.cubby.validator 13 0 0 0 100% 1.382

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

org.seasar.cubby.filter

Class Tests Errors Failures Skipped Success Rate Time
EncodingFilterTest 7 0 0 0 100% 0.078
CubbyHttpServletRequestWrapperTest 1 0 0 0 100% 0.003

org.seasar.cubby.spike

Class Tests Errors Failures Skipped Success Rate Time
LruHashMapTest 1 0 0 0 100% 0.001
DeclaredClassTest 1 0 0 0 100% 0.002

org.seasar.cubby.validator.validators

Class Tests Errors Failures Skipped Success Rate Time
ArrayMaxSizeTest 1 0 0 0 100% 0.002
EmailValidatorTest 1 0 0 0 100% 0.024
DateFormatTest 1 0 0 0 100% 0.014
RegexpValidatorTest 2 0 0 0 100% 0.002
NumberValidatorTest 1 0 0 0 100% 0.001
ArrayMinSizeTest 1 0 0 0 100% 0.001
TokenValidatorTest 2 0 0 0 100% 0.008
FileRegexpValidatorTest 2 0 0 0 100% 0.003

org.seasar.cubby.tags

Class Tests Errors Failures Skipped Success Rate Time
TagUtilsTest 41 0 0 0 100% 0.062
SelectTagMapTest 7 0 0 0 100% 0.093
TextareaTagTest 3 0 0 0 100% 0.033
CubbyFunctionsTest 2 0 0 0 100% 0.01
FormTagTest 9 0 0 0 100% 0.727
TokenTagTest 4 0 0 0 100% 0.019
LinkTagTest 7 0 0 0 100% 0.497
ParamTagTest 4 0 0 0 100% 0.033
SelectTagTest 6 0 0 0 100% 0.064
InputTagTest 17 0 0 0 100% 0.173

org.seasar.cubby.validator.impl

Class Tests Errors Failures Skipped Success Rate Time
ValidationProcessorImplTest 4 0 0 0 100% 0.213

org.seasar.cubby.controller

Class Tests Errors Failures Skipped Success Rate Time
ThreadContextTest 4 0 0 0 100% 0.02
RegexTest 1 0 0 0 100% 0.001

org.seasar.cubby.routing.impl

Class Tests Errors Failures Skipped Success Rate Time
PathTemplateParserImplTest 7 0 0 0 100% 0.027
PathResolverImplTest 15 0 0 0 100% 1.055
RoutingComparatorTest 3 0 0 0 100% 0.016

org.seasar.cubby.action

Class Tests Errors Failures Skipped Success Rate Time
RedirectTest 21 0 0 0 100% 2.1
ForwardTest 8 0 0 0 100% 0.67
JsonTest 2 0 0 0 100% 0.195
SendErrorTest 2 0 0 0 100% 0.001
DirectTest 1 0 0 0 100% 0.001

org.seasar.cubby.action.impl

Class Tests Errors Failures Skipped Success Rate Time
ActionErrorsImplTest 3 0 0 0 100% 0.266
FormatPatternImplTest 6 0 0 0 100% 0.111

org.seasar.cubby.controller.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultRequestParserImplTest 4 0 0 0 100% 0.116
MultipartRequestParserImplTest 4 0 0 0 100% 0.089
ActionProcessorImplTest 1 0 0 0 100% 0.001
RequestParameterBinderImplTest 14 0 0 0 100% 1.392
CubbyConfigurationImplTest 3 0 0 0 100% 0.009
FormWrapperFactoryImplTest 2 0 0 0 100% 0.184
RequestParserSelectorImplTest 5 0 0 0 100% 0.102

org.seasar.cubby.interceptor

Class Tests Errors Failures Skipped Success Rate Time
ActionMethodCallInActionMethodTest 1 0 0 0 100% 0.297

org.seasar.cubby.unit

Class Tests Errors Failures Skipped Success Rate Time
CubbyTestCaseTest 1 0 0 0 100% 0.008

org.seasar.cubby.util

Class Tests Errors Failures Skipped Success Rate Time
CubbyFunctionsTest 1 0 0 0 100% 0.002
TokenHelperTest 3 0 0 0 100% 1.509
CubbyUtilsTest 11 0 0 0 100% 0.028
QueryStringBuilderTest 3 0 0 0 100% 0.002

org.seasar.cubby.validator

Class Tests Errors Failures Skipped Success Rate Time
FieldValidationRuleTest 3 0 0 0 100% 0.854
DefaultValidationRulesTest 9 0 0 0 100% 0.471
UserValidationRuleTest 1 0 0 0 100% 0.057

Test Cases

FieldValidationRuleTest

testApply1 0.591
testApply2 0.143
testApply3 0.092

ArrayMaxSizeTest

testValidation 0.001

EmailValidatorTest

testValidation 0.022

DefaultRequestParserImplTest

testGetEmptyParameterMap 0.037
testGetParameterMap 0.036
testIsParsable 0.014
testPriority 0.028

TagUtilsTest

testConstructor 0.002
testAddClassName 0.001
testAddClassName1 0
testErrors 0.002
testFormValue 0
testFormValue1 0.001
testFormValue2 0.001
testFormValue3 0
testFormValue4 0
testFormValue5 0.001
testFormValue6 0
testFormValueValidationFail1 0
testFormValueValidationFail2 0
testFormValueValidationFail3 0.001
testIsChecked 0.001
testIsChecked1 0
testIsChecked2 0
testIsChecked3 0.001
testIsChecked4 0
testIsChecked5 0
testIsChecked6 0.001
testIsChecked7 0.001
testIsChecked8 0.005
testIsChecked9 0
testIsChecked10 0.001
testMultipleFormValues 0
testMultipleFormValues1 0
testMultipleFormValues2 0
testMultipleFormValues3 0.001
testMultipleFormValues4 0.001
testMultipleFormValues5 0
testMultipleFormValues6 0
testMultipleFormValues7 0.002
testToAttr 0
testToAttr1 0.015
testAddClassNameThrowsNullPointerException 0
testErrorsThrowsNullPointerException 0
testIsCheckedThrowsClassCastException 0
testIsCheckedThrowsNullPointerException 0.001
testToAttrThrowsNullPointerException 0
testGetContextPath 0

ThreadContextTest

testGetMessagesMap 0.005
testGetMessagesResourceBundle 0.005
testGetRequest 0.003
testRemove 0.003

CubbyFunctionsTest

testContains 0.001

MultipartRequestParserImplTest

testGetEmptyParameterMap 0.023
testGetParameterMap 0.011
testIsParsable 0.025
testPriority 0.028

ActionProcessorImplTest

testConstructor 0.001

DateFormatTest

testValidate 0.007

EncodingFilterTest

setEncoding1 0.054
setEncoding2 0.002
setForceEncoding1 0.002
setForceEncoding2 0.003
setForceEncoding3 0.002
doURIEncoding1 0.008
doURIEncoding2 0.003

SelectTagMapTest

testDoTag1 0.041
testDoTag2 0.006
testDoTag4 0.006
testDoTag5 0.007
testDoTag11 0.009
testDoTag12 0.008
testDoTag13 0.008

RedirectTest

testBasicSequence 0.134
testBasicSequenceWithProtocol 0.085
testBasicSequenceWithProtocolAndPort 0.087
testRelativePath 0.083
testRelativePathWithProtocol 0.096
testAbsolutePath 0.087
testAbsolutePathWithProtocol 0.103
testAbsoluteURL 0.148
testRootContextPath 0.086
testRedirectByClassAndMethod1 0.057
testRedirectByClassAndMethod2 0.093
testRedirectByClassAndMethod3 0.097
testRedirectByClassAndMethod4 0.13
testRedirectByClassAndMethod5 0.096
testRedirectByClassAndMethodFailureNoRouting 0.085
testRedirectByClassAndMethodFailureLessParameter 0.1
testRedirectByClassAndMethodFailureUnmatchParameter 0.089
testGetPath 0.102
testParam1 0.096
testParam2 0.093
testParam3 0.143

TextareaTagTest

testDoTag1 0.006
testDoTag2 0.018
testDoTag3 0.006

ForwardTest

testBasicSequence 0.101
testRelativePath 0.1
testAbsolutePath 0.083
testGetPath 0.066
testParam 0.082
testForwardByClassAndMethodName 0.08
testForwardByClassAndIndex 0.076
testForwardByClassAndMethodNameWithParam 0.08

CubbyTestCaseTest

testSetupThreadContext 0.007

TokenHelperTest

testGenerateGUID 1.508
testSetToken 0
testValidateToken 0.001

ActionMethodCallInActionMethodTest

testXxx 0.296

ActionErrorsImplTest

testAdd 0.134
testRequestAttributes 0.058
testIsEmpty1 0.074

JsonTest

testExecute 0.187
testExecuteWithContentTypeAndEncoding 0.008

CubbyFunctionsTest

testContains 0.001
testUrl 0.009

RegexpValidatorTest

testValidation1 0.001
testValidation2 0

ValidationProcessorImplTest

testProcess1 0.057
testProcess2 0.034
testProcess3 0.043
testHandleValidationException 0.078

CubbyUtilsTest

testGetObjectSize 0
testGetActionPath 0.005
testGetActionClassName 0
testReplaceFirst 0
testSplit2 0
testGetPriority 0.001
testGetFormBean1 0
testGetFormBean2 0.001
testGetFormBean3 0.002
testIsActionClass 0.001
testIsActionMethod 0.001

PathTemplateParserImplTest

testParseFail 0.019
testParse1 0.001
testParse2 0.001
testParse3 0.001
testParse4 0.001
testParse5 0.001
testParse6 0.001

RequestParameterBinderImplTest

testMapToBeanNullSource 0.092
testMapToBean 0.123
testMapToBean_OneValue 0.064
testMapToBean_MultiValue 0.074
testMapToBean_MultiValueIncludesEmptyValue 0.105
testMapToBean_MultiValueIncludesNullValue 0.114
testConverters 0.174
testConvertFileItem 0.078
testBindTypeNoAnnotated 0.13
testBindTypeNoBindingType 0.087
testBindTypeAllProperties 0.088
testBindTypeOnlySpecifiedProperties 0.092
testBindTypeNoAnnotatedOnClass 0.077
testBindTypeOnlySpecifiedPropertiesOnClass 0.088

PathResolverImplTest

testGetRoutings 0.08
testAdd 0.054
testRoot1 0.11
testRoot2 0.07
testDefault1 0.066
testDefault2 0.047
testDefault3 0.062
testDefault4 0.045
testDefault5 0.052
testPath1 0.114
testPath2 0.101
testPath3 0.108
testPath4 0.072
testPath5 0.048
testAddAbstractClass 0.021

NumberValidatorTest

testValidation 0

FormTagTest

testDoTagNoChild 0.061
testDoTagEmptyBody 0.099
testDoTagWithTextAreaTag 0.065
testDoTagWithSpecifiedAction 0.073
testDoTagWithSpecifiedActionAndParam 0.119
testDoTagWithTextAreaAndSpecifiedActionAndParam 0.095
testDoTagProtocol 0.071
testDoTagPort 0.059
testDoTagProtocolAndPort 0.081

ArrayMinSizeTest

testValidation 0.001

LruHashMapTest

testA 0

QueryStringBuilderTest

testToString 0.001
testToStringWithBaseUrl 0
testToStringWithBaseUrlAndParams 0.001

SendErrorTest

testSendError 0.001
testSendErrorWithMessage 0

TokenTagTest

testRequestIsNull 0.005
testDoTag1 0.004
testDoTag2 0.004
testDoTag3 0.004

LinkTagTest

testDoTag 0.068
testDoTagWithParam 0.077
testDoTagOutputTag 0.062
testDoTagOutputTagWithParam 0.085
testDoTagWithProtocol 0.056
testDoTagWithPort 0.067
testDoTagWithProtocolAndPort 0.081

DefaultValidationRulesTest

testAddAndGetRules1 0.047
testAddAndGetRules2 0.053
testInitialize 0.053
testConstractor1 0.044
testConstractor2 0.064
testFail 0.052
testFailOverride 0.048
testValidationPhasePriority 0.057
testAddAll 0.05

TokenValidatorTest

testValidate 0.003
testRequestIsNull 0.004

DeclaredClassTest

testA 0.001

CubbyConfigurationImplTest

testConstructor 0.007
testGetFormatPattern 0.001
testConstructorThrowsNullPointerException 0.001

FormWrapperFactoryImplTest

testBeanToMap 0.107
testBeanToMap2 0.075

FormatPatternImplTest

testDefaultPattern 0.018
testDate 0.025
testSqlDate 0.008
testTime 0.018
testTime2 0.031
testTimestamp 0.009

ParamTagTest

testDoTag1 0.004
testDoTag2 0.004
testDoTagHasIllegalParent 0.007
testDoTagHasNoParent 0.017

RoutingComparatorTest

testDuplicate 0.001
testSort 0
testSort2 0.014

UserValidationRuleTest

testUserValidation 0.056

SelectTagTest

testDoTag1 0.025
testDoTag2 0.005
testDoTag3 0.005
testDoTag4 0.005
testDoTag5 0.018
testDoTagNotSetValueProperty 0.004

RegexTest

testConvertUri 0

RequestParserSelectorImplTest

testSelect1 0.01
testSelect2 0.038
testSelect3 0.009
testSelect4 0.009
testSelect5 0.034

FileRegexpValidatorTest

testValidation1 0.001
testValidation2 0

CubbyHttpServletRequestWrapperTest

testGetAttributeNames 0.003

InputTagTest

testDoTagCheckboxValueRequred 0.005
testDoTagCheckbox1 0.004
testDoTagCheckbox2 0.028
testDoTagCheckboxWithCheckedValue1 0.004
testDoTagCheckboxWithCheckedValue2 0.005
testDoTagCheckboxWithCheckedValueError1 0.004
testDoTagCheckboxError1 0.005
testDoTagCheckboxError2 0.021
testDoTagRadioValueRequred 0.004
testDoTagRadio1 0.004
testDoTagRadio2 0.004
testDoTagRadioError1 0.016
testDoTagRadioError2 0.005
testDoTagText1 0.021
testDoTagText2 0.005
testDoTagTextError1 0.004
testDoTagTextError2 0.028

DirectTest

testExecute 0.001