Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
304 0 0 0 100% 2.586

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.016
org.seasar.cubby.filter 12 0 0 0 100% 0.035
org.seasar.cubby.spike 1 0 0 0 100% 0.001
org.seasar.cubby.validator.validators 11 0 0 0 100% 0.06
org.seasar.cubby.tags 90 0 0 0 100% 0.418
org.seasar.cubby.internal.routing.impl 3 0 0 0 100% 0.014
org.seasar.cubby.routing.impl 25 0 0 0 100% 0.22
org.seasar.cubby.internal.util 15 0 0 0 100% 0.621
org.seasar.cubby.action 42 0 0 0 100% 0.266
org.seasar.cubby.spi.beans.impl 11 0 0 0 100% 0.046
org.seasar.cubby.spi 1 0 0 0 100% 0.002
org.seasar.cubby.internal.controller.impl 19 0 0 0 100% 0.289
org.seasar.cubby.spi.impl 5 0 0 0 100% 0.006
org.seasar.cubby.internal.controller 7 0 0 0 100% 0.036
org.seasar.cubby.action.impl 17 0 0 0 100% 0.07
org.seasar.cubby.controller.impl 21 0 0 0 100% 0.129
org.seasar.cubby.util 10 0 0 0 100% 0.04
org.seasar.cubby.validator 13 0 0 0 100% 0.317

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

org.seasar.cubby.filter

Class Tests Errors Failures Skipped Success Rate Time
EncodingFilterTest 7 0 0 0 100% 0.028
SendErrorFilterTest 5 0 0 0 100% 0.007

org.seasar.cubby.spike

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

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.011
DateFormatTest 1 0 0 0 100% 0.029
RegexpValidatorTest 2 0 0 0 100% 0.008
NumberValidatorTest 1 0 0 0 100% 0.002
ArrayMinSizeTest 1 0 0 0 100% 0.001
TokenValidatorTest 2 0 0 0 100% 0.004
FileRegexpValidatorTest 2 0 0 0 100% 0.003

org.seasar.cubby.tags

Class Tests Errors Failures Skipped Success Rate Time
TagUtilsTest 28 0 0 0 100% 0.051
SelectTagMapTest 7 0 0 0 100% 0.12
TextareaTagTest 3 0 0 0 100% 0.012
CubbyFunctionsTest 11 0 0 0 100% 0.032
FormTagTest 6 0 0 0 100% 0.087
TokenTagTest 3 0 0 0 100% 0.008
LinkTagTest 4 0 0 0 100% 0.017
ParamTagTest 4 0 0 0 100% 0.01
SelectTagTest 7 0 0 0 100% 0.031
InputTagTest 17 0 0 0 100% 0.05

org.seasar.cubby.internal.routing.impl

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

org.seasar.cubby.routing.impl

Class Tests Errors Failures Skipped Success Rate Time
RoutingKeyTest 3 0 0 0 100% 0.009
PathTemplateParserImplTest 7 0 0 0 100% 0.02
PathResolverImplTest 15 0 0 0 100% 0.191

org.seasar.cubby.internal.util

Class Tests Errors Failures Skipped Success Rate Time
TokenHelperTest 3 0 0 0 100% 0.567
LruHashMapTest 1 0 0 0 100% 0.001
StringUtilsTest 4 0 0 0 100% 0.003
MetaUtilsTest 3 0 0 0 100% 0.042
ServiceLoaderTest 1 0 0 0 100% 0.006
QueryStringBuilderTest 3 0 0 0 100% 0.002

org.seasar.cubby.action

Class Tests Errors Failures Skipped Success Rate Time
RedirectTest 21 0 0 0 100% 0.19
ForwardTest 8 0 0 0 100% 0.043
JsonTest 2 0 0 0 100% 0.007
SendErrorTest 2 0 0 0 100% 0.003
ActionTest 8 0 0 0 100% 0.022
DirectTest 1 0 0 0 100% 0.001

org.seasar.cubby.spi.beans.impl

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

org.seasar.cubby.spi

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

org.seasar.cubby.internal.controller.impl

