Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
307 0 0 0 100% 2.963

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.042
org.seasar.cubby.filter 12 0 0 0 100% 0.077
org.seasar.cubby.spike 1 0 0 0 100% 0.002
org.seasar.cubby.validator.validators 11 0 0 0 100% 0.086
org.seasar.cubby.tags 90 0 0 0 100% 0.515
org.seasar.cubby.internal.routing.impl 3 0 0 0 100% 0.036
org.seasar.cubby.routing.impl 25 0 0 0 100% 0.32
org.seasar.cubby.internal.util 16 0 0 0 100% 0.627
org.seasar.cubby.action 42 0 0 0 100% 0.256
org.seasar.cubby.spi.beans.impl 11 0 0 0 100% 0.033
org.seasar.cubby.spi 1 0 0 0 100% 0.018
org.seasar.cubby.internal.controller.impl 19 0 0 0 100% 0.33
org.seasar.cubby.spi.impl 5 0 0 0 100% 0.006
org.seasar.cubby.internal.controller 7 0 0 0 100% 0.012
org.seasar.cubby.action.impl 17 0 0 0 100% 0.063
org.seasar.cubby.controller.impl 21 0 0 0 100% 0.151
org.seasar.cubby.util 12 0 0 0 100% 0.049
org.seasar.cubby.validator 13 0 0 0 100% 0.34

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.042

org.seasar.cubby.filter

Class Tests Errors Failures Skipped Success Rate Time
EncodingFilterTest 7 0 0 0 100% 0.05
SendErrorFilterTest 5 0 0 0 100% 0.027

org.seasar.cubby.spike

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

org.seasar.cubby.validator.validators

Class Tests Errors Failures Skipped Success Rate Time
DateFormatTest 1 0 0 0 100% 0.004
ArrayMinSizeTest 1 0 0 0 100% 0.002
TokenValidatorTest 2 0 0 0 100% 0.045
RegexpValidatorTest 2 0 0 0 100% 0.009
FileRegexpValidatorTest 2 0 0 0 100% 0.003
EmailValidatorTest 1 0 0 0 100% 0.02
ArrayMaxSizeTest 1 0 0 0 100% 0.002
NumberValidatorTest 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.091
TextareaTagTest 3 0 0 0 100% 0.011
LinkTagTest 4 0 0 0 100% 0.015
TagUtilsTest 28 0 0 0 100% 0.059
SelectTagTest 7 0 0 0 100% 0.046
SelectTagMapTest 7 0 0 0 100% 0.121
TokenTagTest 3 0 0 0 100% 0.008
CubbyFunctionsTest 11 0 0 0 100% 0.06
InputTagTest 17 0 0 0 100% 0.096
ParamTagTest 4 0 0 0 100% 0.008

org.seasar.cubby.internal.routing.impl

Class Tests Errors Failures Skipped Success Rate Time
RouterImplTest 3 0 0 0 100% 0.036

org.seasar.cubby.routing.impl

Class Tests Errors Failures Skipped Success Rate Time
PathResolverImplTest 15 0 0 0 100% 0.289
RoutingKeyTest 3 0 0 0 100% 0.004
PathTemplateParserImplTest 7 0 0 0 100% 0.027

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.004
TokenHelperTest 3 0 0 0 100% 0.613
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.163
DirectTest 1 0 0 0 100% 0
ForwardTest 8 0 0 0 100% 0.054
SendErrorTest 2 0 0 0 100% 0.002
JsonTest 2 0 0 0 100% 0.005
ActionTest 8 0 0 0 100% 0.032

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.01
DefaultBeanDescProviderTest 2 0 0 0 100% 0.006
DefaultBeanDescProviderAttributeTest 7 0 0 0 100% 0.014

org.seasar.cubby.spi

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

org.seasar.cubby.internal.controller.impl

