Surefire Report

Summary


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

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.105
org.seasar.cubby.validator.validators 10 0 0 0 100% 0.06
org.seasar.cubby.spike 1 0 0 0 100% 0.002
org.seasar.cubby.tags 90 0 0 0 100% 0.394
org.seasar.cubby.routing.impl 27 0 0 0 100% 0.304
org.seasar.cubby.internal.util 16 0 0 0 100% 1.276
org.seasar.cubby.action 42 0 0 0 100% 0.26
org.seasar.cubby.spi 1 0 0 0 100% 0.002
org.seasar.cubby.spi.beans.impl 11 0 0 0 100% 0.051
org.seasar.cubby.internal.controller.impl 34 0 0 0 100% 0.324
org.seasar.cubby.spi.impl 5 0 0 0 100% 0.006
org.seasar.cubby.internal.controller 3 0 0 0 100% 0.004
org.seasar.cubby.controller.impl 21 0 0 0 100% 0.164
org.seasar.cubby.util 12 0 0 0 100% 0.022
org.seasar.cubby.validator 13 0 0 0 100% 0.387

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.009
CubbyFlterRoutingTest 3 0 0 0 100% 0.01
EncodingFilterTest 7 0 0 0 100% 0.04
SendErrorFilterTest 5 0 0 0 100% 0.007
CubbyHttpServletRequestWrapperTest 7 0 0 0 100% 0.026
CubbyFilterProcessRequestTest 1 0 0 0 100% 0.013

org.seasar.cubby.validator.validators

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

org.seasar.cubby.spike

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

org.seasar.cubby.tags

Class Tests Errors Failures Skipped Success Rate Time
FormTagTest 6 0 0 0 100% 0.066
TextareaTagTest 3 0 0 0 100% 0.011
LinkTagTest 4 0 0 0 100% 0.016
TagUtilsTest 28 0 0 0 100% 0.054
SelectTagTest 7 0 0 0 100% 0.025
SelectTagMapTest 7 0 0 0 100% 0.105
TokenTagTest 3 0 0 0 100% 0.008
CubbyFunctionsTest 11 0 0 0 100% 0.059
InputTagTest 17 0 0 0 100% 0.043
ParamTagTest 4 0 0 0 100% 0.007

org.seasar.cubby.routing.impl

Class Tests Errors Failures Skipped Success Rate Time
PathResolverImplTest 17 0 0 0 100% 0.274
RoutingKeyTest 3 0 0 0 100% 0.004
PathTemplateParserImplTest 7 0 0 0 100% 0.026

org.seasar.cubby.internal.util

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

org.seasar.cubby.action

Class Tests Errors Failures Skipped Success Rate Time
RedirectTest 21 0 0 0 100% 0.18
DirectTest 1 0 0 0 100% 0.001
ForwardTest 8 0 0 0 100% 0.057
SendErrorTest 2 0 0 0 100% 0.002
JsonTest 2 0 0 0 100% 0.015
ActionTest 8 0 0 0 100% 0.005

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.002
DefaultBeanDescProviderFieldTest 1 0 0 0 100% 0.003
DefaultBeanDescProviderTest 2 0 0 0 100% 0.005
DefaultBeanDescProviderAttributeTest 7 0 0 0 100% 0.041

org.seasar.cubby.internal.controller.impl

Class Tests Errors Failures Skipped Success Rate Time
ValidationInvocationImplTest 2 0 0 0 100% 0.01
FormWrapperFactoryImplTest 3 0 0 0 100% 0.018
FlashMapTest 2 0 0 0 100% 0.006
RequestParameterBinderImplTest 10 0 0 0 100% 0.222
ActionContextImplTest 13 0 0 0 100% 0.038
ActionResultWrapperTest 1 0 0 0 100% 0.006
ActionProcessorImplTest 1 0 0 0 100% 0.022
ActionErrorsImplTest 2 0 0 0 100% 0.002

org.seasar.cubby.spi.impl

