Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
312 0 0 0 100% 3.236

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.servlet 1 0 0 0 100% 0.012
org.seasar.cubby.filter 25 0 0 0 100% 0.11
org.seasar.cubby.validator.validators 10 0 0 0 100% 0.042
org.seasar.cubby.spike 1 0 0 0 100% 0.001
org.seasar.cubby.tags 90 0 0 0 100% 0.446
org.seasar.cubby.routing.impl 27 0 0 0 100% 0.464
org.seasar.cubby.internal.util 16 0 0 0 100% 0.931
org.seasar.cubby.action 42 0 0 0 100% 0.246
org.seasar.cubby.spi 1 0 0 0 100% 0.002
org.seasar.cubby.spi.beans.impl 11 0 0 0 100% 0.046
org.seasar.cubby.internal.controller.impl 32 0 0 0 100% 0.321
org.seasar.cubby.spi.impl 5 0 0 0 100% 0.004
org.seasar.cubby.internal.controller 3 0 0 0 100% 0.01
org.seasar.cubby.controller.impl 21 0 0 0 100% 0.182
org.seasar.cubby.plugins 2 0 0 0 100% 0.008
org.seasar.cubby.util 12 0 0 0 100% 0.032
org.seasar.cubby.validator 13 0 0 0 100% 0.379

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

org.seasar.cubby.servlet

Class Tests Errors Failures Skipped Success Rate Time
CubbyServletTest 1 0 0 0 100% 0.012

org.seasar.cubby.filter

Class Tests Errors Failures Skipped Success Rate Time
CubbyFilterLifecycleTest 2 0 0 0 100% 0.008
CubbyFlterRoutingTest 3 0 0 0 100% 0.01
EncodingFilterTest 7 0 0 0 100% 0.048
SendErrorFilterTest 5 0 0 0 100% 0.009
CubbyHttpServletRequestWrapperTest 7 0 0 0 100% 0.025
CubbyFilterProcessRequestTest 1 0 0 0 100% 0.01

org.seasar.cubby.validator.validators

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

org.seasar.cubby.spike

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

org.seasar.cubby.tags

Class Tests Errors Failures Skipped Success Rate Time
FormTagTest 6 0 0 0 100% 0.065
TextareaTagTest 3 0 0 0 100% 0.03
LinkTagTest 4 0 0 0 100% 0.014
TagUtilsTest 28 0 0 0 100% 0.055
SelectTagTest 7 0 0 0 100% 0.023
SelectTagMapTest 7 0 0 0 100% 0.145
TokenTagTest 3 0 0 0 100% 0.008
CubbyFunctionsTest 11 0 0 0 100% 0.041
InputTagTest 17 0 0 0 100% 0.057
ParamTagTest 4 0 0 0 100% 0.008

org.seasar.cubby.routing.impl

Class Tests Errors Failures Skipped Success Rate Time
PathResolverImplTest 17 0 0 0 100% 0.436
RoutingKeyTest 3 0 0 0 100% 0.005
PathTemplateParserImplTest 7 0 0 0 100% 0.023

org.seasar.cubby.internal.util

Class Tests Errors Failures Skipped Success Rate Time
URLBodyEncoderTest 1 0 0 0 100% 0
StringUtilsTest 4 0 0 0 100% 0.002
MetaUtilsTest 3 0 0 0 100% 0.015
TokenHelperTest 3 0 0 0 100% 0.905
QueryStringBuilderTest 3 0 0 0 100% 0.002
LruHashMapTest 1 0 0 0 100% 0.001
ServiceLoaderTest 1 0 0 0 100% 0.006

org.seasar.cubby.action

Class Tests Errors Failures Skipped Success Rate Time
RedirectTest 21 0 0 0 100% 0.187
DirectTest 1 0 0 0 100% 0
ForwardTest 8 0 0 0 100% 0.046
SendErrorTest 2 0 0 0 100% 0.002
JsonTest 2 0 0 0 100% 0.005
ActionTest 8 0 0 0 100% 0.006

org.seasar.cubby.spi

Class Tests Errors Failures Skipped Success Rate Time
ProviderFactoryTest 1 0 0 0 100% 0.002

org.seasar.cubby.spi.beans.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultBeanDescProviderPropertyTest 1 0 0 0 100% 0.003
DefaultBeanDescProviderFieldTest 1 0 0 0 100% 0.003
DefaultBeanDescProviderTest 2 0 0 0 100% 0.005
DefaultBeanDescProviderAttributeTest 7 0 0 0 100% 0.035

