Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
301 0 0 0 100% 2.539

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 12 0 0 0 100% 0.034
org.seasar.cubby.spike 1 0 0 0 100% 0.003
org.seasar.cubby.validator.validators 11 0 0 0 100% 0.038
org.seasar.cubby.tags 89 0 0 0 100% 0.429
org.seasar.cubby.internal.action.impl 21 0 0 0 100% 0.073
org.seasar.cubby.internal.routing.impl 3 0 0 0 100% 0.021
org.seasar.cubby.routing.impl 25 0 0 0 100% 0.274
org.seasar.cubby.internal.util 15 0 0 0 100% 0.593
org.seasar.cubby.action 42 0 0 0 100% 0.31
org.seasar.cubby.spi.beans.impl 9 0 0 0 100% 0.018
org.seasar.cubby.spi 1 0 0 0 100% 0.002
org.seasar.cubby.internal.controller.impl 21 0 0 0 100% 0.212
org.seasar.cubby.spi.impl 5 0 0 0 100% 0.014
org.seasar.cubby.internal.controller 7 0 0 0 100% 0.022
org.seasar.cubby.controller.impl 15 0 0 0 100% 0.13
org.seasar.cubby.util 10 0 0 0 100% 0.014
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.012

org.seasar.cubby.filter

Class Tests Errors Failures Skipped Success Rate Time
SendErrorFilterTest 5 0 0 0 100% 0.007
EncodingFilterTest 7 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.003

org.seasar.cubby.validator.validators

Class Tests Errors Failures Skipped Success Rate Time
TokenValidatorTest 2 0 0 0 100% 0.005
NumberValidatorTest 1 0 0 0 100% 0.008
ArrayMinSizeTest 1 0 0 0 100% 0.001
ArrayMaxSizeTest 1 0 0 0 100% 0.002
DateFormatTest 1 0 0 0 100% 0.005
EmailValidatorTest 1 0 0 0 100% 0.013
FileRegexpValidatorTest 2 0 0 0 100% 0.002
RegexpValidatorTest 2 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.048
TokenTagTest 3 0 0 0 100% 0.008
InputTagTest 17 0 0 0 100% 0.069
SelectTagMapTest 7 0 0 0 100% 0.126
LinkTagTest 4 0 0 0 100% 0.018
CubbyFunctionsTest 11 0 0 0 100% 0.048
TagUtilsTest 27 0 0 0 100% 0.044
SelectTagTest 7 0 0 0 100% 0.032
ParamTagTest 4 0 0 0 100% 0.025
TextareaTagTest 3 0 0 0 100% 0.011

org.seasar.cubby.internal.action.impl

Class Tests Errors Failures Skipped Success Rate Time
ActionContextImplTest 13 0 0 0 100% 0.064
FormatPatternImplTest 6 0 0 0 100% 0.006
ActionErrorsImplTest 2 0 0 0 100% 0.003

org.seasar.cubby.internal.routing.impl

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

org.seasar.cubby.routing.impl

Class Tests Errors Failures Skipped Success Rate Time
RoutingKeyTest 3 0 0 0 100% 0.005
PathResolverImplTest 15 0 0 0 100% 0.226
PathTemplateParserImplTest 7 0 0 0 100% 0.043

org.seasar.cubby.internal.util

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

org.seasar.cubby.action

Class Tests Errors Failures Skipped Success Rate Time
RedirectTest 21 0 0 0 100% 0.228
DirectTest 1 0 0 0 100% 0.001
JsonTest 2 0 0 0 100% 0.008
ForwardTest 8 0 0 0 100% 0.063
SendErrorTest 2 0 0 0 100% 0.004
ActionTest 8 0 0 0 100% 0.006

org.seasar.cubby.spi.beans.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultBeanDescProviderTest 2 0 0 0 100% 0.008
DefaultBeanDescProviderPropertyDescTest 7 0 0 0 100% 0.01

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
FormWrapperFactoryImplTest 3 0 0 0 100% 0.013
FlashMapTest 2 0 0 0 100% 0.006
RequestProcessorImplTest 1 0 0 0 100% 0.01
RequestParameterBinderImplTest 10 0 0 0 100% 0.155
ActionProcessorImplTest 1 0 0 0 100% 0.003
CubbyHttpServletRequestWrapperTest 3 0 0 0 100% 0.017
ActionResultWrapperTest 1 0 0 0 100% 0.008