Class Tests Errors Failures Skipped Success Rate Time
RequestParameterBinderImplTest 10 0 0 0 100% 0.231
ActionProcessorImplTest 1 0 0 0 100% 0.004
ActionResultWrapperTest 1 0 0 0 100% 0.01
CubbyHttpServletRequestWrapperTest 3 0 0 0 100% 0.018
FormWrapperFactoryImplTest 3 0 0 0 100% 0.016
RequestProcessorImplTest 1 0 0 0 100% 0.01

org.seasar.cubby.spi.impl

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

org.seasar.cubby.internal.controller

Class Tests Errors Failures Skipped Success Rate Time
RegexTest 1 0 0 0 100% 0.001
ThreadContextTest 6 0 0 0 100% 0.035

org.seasar.cubby.action.impl

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

org.seasar.cubby.controller.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultRequestParserImplTest 5 0 0 0 100% 0.007
MultipartRequestParserImplMultipartRequestTest 2 0 0 0 100% 0.091
MultipartRequestParserImplTest 2 0 0 0 100% 0.005
DefaultMessagesBehaviourTest 6 0 0 0 100% 0.02
FormatPatternImplTest 6 0 0 0 100% 0.006

org.seasar.cubby.util

Class Tests Errors Failures Skipped Success Rate Time
ActionUtilsTest 10 0 0 0 100% 0.04

org.seasar.cubby.validator

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

Test Cases

FieldValidationRuleTest

apply1 0.256
apply2 0.012
apply3 0.002

ArrayMaxSizeTest

validate 0.001

EmailValidatorTest

validate 0.01

FlashMapTest

sequence1 0.019
sequence2 0.001

DefaultRequestParserImplTest

getParameterMap 0.001
getEmptyParameterMap 0
isParsable1 0
isParsable2 0.001
isParsable3 0

TagUtilsTest

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

MultipartRequestParserImplMultipartRequestTest

getParameterMap 0.088
getParameterMapEmpty 0.002

MultipartRequestParserImplTest

invalidCotntentType 0.003
isParsable 0.001

DateFormatTest

validate 0.028

EncodingFilterTest

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

SelectTagMapTest

doTag1 0.066
doTag2 0.014
doTag4 0.004
doTag5 0.004
doTag11 0.005
doTag12 0.015
doTag13 0.007

RequestParameterBinderImplTest

mapToBeanNullSource 0.029
mapToBean 0.033
mapToBean_OneValue 0.013
mapToBean_MultiValue 0.013
mapToBean_MultiValueIncludesEmptyValue 0.009
mapToBean_MultiValueIncludesNullValue 0.002
mapToBean_annotated 0.015
converters 0.05
convertersWithError 0.035
convertFileItem 0.009

DefaultMessagesBehaviourTest

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

RedirectTest

getPath 0.034
basicSequence 0.006
basicSequenceWithProtocol 0.005
basicSequenceWithProtocolAndPort 0.005
relativePath 0.005
relativePathWithProtocol 0.004
absolutePath 0.005
absolutePathWithProtocol 0.007
absoluteURL 0.006
rootContextPath 0.005
redirectByClassAndMethod1 0.003
redirectByClassAndMethod2 0.005
redirectByClassAndMethod3 0.006
redirectByClassAndMethod4 0.016
redirectByClassAndMethod5 0.004
redirectByClassAndMethodFailureNoRouting 0.01
redirectByClassAndMethodFailureLessParameter 0.005
redirectByClassAndMethodFailureUnmatchParameter 0.007
param1 0.004
pParam2 0.004
param3 0.004

CubbyServletTest

initialize 0.015

TextareaTagTest

doTag1 0.003
doTag2 0.003
doTag3 0.003

ActionProcessorImplTest

constructor 0.003

ProviderFactoryTest

getSingletonInstanceInMultiThread 0.001

ActionResultWrapperTest

execute 0.01

ActionUtilsTest

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

ForwardTest

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

RoutingKeyTest

sort 0
sort2 0
duplicate 0.002

ActionErrorsImplTest

testIsEmpty1 0
testAdd 0.001

CubbyFunctionsTest

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

JsonTest

execute 0.005
executeWithContentTypeAndEncoding 0.001

RegexpValidatorTest

validate1 0.002
validate2 0

CionversionUtilsTest

getWrapperClassIfPrimitive 0