org.seasar.cubby.internal.controller.impl

Class Tests Errors Failures Skipped Success Rate Time
FormWrapperFactoryImplTest 3 0 0 0 100% 0.031
FlashMapTest 2 0 0 0 100% 0.021
RequestParameterBinderImplTest 10 0 0 0 100% 0.21
ActionContextImplTest 13 0 0 0 100% 0.031
ActionResultWrapperTest 1 0 0 0 100% 0.007
ActionProcessorImplTest 1 0 0 0 100% 0.02
ActionErrorsImplTest 2 0 0 0 100% 0.001

org.seasar.cubby.spi.impl

Class Tests Errors Failures Skipped Success Rate Time
AbstractRequestParserProviderTest 4 0 0 0 100% 0.003
CionversionUtilsTest 1 0 0 0 100% 0.001

org.seasar.cubby.internal.controller

Class Tests Errors Failures Skipped Success Rate Time
ThreadContextTest 2 0 0 0 100% 0.009
RegexTest 1 0 0 0 100% 0.001

org.seasar.cubby.controller.impl

Class Tests Errors Failures Skipped Success Rate Time
FormatPatternImplTest 6 0 0 0 100% 0.004
MultipartRequestParserImplTest 2 0 0 0 100% 0.004
DefaultRequestParserImplTest 5 0 0 0 100% 0.011
DefaultMessagesBehaviourTest 6 0 0 0 100% 0.007
MultipartRequestParserImplMultipartRequestTest 2 0 0 0 100% 0.156

org.seasar.cubby.plugins

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

org.seasar.cubby.util

Class Tests Errors Failures Skipped Success Rate Time
ActionUtilsTest 10 0 0 0 100% 0.023
LinkBuilderTest 2 0 0 0 100% 0.009

org.seasar.cubby.validator

Class Tests Errors Failures Skipped Success Rate Time
FieldValidationRuleTest 3 0 0 0 100% 0.346
DefaultValidationRulesTest 9 0 0 0 100% 0.018
UserValidationRuleTest 1 0 0 0 100% 0.015

Test Cases

URLBodyEncoderTest

encode 0

DateFormatTest

validate 0.004

RedirectTest

getPath 0.028
basicSequence 0.007
relativePath 0.011
absolutePath 0.006
basicSequenceWithProtocol 0.005
basicSequenceWithProtocolAndPort 0.005
relativePathWithProtocol 0.004
absolutePathWithProtocol 0.006
absoluteURL 0.005
rootContextPath 0.005
redirectByClassAndMethod1 0.012
redirectByClassAndMethod2 0.005
redirectByClassAndMethod3 0.009
redirectByClassAndMethod4 0.004
redirectByClassAndMethod5 0.004
redirectByClassAndMethodFailureNoRouting 0.017
redirectByClassAndMethodFailureLessParameter 0.005
redirectByClassAndMethodFailureUnmatchParameter 0.004
param1 0.004
pParam2 0.004
param3 0.022

ProviderFactoryTest

getSingletonInstanceInMultiThread 0.001

AbstractRequestParserProviderTest

testSelect1 0.001
testSelect2 0
testSelect4 0.001
testSelect5 0

CubbyFilterLifecycleTest

unmatchAnyAction 0.003
matchAnyAction 0.004

CubbyFlterRoutingTest

routing 0.005
routingWithInternalForward 0.002
ignorePath 0.002

FieldValidationRuleTest

apply1 0.299
apply2 0.022
apply3 0.002

StringUtilsTest

equalsIgnoreCase 0
replace 0.001
isBlank 0
isNotBlank 0

FormatPatternImplTest

timestamp 0.001
time 0
date 0.001
defaultPattern 0
sqlDate 0.001
time2 0

PathResolverImplTest

testClear 0.015
testGetRoutings 0.017
testAdd 0.042
testRoot1 0.011
testRoot2 0.017
testDefault1 0.032
testDefault2 0.024
testDefault3 0.01
testDefault4 0.027
testDefault5 0.019
testDefault6 0.018
testPath1 0.025
testPath2 0.01
testPath3 0.026
testPath4 0.049
testPath5 0.048
testPath6 0.034

MetaUtilsTest

getActionPath 0.012
getActionClassName 0
gGetPriority 0.001