Class Tests Errors Failures Skipped Success Rate Time
CubbyHttpServletRequestWrapperTest 3 0 0 0 100% 0.029
FormWrapperFactoryImplTest 3 0 0 0 100% 0.016
RequestParameterBinderImplTest 10 0 0 0 100% 0.25
RequestProcessorImplTest 1 0 0 0 100% 0.014
ActionResultWrapperTest 1 0 0 0 100% 0.018
ActionProcessorImplTest 1 0 0 0 100% 0.003

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 6 0 0 0 100% 0.011
RegexTest 1 0 0 0 100% 0.001

org.seasar.cubby.action.impl

Class Tests Errors Failures Skipped Success Rate Time
FlashMapTest 2 0 0 0 100% 0.021
ActionContextImplTest 13 0 0 0 100% 0.04
ActionErrorsImplTest 2 0 0 0 100% 0.002

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.005
DefaultRequestParserImplTest 5 0 0 0 100% 0.012
DefaultMessagesBehaviourTest 6 0 0 0 100% 0.018
MultipartRequestParserImplMultipartRequestTest 2 0 0 0 100% 0.111

org.seasar.cubby.util

Class Tests Errors Failures Skipped Success Rate Time
ActionUtilsTest 10 0 0 0 100% 0.042
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.317
DefaultValidationRulesTest 9 0 0 0 100% 0.015
UserValidationRuleTest 1 0 0 0 100% 0.008

Test Cases

URLBodyEncoderTest

encode 0

RouterImplTest

routing 0.027
routingWithInternalForward 0.005
ignorePath 0.002

DateFormatTest

validate 0.004

RedirectTest

getPath 0.026
basicSequence 0.005
relativePath 0.005
absolutePath 0.004
basicSequenceWithProtocol 0.005
basicSequenceWithProtocolAndPort 0.005
relativePathWithProtocol 0.004
absolutePathWithProtocol 0.005
absoluteURL 0.007
rootContextPath 0.005
redirectByClassAndMethod1 0.004
redirectByClassAndMethod2 0.007
redirectByClassAndMethod3 0.005
redirectByClassAndMethod4 0.004
redirectByClassAndMethod5 0.003
redirectByClassAndMethodFailureNoRouting 0.008
redirectByClassAndMethodFailureLessParameter 0.004
redirectByClassAndMethodFailureUnmatchParameter 0.03
param1 0.004
pParam2 0.004
param3 0.003

ProviderFactoryTest

getSingletonInstanceInMultiThread 0.001

AbstractRequestParserProviderTest

testSelect1 0.002
testSelect2 0.001
testSelect4 0
testSelect5 0.001

FlashMapTest

sequence1 0.018
sequence2 0.001

FieldValidationRuleTest

apply1 0.276
apply2 0.013
apply3 0.004

StringUtilsTest

equalsIgnoreCase 0
replace 0
isBlank 0
isNotBlank 0

FormatPatternImplTest

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

PathResolverImplTest

testAdd 0.05
testClear 0.013
testGetRoutings 0.021
testRoot1 0.032
testRoot2 0.01
testDefault1 0.05
testDefault2 0.008
testDefault3 0.021
testDefault4 0.01
testDefault5 0.01
testPath1 0.019
testPath2 0.011
testPath3 0.009
testPath4 0.009
testPath5 0.009

MetaUtilsTest

getActionPath 0.003
getActionClassName 0.001
gGetPriority 0

CubbyHttpServletRequestWrapperTest

getAttribute 0.011
getAttributeNames 0.003
parameter 0.015

FormTagTest

doTagNoChild 0.007
doTagEmptyBody 0.004
doTagWithTextAreaTag 0.033
doTagWithSpecifiedAction 0.005
doTagWithSpecifiedActionAndParam 0.031
doTagWithTextAreaAndSpecifiedActionAndParam 0.009

ActionUtilsTest

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

ArrayMinSizeTest

testValidation 0.001

TokenValidatorTest

validate 0.003
requestIsNull 0.041

DeclaredClassTest

a 0.001

DefaultBeanDescProviderPropertyTest

invalidProperty 0.002

TokenHelperTest

validateToken 0.002
generateGUID 0.609
setToken 0.001

TextareaTagTest