Class Tests Errors Failures Skipped Success Rate Time
AbstractRequestParserProviderTest 4 0 0 0 100% 0.005
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.003
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.005
MultipartRequestParserImplTest 2 0 0 0 100% 0.004
DefaultRequestParserImplTest 5 0 0 0 100% 0.014
DefaultMessagesBehaviourTest 6 0 0 0 100% 0.008
MultipartRequestParserImplMultipartRequestTest 2 0 0 0 100% 0.133

org.seasar.cubby.util

Class Tests Errors Failures Skipped Success Rate Time
ActionUtilsTest 10 0 0 0 100% 0.015
LinkBuilderTest 2 0 0 0 100% 0.007

org.seasar.cubby.validator

Class Tests Errors Failures Skipped Success Rate Time
FieldValidationRuleTest 3 0 0 0 100% 0.369
DefaultValidationRulesTest 9 0 0 0 100% 0.013
UserValidationRuleTest 1 0 0 0 100% 0.005

Test Cases

URLBodyEncoderTest

encode 0

DateFormatTest

validate 0.004

RedirectTest

getPath 0.031
basicSequence 0.011
relativePath 0.005
absolutePath 0.005
basicSequenceWithProtocol 0.012
basicSequenceWithProtocolAndPort 0.004
relativePathWithProtocol 0.008
absolutePathWithProtocol 0.004
absoluteURL 0.004
rootContextPath 0.004
redirectByClassAndMethod1 0.01
redirectByClassAndMethod2 0.005
redirectByClassAndMethod3 0.005
redirectByClassAndMethod4 0.012
redirectByClassAndMethod5 0.004
redirectByClassAndMethodFailureNoRouting 0.01
redirectByClassAndMethodFailureLessParameter 0.004
redirectByClassAndMethodFailureUnmatchParameter 0.004
param1 0.004
pParam2 0.004
param3 0.015

ProviderFactoryTest

getSingletonInstanceInMultiThread 0.001

AbstractRequestParserProviderTest

testSelect1 0.002
testSelect2 0
testSelect4 0
testSelect5 0.001

CubbyFilterLifecycleTest

unmatchAnyAction 0.004
matchAnyAction 0.004

CubbyFlterRoutingTest

routing 0.006
routingWithInternalForward 0.002
ignorePath 0.001

FieldValidationRuleTest

apply1 0.334
apply2 0.01
apply3 0.003

StringUtilsTest

equalsIgnoreCase 0
replace 0
isBlank 0
isNotBlank 0

FormatPatternImplTest

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

PathResolverImplTest

testClear 0.024
testGetRoutings 0.023
testAdd 0.026
testRoot1 0.016
testRoot2 0.011
testDefault1 0.024
testDefault2 0.019
testDefault3 0.011
testDefault4 0.012
testDefault5 0.013
testDefault6 0.012
testPath1 0.013
testPath2 0.012
testPath3 0.013
testPath4 0.013
testPath5 0.013
testPath6 0.012

MetaUtilsTest

getActionPath 0.002
getActionClassName 0
gGetPriority 0.001

FormTagTest

doTagNoChild 0.021
doTagEmptyBody 0.003
doTagWithTextAreaTag 0.007
doTagWithSpecifiedAction 0.004
doTagWithSpecifiedActionAndParam 0.014
doTagWithTextAreaAndSpecifiedActionAndParam 0.014

ActionUtilsTest

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

ArrayMinSizeTest

testValidation 0.001

TokenValidatorTest

validate 0.003

DeclaredClassTest

a 0.001

DefaultBeanDescProviderPropertyTest

invalidProperty 0.002

TokenHelperTest

validateToken 0.002
generateGUID 1.256
setToken 0

TextareaTagTest

doTag1 0.004
doTag2 0.003
doTag3 0.002

QueryStringBuilderTest

queryToString 0
queryToStringWithBaseUrl 0
queryToStringWithBaseUrlAndParams 0

CionversionUtilsTest

getWrapperClassIfPrimitive 0

ValidationInvocationImplTest

