Note: failures are anticipated and checked for with assertions while errors are unanticipated.
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
|
Class |
Tests |
Errors |
Failures |
Skipped |
Success Rate |
Time |
|
TestEncryptedCookieEncoder
|
3 |
0 |
0 |
0 |
100% |
0.096 |
|
Class |
Tests |
Errors |
Failures |
Skipped |
Success Rate |
Time |
|
TestNullSecurityController
|
1 |
0 |
0 |
0 |
100% |
0.002 |
|
Class |
Tests |
Errors |
Failures |
Skipped |
Success Rate |
Time |
|
TestCommonsHttpClientTrustedRequest
|
2 |
0 |
0 |
0 |
100% |
0.046 |
 |
testCannotCreateWithNullHttpMethod |
0.044 |
 |
testAddRequestParameter |
0 |
 |
testGetApplicationCertificateReturnsEmpty |
0.005 |
 |
testGetApplicationCertificateNotFoundAtAll |
0.001 |
 |
testGetApplicationCertificateMalformedUrl |
0 |
 |
testGetApplicationCertificateReturnsProperly |
0.003 |
 |
testDecodeBadSecretKey |
0.016 |
 |
testDecodeSecretKey |
0.022 |
 |
testDecodeBadMagicNumber |
0.011 |
 |
testDecodeInvalidCertificate |
0.02 |
 |
testDecodeNumberFormatException |
0.02 |
 |
testDecodeNullMagicNumberVersion0 |
0.011 |
 |
testDecodeNullMagicNumberVersion1 |
0.009 |
 |
testBCSecretKeyFactory |
0 |
 |
testSecretKeyValidatorValidatesLength16 |
0 |
 |
testSecretKeyValidatorInValidatesLengthLessThan16 |
0 |
 |
testSecretKeyValidatorInValidatesLengthGreaterThan16 |
0 |
 |
testSecretKeyValidatorInValidatesLeadingZero |
0 |
 |
testValidatingSecretKeyFactory |
0 |
 |
testIpMatcherFailsOutOfRangeNumber |
0.001 |
 |
testIpMatcherFailsOutOfRangeNegativeNumber |
0.001 |
 |
testIpMatcherFailsIllegalWildcard |
0 |
 |
testDefIPMatcher |
0.001 |
 |
testEmptyIpMatcherMatchesEverything |
0 |
 |
testAllGood |
0.001 |
 |
testBadIpAddress |
0.001 |
 |
testIpAddressInXForwardedForChecked |
0.001 |
 |
testMultipleIpAddressesInXForwardedForChecked |
0 |
 |
testBadIpAddressInXForwardedFor |
0 |
 |
testBadUrl |
0 |
 |
testContextPathRemoval |
0 |
 |
testNullIpMatcher |
0 |
 |
testNullUrlMatcher |
0 |
 |
testProductionCtor |
0.004 |
 |
testProductionCtorThrowsNullKey |
0 |
 |
testProductionCtorThrowsNullId |
0.002 |
 |
testProductionCtorThrowsNullUrlMatcher |
0 |
 |
testProductionCtorThrowsNullIpMatcher |
0 |
 |
testSimpleConstructor |
0.001 |
 |
testSimpleConstructorNullApp |
0 |
 |
testSimpleConstructorNullMap |
0 |
 |
testConstructorEncryptionProvider |
0.001 |
 |
testConstructorEncryptionProviderThrowsNoSuchAlgorithmException |
0.001 |
 |
testConstructorEncryptionProviderThrowsNoSuchProviderException |
0 |
 |
testDefaultURLMatcher |
0 |
 |
testDefaultURLMatcherAgainstEmptySet |
0 |
 |
testGetApplicationListV0 |
0 |
 |
testGetApplicationListV1 |
0.001 |
 |
testGetApplicationListTooSmall |
0 |
 |
testConstructorAppIdParamContainNoNullsV1 |
0 |
 |
testConstructorParamsContainNullsV1 |
0 |
 |
testConstructorAppIdParamContainNullsV1 |
0 |
 |
testConstructorPublicKeyParamContainNullsV1 |
0 |
 |
testConstructorAppIdParamContainNoNullsV0 |
0 |
 |
testConstructorParamsContainNullsV0 |
0 |
 |
testConstructorAppIdParamContainNullsV0 |
0 |
 |
testConstructorPublicKeyParamContainNullsV0 |
0 |
 |
testProtocolVersion0 |
0.006 |
 |
testProtocolVersion1 |
0.002 |
 |
testProtocolVersion1BadMagic |
0.003 |
 |
testBadReaderThrowsCtorException |
0 |
 |
testSplitSimple |
0 |
 |
testSplitSimpleNoTrailingCloseBrace |
0 |
 |
testSplitWithCommaValues |
0 |
 |
testSplitWithNulls |
0 |
 |
testSplitWithTrailingComma |
0.001 |
 |
testSplitWithTrailingCommaNoTrailingBrace |
0 |
 |
testSplitEmpty |
0 |
 |
testSplitPartialEmpty |
0 |
 |
testSplitThrowsNoLeadingBrace |
0 |
 |
testArrayToString |
0.001 |
 |
testArrayToStringEncodesQuotes |
0 |
 |
testArrayToStringEncodesSemiTab |
0 |
 |
