Summary

TestsErrors FailuresSkippedSuccess RateTime
29000100%0.475

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

Package List

PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.struts2.rest.handler3000100%0.157
org.apache.struts2.rest26000100%0.318

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

org.apache.struts2.rest.handler

ClassTestsErrors FailuresSkippedSuccess RateTime
JsonLibHandlerTest3000100%0.157

org.apache.struts2.rest

ClassTestsErrors FailuresSkippedSuccess RateTime
ContentTypeHandlerManagerTest3000100%0.25
DefaultHttpHeadersTest12000100%0.013
RestActionMapperTest11000100%0.055

Test Cases

ContentTypeHandlerManagerTest

testHandleResultOK0.157
testHandleResultNotModified0.023
testHandlerOverride0.049

JsonLibHandlerTest

testFromObject0.144
testFromObjectArray0.007
testToObject0.003

DefaultHttpHeadersTest

testApply0.001
testApplyNoLocationExtension0.001
testApplyFullLocation0
testAutoETag0.001
testNoCache0
testConditionalGetForJustETag0
testConditionalGetForJustETagNotOK0
testConditionalGetForJustLastModified0
testConditionalGetForJustLastModifiedDifferent0
testConditionalGetForLastModifiedAndETag0.001
testConditionalGetForLastModifiedAndETagButNoCache0
testConditionalGetForLastModifiedAndETagWithBadETag0

RestActionMapperTest

testGetMapping0.042
testPostMapping0.001
testDeleteMapping0.001
testPutMapping0
testGetIdMapping0
testNewMapping0.001
testEditMapping0
testEditSemicolonMapping0.001
testParseNameAndNamespace0.001
testParseNameAndNamespaceWithNamespaces0
testParseNameAndNamespaceWithEdit0.001