doTag1 0.004
doTag2 0.003
doTag3 0.002

QueryStringBuilderTest

queryToString 0
queryToStringWithBaseUrl 0
queryToStringWithBaseUrlAndParams 0.001

CionversionUtilsTest

getWrapperClassIfPrimitive 0

DefaultValidationRulesTest

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

EncodingFilterTest

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

SendErrorFilterTest

doFilter1 0.002
doFilter2 0.001
doFilter3 0.021
doFilter4 0.001
doFilter5 0.001

FormWrapperFactoryImplTest

beanToMap 0.006
beanToMap2 0.002
beanToMap3 0.007

MultipartRequestParserImplTest

invalidCotntentType 0.002
isParsable 0.002

LruHashMapTest

all 0

LinkTagTest

doTag 0.004
doTagWithParam 0.002
doTagOutputTag 0.003
doTagOutputTagWithParam 0.004

RegexpValidatorTest

validate1 0.007
validate2 0

DefaultRequestParserImplTest

getParameterMap 0.008
getEmptyParameterMap 0
isParsable1 0
isParsable2 0.001
isParsable3 0

FileRegexpValidatorTest

validate1 0.002
validate2 0.001

ActionContextImplTest

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

ServiceLoaderTest

load 0.005

TagUtilsTest

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

LinkBuilderTest

httpDefaultPort 0.004
http8080 0.002

DefaultBeanDescProviderFieldTest

invalidProperty 0.003

SelectTagTest

doTag1 0.015
doTag2 0.003
doTag3 0.003
doTag4 0.003
doTag5 0.003
doTagNotSetValueProperty 0.001
doItemsAttributeIsNull 0.001

RequestParameterBinderImplTest

mapToBeanNullSource 0.051
mapToBean 0.022
mapToBean_OneValue 0.009
mapToBean_MultiValue 0.005
mapToBean_MultiValueIncludesEmptyValue 0.024
mapToBean_MultiValueIncludesNullValue 0.003
mapToBean_annotated 0.01
converters 0.059
convertersWithError 0.053
convertFileItem 0.007

EmailValidatorTest

validate 0.019

RequestProcessorImplTest

process 0.014

DefaultMessagesBehaviourTest

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

RoutingKeyTest

sort 0.001
sort2 0.001
duplicate 0

SelectTagMapTest

doTag1 0.062
doTag2 0.007
doTag4 0.005
doTag5 0.006
doTag11 0.007
doTag12 0.006
doTag13 0.024

ArrayMaxSizeTest

validate 0.001

TokenTagTest

doTag1 0.003
doTag2 0.002
testDoTag3 0.002

ThreadContextTest

getRequest 0.001
getMessagesMap_ja 0.001
getMessagesMap_en 0.001
getMessagesResourceBundle_ja 0.001
getMessagesResourceBundle_en 0.001
lifeCycle 0.002

DirectTest

testExecute 0

UserValidationRuleTest

userValidation 0.007

ForwardTest

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

ActionErrorsImplTest

testIsEmpty1 0
testAdd 0

MultipartRequestParserImplMultipartRequestTest

getParameterMap 0.108
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.001
urlWithWindows31J 0.041

InputTagTest

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

SendErrorTest

sendError 0.002
sendErrorWithMessage 0

ParamTagTest

doTag1 0.002
doTag2 0.001
doTagHasIllegalParent 0.002
doTagHasNoParent 0.001

NumberValidatorTest

validate 0.001

JsonTest

execute 0.003
executeWithContentTypeAndEncoding 0.001

ActionResultWrapperTest

execute 0.017

ActionTest

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

DefaultBeanDescProviderTest

attribute 0.003
invalidProperty 0.002

PathTemplateParserImplTest

parseFail 0.019
parse1 0.001
parse2 0
parse3 0
parse4 0
parse5 0
parse6 0

ActionProcessorImplTest

constructor 0.002

CubbyServletTest

initialize 0.041

RegexTest

convertUri 0

DefaultBeanDescProviderAttributeTest

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