testRoundTripWithQuotes |
0 |
 |
testRoundTripWithTabs |
0 |
 |
testNullCodeCtor |
0 |
 |
testNullSingleMessageCtor |
0 |
 |
testNullStringArrayCtor |
0 |
 |
testStringArrayContainsNullCtor |
0 |
 |
testNullSingleStringCtor |
0.001 |
 |
testNullSecondStringCtor |
0 |
 |
testNullThirdStringCtor |
0 |
 |
testCtorWorks |
0 |
 |
testParseSingle |
0.004 |
 |
testParseThrowsIfTooShort |
0 |
 |
testLogout |
0.041 |
 |
testLoginWithNoCustomCookiePath |
0.005 |
 |
testLoginWithCustomCookiePath |
0.011 |
 |
testGetUserChecksSessionFirst |
0.005 |
 |
testGetUserChecksCookieIfNoSession |
0.003 |
 |
testGetUserReturnsNullWithNoValidAuthentication |
0.003 |
 |
testGetUserBasicAuthRequiredButMissing |
0.003 |
 |
testGetUserBasicAuthProvided |
0.005 |
 |
testEncodePasswordCookieAndDecode |
0.093 |
 |
testDecodePasswordCookieBadText |
0.002 |
 |
testCannotCreateEncryptedCookieEncoderWithNullPassword |
0 |
 |
testKnownAppProtocolVersion0 |
0.002 |
 |
testKnownAppProtocolVersion1 |
0 |
 |
testUnknownApp |
0 |
 |
testBlankAppId |
0.001 |
 |
testBadProtocolVersion |
0 |
 |
testMissingSecretKey |
0 |
 |
testMissingMagicNumber |
0 |
 |
testBadCertificate |
0.003 |
 |
testPrincipalNotFound |
0 |
 |
testPrincipalLoginDenied |
0.001 |
 |
testBadRequestIp |
0.001 |
 |
testBadXForwardIp |
0 |
 |
testBadRequestUrl |
0.001 |
 |
testCertificateServer |
0.166 |
 |
testCertificateServerWriterExceptionThrowsWrappedRuntimeEx |
0.001 |
 |
testAuthenticatorResultCtor |
0.001 |
 |
testFilterLifecycle |
0.048 |
 |
testGetPathInfoNullContext |
0.007 |
 |
testGetPathInfoWithContext |
0.001 |
 |
testCertificateServerCalledForTrustURL |
0.006 |
 |
testAuthenticateCalledForNonCertURL |
0.003 |
 |
testSessionInvalidateCalledForNonCertURLWhenExceptionThrown |
0.001 |
 |
testSessionInvalidateNotCalledForNonCertURLWhenResultFailed |
0.001 |
 |
testSessionInvalidateNotCalledForNonCertURLWhenResultError |
0.001 |
 |
testSessionInvalidateNotCalledForNonCertURLWhenResultNoAttempt |
0.002 |
 |
testAythenticateNotCalledWhenAlreadyLoggedIn |
0.001 |
 |
testResultStatusSuccess |
0 |
 |
testResultStatusFailed |
0 |
 |
testResultStatusError |
0 |
 |
testResultStatusNoAttempt |
0.001 |
 |
testKnownAppProtocolVersion0 |
0.099 |
 |
testKnownAppProtocolVersion1 |
0.095 |
 |
testUnknownApp |
0 |
 |
testBadCertificate |
0.099 |
 |
testBadRequestIp |
0.098 |
 |
testBadXForwardIp |
0.098 |
 |
testBadRequestUrl |
0.098 |
 |
testNoTrustedAppAttempt |
0.001 |
 |
testBadSecretKey |
0.098 |
 |
testBadPublicKey |
0.095 |
 |
testInternalLogoutPageCausesRedirectWithNoLogoutCalled |
0.009 |
 |
testExternalLogoutPageCausesLogoutAndRedirect |
0 |
 |
testParseRolesWorksWithSingleRole |
0.017 |
 |
testParseRolesPrefixingAndSuffixingSeparatorsShouldBeDiscarded |
0.001 |
 |
testParseRolesJustAQuoteShouldReturnEmptyArray |
0 |
 |
testParseRolesWorksWithExtraSpacesAndIsUserFriendlyEnough |
0 |
 |
testParseRolesAlsoWorksWithNewLinesAndTabs |
0 |
 |
testParseRolesWorksWithNoSpacesToo |
0 |
 |
testWithUnspecifiedActionsXmlFileParameter |
0.027 |
 |
testWithSpecifiedActionsXmlFileParameter |
0.001 |
 |
testWithSpecifiedActionExtensionsParameter |
0.031 |
 |
testRelativeLoginURLHasCorrectOSDestinationSet |
0.02 |
 |
testAbsoluteLoginURLHasCorrectOSDestinationSet |
0.001 |
 |
testRelativeLinkLoginURLHasCorrectOSDestinationSet |
0 |
 |
testAbsoluteLinkLoginURLHasCorrectOSDestinationSet |
0 |
 |
testOsDestinationKeepsOriginalValueWithLinkLoginURL |
0 |
 |
testOsDestinationKeepsOriginalValueWithLoginURL |
0 |
 |
testAppendPathToContext |
0 |