DefaultBeanDescProviderAttributeTest

setValue 0.012
setValue_null 0.001
setValue_notWritable 0.001
setValue_notWritableWithField 0.001
getValue_notReable 0.001
getValue_notReableWithField 0.001
setIllegalValue 0.013

PathTemplateParserImplTest

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

NumberValidatorTest

validate 0.002

DefaultBeanDescProviderFieldTest

invalidProperty 0.002

FormTagTest

doTagNoChild 0.008
doTagEmptyBody 0.005
doTagWithTextAreaTag 0.007
doTagWithSpecifiedAction 0.025
doTagWithSpecifiedActionAndParam 0.007
doTagWithTextAreaAndSpecifiedActionAndParam 0.019

PathResolverImplTest

testAdd 0.029
testClear 0.012
testGetRoutings 0.018
testRoot1 0.011
testRoot2 0.01
testDefault1 0.011
testDefault2 0.01
testDefault3 0.01
testDefault4 0.01
testDefault5 0.01
testPath1 0.011
testPath2 0.01
testPath3 0.009
testPath4 0.01
testPath5 0.009

ArrayMinSizeTest

testValidation 0.001

TokenHelperTest

generateGUID 0.564
setToken 0.001
validateToken 0.001

TokenTagTest

doTag1 0.004
doTag2 0.002
testDoTag3 0.002

SendErrorTest

sendError 0.001
sendErrorWithMessage 0.001

CubbyHttpServletRequestWrapperTest

getAttribute 0.011
getAttributeNames 0.003
parameter 0.003

FormWrapperFactoryImplTest

beanToMap 0.006
beanToMap2 0.003
beanToMap3 0.006

LinkTagTest

doTag 0.005
doTagWithParam 0.003
doTagOutputTag 0.004
doTagOutputTagWithParam 0.004

RouterImplTest

routing 0.004
routingWithInternalForward 0.006
ignorePath 0.003

DefaultValidationRulesTest

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

TokenValidatorTest

validate 0.003
requestIsNull 0

DeclaredClassTest

a 0.001

SendErrorFilterTest

doFilter1 0.001
doFilter2 0
doFilter3 0.001
doFilter4 0.001
doFilter5 0.001

RegexTest

convertUri 0.001

LruHashMapTest

all 0

AbstractRequestParserProviderTest

testSelect1 0.002
testSelect2 0
testSelect4 0.001
testSelect5 0

DefaultBeanDescProviderTest

attribute 0.003
invalidProperty 0.001

ActionTest

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

ThreadContextTest

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

StringUtilsTest

equalsIgnoreCase 0
replace 0
isBlank 0
isNotBlank 0.001

ActionContextImplTest

clearFlash 0.01
constructWithNormalAction 0.001
invokeWithNormalAction 0.001
constructWithPojoAction 0.001
invokeWithPojoAction 0.001
getForm_noAnnotateMethod 0.012
getForm_annotateValidFormName 0.003
getForm_annotateAllPropertiesBindingType 0.001
getForm_annotateOnlySpecifiedPropertiesBindingType 0.001
getForm_annotateNoneBindingType 0.001
getForm_annotateNullFormName 0.001
getForm_annotateNotExistFormName 0.001
getForm_annotateThisFormName 0.001

FormatPatternImplTest

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

ParamTagTest

doTag1 0.001
doTag2 0.001
doTagHasIllegalParent 0.004
doTagHasNoParent 0.002

UserValidationRuleTest

userValidation 0.01

SelectTagTest

doTag1 0.008
doTag2 0.004
doTag4 0.004
doTag5 0.005
doTag3 0.003
doTagNotSetValueProperty 0.001
doItemsAttributeIsNull 0.001

MetaUtilsTest

getActionPath 0.04
getActionClassName 0
gGetPriority 0.001

FileRegexpValidatorTest

validate1 0.002
validate2 0.001

ServiceLoaderTest

load 0.006

InputTagTest

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

QueryStringBuilderTest

queryToString 0
queryToStringWithBaseUrl 0
queryToStringWithBaseUrlAndParams 0

RequestProcessorImplTest

process 0.009

DirectTest

testExecute 0.001

DefaultBeanDescProviderPropertyTest

invalidProperty 0.002