Class com.ibm.ws.security.common.web.WebUtilsTest

82

tests

0

failures

0

ignored

0.083s

duration

100%

successful

Tests

Test Duration Result
decodeCookie_emptyArg 0.001s passed
decodeCookie_encodedSpecialChars 0s passed
decodeCookie_fullEncodedSpecialChars 0.001s passed
decodeCookie_nullArg 0s passed
decodeCookie_simpleArg 0s passed
decodeCookie_specialChars 0.001s passed
encodeCookie_emptyArg 0.001s passed
encodeCookie_nullArg 0s passed
encodeCookie_simpleArg 0s passed
encodeCookie_specialChars 0.001s passed
encodeQueryString_emptyArg 0s passed
encodeQueryString_nullArg 0.001s passed
encodeQueryString_onlyAmpersands 0.001s passed
encodeQueryString_onlyAmpersandsAndEquals 0.001s passed
encodeQueryString_simpleArg 0.001s passed
encodeQueryString_specialChars 0.001s passed
testGetRequestStringForTrace_NullRequest 0.001s passed
testGetRequestStringForTrace_doNotProcessParameterMap 0.001s passed
testGetRequestStringForTrace_noSecretInQuery 0.001s passed
testGetRequestStringForTrace_oneParameterMatches_Password 0.001s passed
testGetRequestStringForTrace_oneParameterMatches_password 0.001s passed
testGetRequestStringForTrace_oneSecretInQuery 0.001s passed
testGetRequestStringForTrace_secretInQuery 0.001s passed
testGetRequestStringForTrace_secretInQuery_Password 0.001s passed
testGetRequestStringForTrace_secretInQuery_password 0.001s passed
testGetRequestStringForTrace_simple 0.028s passed
testGetRequestStringForTrace_simpleSecretOneMiddle 0.001s passed
testGetRequestStringForTrace_simpleTwoSecrets 0.001s passed
testGetRequestStringForTrace_simple_Password 0.001s passed
testGetRequestStringForTrace_simple_password 0.001s passed
testGetRequestStringForTrace_twoParameterMatches_password 0.001s passed
testGetRequestStringForTrace_twoSecretsInParameters 0.001s passed
testGetRequestStringForTrace_twoSecretsInQuery 0.001s passed
testStripSecretFromUrl1 0.001s passed
testStripSecretFromUrl2 0.002s passed
testStripSecretFromUrl3 0.001s passed
testStripSecretFromUrl4 0s passed
testStripSecretFromUrl5 0.001s passed
testStripSecretFromUrl6 0.001s passed
testStripSecretFromUrl7 0s passed
testStripSecretFromUrl8 0.001s passed
testStripSecretFromUrlNoChange 0s passed
testStripSecretFromUrl_nonNormativeAlternative 0s passed
testStripSecretFromUrl_nonNormativeFirst 0s passed
testStripSecretFromUrl_secretFirst 0.001s passed
testStripSecretFromUrl_secretLast 0s passed
testStripSecretFromUrl_secretMiddle 0.001s passed
testStripSecretFromUrl_secretStringIsNonSecretValue 0s passed
testStripSecretFromUrl_secretSubsetOfNonSecret 0.001s passed
testStripSecretsFromParameters_Password 0s passed
testStripSecretsFromParameters_emptyInput 0s passed
testStripSecretsFromParameters_emptySecretList 0.001s passed
testStripSecretsFromParameters_noSecrets 0.001s passed
testStripSecretsFromParameters_notSecretMultiValue 0s passed
testStripSecretsFromParameters_notSecretNameIsSupersetofSecret 0.001s passed
testStripSecretsFromParameters_nullInput 0.001s passed
testStripSecretsFromParameters_nullSecretList 0.001s passed
testStripSecretsFromParameters_oneParameterMatchesFirstSecret 0s passed
testStripSecretsFromParameters_oneParameterMatchesSecondSecret 0s passed
testStripSecretsFromParameters_oneParameterMatches_Password 0.001s passed
testStripSecretsFromParameters_oneParameterMatches_password 0.001s passed
testStripSecretsFromParameters_password 0s passed
testStripSecretsFromParameters_secretMultiValue 0.003s passed
testStripSecretsFromParameters_secretWrongCase 0.001s passed
testStripSecretsFromParameters_specialCharsInNotSecretName 0s passed
testStripSecretsFromParameters_specialCharsInNotSecretValue 0s passed
testStripSecretsFromParameters_threeParametersOneNotSecret 0.001s passed
testStripSecretsFromParameters_twoParametersAreBothSecrets 0.001s passed
testStripSecretsFromUrlNoChange 0.001s passed
testStripSecretsFromUrl_specialChars 0.001s passed
testStripSecretsFromUrl_twoSecretsBothHitAfterQuery 0s passed
testStripSecretsFromUrl_twoSecretsFirstHitsAfterQuery 0s passed
testStripSecretsFromUrl_twoSecretsMultipleHits 0.001s passed
testStripSecretsFromUrl_twoSecretsOneHitFirst 0.001s passed
testStripSecretsFromUrl_twoSecretsOneHitSecond 0s passed
testStripSecretsFromUrl_twoSecretsSecondHitsAfterQuery 0.001s passed
testStripSecretsFromUrl_twoSecretsTwoHits 0s passed
testStripSecretsFromUrl_withPassword 0s passed
urlEncode_emptyArg 0s passed
urlEncode_nullArg 0s passed
urlEncode_simpleArg 0.001s passed
urlEncode_specialChars 0s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@bd9a9cbc
[WARNING ] CWWKS6104W: The configuration attribute [requiredAttribute] that is required is missing or empty and a default value is not provided. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[WARNING ] CWWKS6104W: The configuration attribute [requiredAttribute] that is required is missing or empty and a default value is not provided. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[WARNING ] CWWKS6104W: The configuration attribute [requiredAttribute] that is required is missing or empty and a default value is not provided. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[WARNING ] CWWKS6104W: The configuration attribute [requiredAttribute] that is required is missing or empty and a default value is not provided. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[WARNING ] CWWKS6104W: The configuration attribute [requiredAttribute] that is required is missing or empty and a default value is not provided. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[WARNING ] CWWKS6104W: The configuration attribute [requiredAttribute] that is required is missing or empty and a default value is not provided. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[WARNING ] CWWKS6104W: The configuration attribute [requiredAttribute] that is required is missing or empty and a default value is not provided. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
[WARNING ] CWWKS6105W: The required configuration attribute [requiredAttribute] is either missing or empty in the configuration [] and a default value is not provided. Verify that the attribute is configured, that it is not empty, and that it does not consist of only white space characters.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@bd9a9cbc
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@bd9a9cbc
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------