FormTagTest

doTagNoChild 0.014
doTagEmptyBody 0.004
doTagWithTextAreaTag 0.016
doTagWithSpecifiedAction 0.004
doTagWithSpecifiedActionAndParam 0.015
doTagWithTextAreaAndSpecifiedActionAndParam 0.009

ActionUtilsTest

actionContextFromThredLocal 0.008
actionContextFromRequest 0
actionContextThrowsException 0
errorsFromThrealLocal 0.003
errorsFromRequest 0.001
errorsThrowsException 0.001
flashFromThreadLocal 0
flashFromRequest 0
flashThrowsException 0
isActionMethod 0.001

ArrayMinSizeTest

testValidation 0.001

TokenValidatorTest

validate 0.002

DeclaredClassTest

a 0.001

DefaultBeanDescProviderPropertyTest

invalidProperty 0.001

ValidationPluginTest

invokeActionWithNoError 0.007
invokeActionWithValidationException 0.001

TokenHelperTest

validateToken 0.002
generateGUID 0.893
setToken 0

TextareaTagTest

doTag1 0.003
doTag2 0.009
doTag3 0.002

QueryStringBuilderTest

queryToString 0
queryToStringWithBaseUrl 0
queryToStringWithBaseUrlAndParams 0

CionversionUtilsTest

getWrapperClassIfPrimitive 0

DefaultValidationRulesTest

addAll 0.004
initialize 0.002
fail 0.001
addAndGetRules1 0
addAndGetRules2 0.001
constractor1 0.003
constractor2 0
failOverride 0.001
validationPhasePriority 0

EncodingFilterTest

setEncoding1 0.021
setEncoding2 0.002
setForceEncoding1 0.011
setForceEncoding2 0.001
setForceEncoding3 0.001
doURIEncoding1 0.004
doURIEncoding2 0.002

SendErrorFilterTest

doFilter1 0.002
doFilter2 0.001
doFilter3 0.001
doFilter4 0.001
doFilter5 0.001

FormWrapperFactoryImplTest

beanToMap 0.02
beanToMap2 0.003
beanToMap3 0.008

MultipartRequestParserImplTest

invalidCotntentType 0.002
isParsable 0.001

LruHashMapTest

all 0.001

LinkTagTest

doTag 0.004
doTagWithParam 0.002
doTagOutputTag 0.003
doTagOutputTagWithParam 0.004

CubbyHttpServletRequestWrapperTest

getAttribute 0.007
getAttributeNames 0.002
parameter 0.003
getMessagesMap_ja 0.002
getMessagesMap_en 0.006
getMessagesResourceBundle_ja 0.001
getMessagesResourceBundle_en 0.001

RegexpValidatorTest

validate1 0.001
validate2 0.001

DefaultRequestParserImplTest

getParameterMap 0.007
getEmptyParameterMap 0.001
isParsable1 0
isParsable2 0
isParsable3 0

FileRegexpValidatorTest

validate1 0.001
validate2 0.001

ServiceLoaderTest

load 0.005

TagUtilsTest

errors 0.007
toAttr 0
multipleFormValues 0
addClassName 0
addClassName1 0
isChecked 0
isChecked1 0
isChecked2 0
isChecked3 0
isChecked4 0.001
isChecked5 0
isChecked6 0
isChecked7 0.001
isChecked8 0.018
isChecked9 0
isChecked10 0.001
multipleFormValues1 0.001
multipleFormValues2 0
multipleFormValues5 0
multipleFormValues6 0
multipleFormValues7 0
toAttr1 0.001
addClassNameThrowsNullPointerException 0
errorsThrowsNullPointerException 0
isCheckedThrowsClassCastException 0.001
isCheckedThrowsNullPointerException 0
toAttrThrowsNullPointerException 0
testGetContextPath 0.001

LinkBuilderTest

httpDefaultPort 0.006
http8080 0.001

DefaultBeanDescProviderFieldTest

invalidProperty 0.003

SelectTagTest

doTag1 0.006
doTag2 0.004
doTag3 0.003
doTag4 0.003
doTag5 0.003
doTagNotSetValueProperty 0.001
doItemsAttributeIsNull 0.001

FlashMapTest

sequence1 0.004
sequence2 0.001

CubbyFilterProcessRequestTest

process 0.01

RequestParameterBinderImplTest

