Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
37000100%0.078

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.amber.oauth2.common.validators2000100%0.025
org.apache.amber.oauth2.common.domain1000100%0.003
org.apache.amber.oauth2.common.utils27000100%0.013
org.apache.amber.oauth2.common.parameters4000100%0.023
org.apache.amber.oauth2.common.message1000100%0.007
org.apache.amber.oauth2.common2000100%0.007

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

org.apache.amber.oauth2.common.validators

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractValidatorTest2000100%0.025

org.apache.amber.oauth2.common.domain

ClassTestsErrors FailuresSkippedSuccess RateTime
BasicClientInfoBuilderTest1000100%0.003

org.apache.amber.oauth2.common.utils

ClassTestsErrors FailuresSkippedSuccess RateTime
JSONUtilsTest2000100%0.007
OAuthUtilsTest25000100%0.006

org.apache.amber.oauth2.common.parameters

ClassTestsErrors FailuresSkippedSuccess RateTime
BodyURLEncodedParametersApplierTest1000100%0.006
JSONBodyParametersApplierTest1000100%0.005
QueryParameterApplierTest1000100%0.007
WWWAuthHeaderParametersApplierTest1000100%0.005

org.apache.amber.oauth2.common.message

ClassTestsErrors FailuresSkippedSuccess RateTime
OAuthResponseTest1000100%0.007

org.apache.amber.oauth2.common

ClassTestsErrors FailuresSkippedSuccess RateTime
OAuthUtilsTest2000100%0.007

Test Cases

[Summary] [Package List] [Test Cases]

BasicClientInfoBuilderTest

testNewClientInfo0.003

OAuthResponseTest

testErrorResponse0

OAuthUtilsTest

testBuildJSON0
testEncodeOAuthHeader0

BodyURLEncodedParametersApplierTest

testApplyOAuthParameters0

JSONBodyParametersApplierTest

testApplyOAuthParameters0

QueryParameterApplierTest

testApplyOAuthParameters0

WWWAuthHeaderParametersApplierTest

testApplyOAuthParameters0

JSONUtilsTest

testBuildJSON0
testParseJson0

OAuthUtilsTest

testEncodeOAuthHeader0
testFormat0
testSaveStreamAsString0
testHandleOAuthProblemException0
testHandleMissingParameters0
testHandleNotAllowedParametersOAuthException0
testDecodeForm0
testIsFormEncoded0
testDecodePercent0
testPercentEncode0
testInstantiateClass0
testInstantiateClassWithParameters0
testGetAuthHeaderField0
testDecodeOAuthHeader0
testEncodeAuthorizationBearerHeader0
testIsEmpty0
testHasEmptyValues0
testGetAuthzMethod0
testHandleOAuthError0
testDecodeScopes0
testEncodeScopes0
testIsExpired0
testGetIssuedTimeInSec0
testIsMultipart0
testHasContentType0

AbstractValidatorTest

testValidateContentType0.025
testInvalidContentType0