org.seasar.cubby.spi.impl

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

org.seasar.cubby.internal.controller

Class Tests Errors Failures Skipped Success Rate Time
RegexTest 1 0 0 0 100% 0.008
ThreadContextTest 6 0 0 0 100% 0.014

org.seasar.cubby.controller.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultRequestParserImplTest 5 0 0 0 100% 0.012
MultipartRequestParserImplTest 2 0 0 0 100% 0.005
DefaultMessagesBehaviourTest 6 0 0 0 100% 0.018
MultipartRequestParserImplMultipartRequestTest 2 0 0 0 100% 0.095

org.seasar.cubby.util

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

org.seasar.cubby.validator

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

Test Cases

DefaultRequestParserImplTest

getParameterMap 0.007
getEmptyParameterMap 0.001
isParsable1 0.001
isParsable2 0
isParsable3 0.001

AbstractRequestParserProviderTest

testSelect1 0.002
testSelect2 0
testSelect4 0.001
testSelect5 0.008

RegexTest

convertUri 0.001

FormTagTest

doTagNoChild 0.006
doTagEmptyBody 0.009
doTagWithTextAreaTag 0.007
doTagWithSpecifiedAction 0.004
doTagWithSpecifiedActionAndParam 0.006
doTagWithTextAreaAndSpecifiedActionAndParam 0.009

TokenTagTest

doTag1 0.003
doTag2 0.002
testDoTag3 0.002

TokenValidatorTest

validate 0.003
requestIsNull 0.001

QueryStringBuilderTest

queryToString 0
queryToStringWithBaseUrl 0
queryToStringWithBaseUrlAndParams 0.001

NumberValidatorTest

validate 0.007

InputTagTest

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

FormWrapperFactoryImplTest

beanToMap 0.005
beanToMap2 0.001
beanToMap3 0.004

DefaultBeanDescProviderTest

propertyDesc 0.005
invalidProperty 0.002

FlashMapTest

sequence1 0.004
sequence2 0.001

ServiceLoaderTest

load 0.013

LruHashMapTest

all 0

RedirectTest

getPath 0.035
basicSequence 0.005
basicSequenceWithProtocol 0.006
basicSequenceWithProtocolAndPort 0.005
relativePath 0.006
relativePathWithProtocol 0.005
absolutePath 0.004
absolutePathWithProtocol 0.006
absoluteURL 0.005
rootContextPath 0.005
redirectByClassAndMethod1 0.009
redirectByClassAndMethod2 0.015
redirectByClassAndMethod3 0.006
redirectByClassAndMethod4 0.008
redirectByClassAndMethod5 0.017
redirectByClassAndMethodFailureNoRouting 0.034
redirectByClassAndMethodFailureLessParameter 0.005
redirectByClassAndMethodFailureUnmatchParameter 0.02
param1 0.007
pParam2 0.005
param3 0.004

ActionContextImplTest

clearFlash 0.008
constructWithNormalAction 0.001
invokeWithNormalAction 0.002
constructWithPojoAction 0.001
invokeWithPojoAction 0.008
getForm_noAnnotateMethod 0.002
getForm_annotateValidFormName 0.014
getForm_annotateAllPropertiesBindingType 0.001
getForm_annotateOnlySpecifiedPropertiesBindingType 0.001
getForm_annotateNoneBindingType 0.001
getForm_annotateNullFormName 0.001
getForm_annotateNotExistFormName 0.005
getForm_annotateThisFormName 0.001

RequestProcessorImplTest

process 0.01

DirectTest

testExecute 0

ProviderFactoryTest

getSingletonInstanceInMultiThread 0.001

MultipartRequestParserImplTest

invalidCotntentType 0.002
isParsable 0.001

JsonTest

execute 0.003
executeWithContentTypeAndEncoding 0.001

CubbyServletTest

initialize 0.012