mapToBeanNullSource 0.03
mapToBean 0.022
mapToBean_OneValue 0.009
mapToBean_MultiValue 0.005
mapToBean_MultiValueIncludesEmptyValue 0.005
mapToBean_MultiValueIncludesNullValue 0.005
mapToBean_annotated 0.014
converters 0.055
convertersWithError 0.046
convertFileItem 0.008

EmailValidatorTest

validate 0.022

DefaultMessagesBehaviourTest

defaultBaseName 0
baseName 0.001
getBundleWithDefaultLocale 0
getBundleWithJapaneseLocale 0
getBundleWithEnglishLocale 0
testToMap 0.002

RoutingKeyTest

sort 0.001
sort2 0
duplicate 0.002

SelectTagMapTest

doTag1 0.08
doTag2 0.006
doTag4 0.005
doTag5 0.012
doTag11 0.006
doTag12 0.027
doTag13 0.006

ArrayMaxSizeTest

validate 0.001

TokenTagTest

doTag1 0.002
doTag2 0.001
testDoTag3 0.002

ThreadContextTest

getRequest 0.001
lifeCycle 0.001

DirectTest

testExecute 0

UserValidationRuleTest

userValidation 0.015

ForwardTest

getPath 0.005
param 0.003
basicSequence 0.004
relativePath 0.008
absolutePath 0.003
forwardByClassAndMethodName 0.006
forwardByClassAndIndex 0.006
forwardByClassAndMethodNameWithParam 0.006

ActionContextImplTest

clearFlash 0.003
constructWithNormalAction 0.001
invokeWithNormalAction 0.002
constructWithPojoAction 0.001
invokeWithPojoAction 0.006
getForm_noAnnotateMethod 0.002
getForm_annotateValidFormName 0.002
getForm_annotateAllPropertiesBindingType 0
getForm_annotateOnlySpecifiedPropertiesBindingType 0.001
getForm_annotateNoneBindingType 0.001
getForm_annotateNullFormName 0.001
getForm_annotateNotExistFormName 0.001
getForm_annotateThisFormName 0.002

MultipartRequestParserImplMultipartRequestTest

getParameterMap 0.153
getParameterMapEmpty 0.001

CubbyFunctionsTest

out 0
containsInCollection 0
containsInArray 0
containsInNull 0
containesKey 0
containesValue 0.001
odd 0
dateFormat 0
ifrender 0.001
urlWithUTF8 0
urlWithWindows31J 0.031

InputTagTest

doTagCheckboxValueRequred 0.001
doTagCheckbox1 0.002
doTagCheckbox2 0.002
doTagCheckboxWithCheckedValue1 0.002
doTagCheckboxWithCheckedValue2 0.002
doTagCheckboxWithCheckedValueError1 0.003
doTagCheckboxError1 0.002
doTagCheckboxError2 0.002
doTagRadioValueRequred 0.001
doTagRadio1 0.002
doTagRadio2 0.002
doTagRadioError1 0.005
doTagRadioError2 0.002
doTagText1 0.002
doTagText2 0.002
doTagTextError1 0.003
doTagTextError2 0.001

SendErrorTest

sendError 0.001
sendErrorWithMessage 0

ParamTagTest

doTag1 0.001
doTag2 0.001
doTagHasIllegalParent 0.003
doTagHasNoParent 0.001

NumberValidatorTest

validate 0.001

JsonTest

execute 0.003
executeWithContentTypeAndEncoding 0.001

ActionResultWrapperTest

execute 0.006

ActionTest

errors 0
flash 0
noAnnotationInititalize 0
annotationInititalize 0.001
noAnnotationPrerender 0
annotationPrerender 0.001
noAnnotationPostrender 0
annotationPostrender 0.001

DefaultBeanDescProviderTest

attribute 0.003
invalidProperty 0.002

PathTemplateParserImplTest

parseFail 0.015
parse1 0.001
parse2 0.001
parse3 0.001
parse4 0.001
parse5 0.001
parse6 0.001

ActionProcessorImplTest

constructor 0.02

ActionErrorsImplTest

testAdd 0.001
testIsEmpty1 0

CubbyServletTest

initialize 0.011

RegexTest

convertUri 0

DefaultBeanDescProviderAttributeTest

setValue 0.004
setValue_null 0.001
setValue_notWritable 0.001
setValue_notWritableWithField 0.001
getValue_notReable 0.001
getValue_notReableWithField 0.001
setIllegalValue 0.001