invokeActionWithNoError 0.006
invokeActionWithValidationException 0.003

DefaultValidationRulesTest

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

EncodingFilterTest

setEncoding1 0.011
setEncoding2 0.002
setForceEncoding1 0.002
setForceEncoding2 0.002
setForceEncoding3 0.001
doURIEncoding1 0.005
doURIEncoding2 0.002

SendErrorFilterTest

doFilter1 0.002
doFilter2 0.001
doFilter3 0.001
doFilter4 0
doFilter5 0.001

FormWrapperFactoryImplTest

beanToMap 0.006
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.005

CubbyHttpServletRequestWrapperTest

getAttribute 0.014
getAttributeNames 0.003
parameter 0.002
getMessagesMap_ja 0.003
getMessagesMap_en 0.001
getMessagesResourceBundle_ja 0.001
getMessagesResourceBundle_en 0.001

RegexpValidatorTest

validate1 0.001
validate2 0.001

DefaultRequestParserImplTest

getParameterMap 0.006
getEmptyParameterMap 0.004
isParsable1 0
isParsable2 0.001
isParsable3 0

FileRegexpValidatorTest

validate1 0.001
validate2 0.001

ServiceLoaderTest

load 0.005

TagUtilsTest

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

LinkBuilderTest

httpDefaultPort 0.004
http8080 0.002

DefaultBeanDescProviderFieldTest

invalidProperty 0.002

SelectTagTest

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

FlashMapTest

sequence1 0.004
sequence2 0.001

CubbyFilterProcessRequestTest

process 0.013

RequestParameterBinderImplTest

mapToBeanNullSource 0.029
mapToBean 0.024
mapToBean_OneValue 0.008
mapToBean_MultiValue 0.005
mapToBean_MultiValueIncludesEmptyValue 0.004
mapToBean_MultiValueIncludesNullValue 0.004
mapToBean_annotated 0.012
converters 0.056
convertersWithError 0.055
convertFileItem 0.015

EmailValidatorTest

validate 0.031

DefaultMessagesBehaviourTest

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

RoutingKeyTest

sort 0.001
sort2 0
duplicate 0

SelectTagMapTest

doTag1 0.068
doTag2 0.006
doTag4 0.005
doTag5 0.005
doTag11 0.005
doTag12 0.006
doTag13 0.005

ArrayMaxSizeTest

validate 0.001

TokenTagTest

doTag1 0.002
doTag2 0.001
testDoTag3 0.002

ThreadContextTest

getRequest 0.001
lifeCycle 0.001

DirectTest

testExecute 0.001

UserValidationRuleTest

userValidation 0.004

ForwardTest

getPath 0.005
param 0.003
basicSequence 0.005
relativePath 0.004
absolutePath 0.014
forwardByClassAndMethodName 0.007
forwardByClassAndIndex 0.005
forwardByClassAndMethodNameWithParam 0.009

ActionContextImplTest

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

MultipartRequestParserImplMultipartRequestTest

getParameterMap 0.131
getParameterMapEmpty 0.001

CubbyFunctionsTest

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

InputTagTest

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

SendErrorTest

sendError 0.001
sendErrorWithMessage 0

ParamTagTest

doTag1 0.001
doTag2 0.001
doTagHasIllegalParent 0.002
doTagHasNoParent 0.002

NumberValidatorTest

validate 0.009

JsonTest

execute 0.003
executeWithContentTypeAndEncoding 0.01

ActionResultWrapperTest

execute 0.005

ActionTest

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

DefaultBeanDescProviderTest

attribute 0.002
invalidProperty 0.002

PathTemplateParserImplTest

parseFail 0.017
parse1 0.001
parse2 0.001
parse3 0.003
parse4 0.001
parse5 0.001
parse6 0.001

ActionProcessorImplTest

constructor 0.021

ActionErrorsImplTest

testAdd 0
testIsEmpty1 0.001

CubbyServletTest

initialize 0.011

RegexTest

convertUri 0.001

DefaultBeanDescProviderAttributeTest

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