ArrayMinSizeTest

testValidation 0.001

SendErrorFilterTest

doFilter1 0.002
doFilter2 0
doFilter3 0
doFilter4 0
doFilter5 0.001

ArrayMaxSizeTest

validate 0.001

ForwardTest

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

RequestParameterBinderImplTest

mapToBeanNullSource 0.027
mapToBean 0.008
mapToBean_OneValue 0.014
mapToBean_MultiValue 0.004
mapToBean_MultiValueIncludesEmptyValue 0.012
mapToBean_MultiValueIncludesNullValue 0.003
mapToBean_annotated 0.009
converters 0.038
convertersWithError 0.027
convertFileItem 0.007

CionversionUtilsTest

getWrapperClassIfPrimitive 0

DateFormatTest

validate 0.004

EmailValidatorTest

validate 0.012

ActionProcessorImplTest

constructor 0.002

ThreadContextTest

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

DefaultBeanDescProviderPropertyDescTest

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

MetaUtilsTest

getActionPath 0.002
getActionClassName 0
gGetPriority 0.001

ActionUtilsTest

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

DefaultValidationRulesTest

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

FileRegexpValidatorTest

validate1 0.002
validate2 0

UserValidationRuleTest

userValidation 0.017

SelectTagMapTest

doTag1 0.093
doTag2 0.004
doTag4 0.004
doTag5 0.005
doTag11 0.005
doTag12 0.005
doTag13 0.005

DeclaredClassTest

a 0.003

LinkTagTest

doTag 0.003
doTagWithParam 0.003
doTagOutputTag 0.004
doTagOutputTagWithParam 0.006

FormatPatternImplTest

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

CubbyHttpServletRequestWrapperTest

getAttribute 0.011
getAttributeNames 0.003
parameter 0.003

CubbyFunctionsTest

out 0
containsInCollection 0.001
containsInArray 0
containsInNull 0
containesKey 0.005
containesValue 0
odd 0
dateFormat 0.001
ifrender 0
urlWithUTF8 0.002
urlWithWindows31J 0.03

StringUtilsTest

equalsIgnoreCase 0
replace 0.001
isBlank 0
isNotBlank 0

FieldValidationRuleTest

apply1 0.262
apply2 0.011
apply3 0.004

RegexpValidatorTest

validate1 0.001
validate2 0

TokenHelperTest

validateToken 0.001
generateGUID 0.558
setToken 0.001

RoutingKeyTest

sort 0.002
sort2 0
duplicate 0

RouterImplTest

routing 0.005
routingWithInternalForward 0.011
ignorePath 0.003

SendErrorTest

sendError 0.001
sendErrorWithMessage 0.001

TagUtilsTest

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

PathResolverImplTest

testClear 0.013
testGetRoutings 0.011
testAdd 0.055
testRoot1 0.012
testRoot2 0.009
testDefault1 0.01
testDefault2 0.009
testDefault3 0.01
testDefault4 0.01
testDefault5 0.009
testPath1 0.019
testPath2 0.01
testPath3 0.01
testPath4 0.012
testPath5 0.013

SelectTagTest

doTag1 0.008
doTag2 0.004
doTag4 0.004
doTag5 0.006
doTag3 0.004
doTagNotSetValueProperty 0.002
doItemsAttributeIsNull 0.001

DefaultMessagesBehaviourTest

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

ActionTest

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

ParamTagTest

doTag1 0.002
doTag2 0.001
doTagHasIllegalParent 0.015
doTagHasNoParent 0.005

MultipartRequestParserImplMultipartRequestTest

getParameterMap 0.084
getParameterMapEmpty 0.01

TextareaTagTest

doTag1 0.004
doTag2 0.003
doTag3 0.002

PathTemplateParserImplTest

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

ActionResultWrapperTest

execute 0.007

ActionErrorsImplTest

testAdd 0.001
testIsEmpty1 0.001

EncodingFilterTest

setEncoding1 0.009
setEncoding2 0.001
setForceEncoding1 0.002
setForceEncoding2 0.002
setForceEncoding3 0.001
doURIEncoding1 0.004
doURIEncoding2 0.002