Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
31 0 0 0 100% 0.374

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.struts2.rest.handler 3 0 0 0 100% 0.117
org.apache.struts2.rest 28 0 0 0 100% 0.257

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

org.apache.struts2.rest.handler

Class Tests Errors Failures Skipped Success Rate Time
JsonLibHandlerTest 3 0 0 0 100% 0.117

org.apache.struts2.rest

Class Tests Errors Failures Skipped Success Rate Time
RestWorkflowInterceptorTest 1 0 0 0 100% 0.158
ContentTypeHandlerManagerTest 3 0 0 0 100% 0.054
DefaultHttpHeadersTest 12 0 0 0 100% 0.011
RestActionMapperTest 12 0 0 0 100% 0.034

Test Cases

RestWorkflowInterceptorTest

testCustomValidationFailureStatusCode 0.143

ContentTypeHandlerManagerTest

testHandleResultOK 0.033
testHandleResultNotModified 0.003
testHandlerOverride 0.015

DefaultHttpHeadersTest

testApply 0.002
testApplyNoLocationExtension 0
testApplyFullLocation 0.001
testAutoETag 0.001
testNoCache 0
testConditionalGetForJustETag 0
testConditionalGetForJustETagNotOK 0
testConditionalGetForJustLastModified 0.001
testConditionalGetForJustLastModifiedDifferent 0
testConditionalGetForLastModifiedAndETag 0
testConditionalGetForLastModifiedAndETagButNoCache 0
testConditionalGetForLastModifiedAndETagWithBadETag 0

RestActionMapperTest

testGetMapping 0.023
testPostMapping 0
testDeleteMapping 0.001
testPutMapping 0
testGetIdMapping 0
testNewMapping 0
testEditMapping 0
testEditSemicolonMapping 0
testGetJsessionIdSemicolonMapping 0
testParseNameAndNamespace 0.001
testParseNameAndNamespaceWithNamespaces 0
testParseNameAndNamespaceWithEdit 0.001

JsonLibHandlerTest

testFromObject 0.107
testFromObjectArray 0.005
testToObject 0.003