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

82

tests

0

failures

0

ignored

0.105s

duration

100%

successful

Tests

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

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@50db4ee9
[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.
[WARNING ] CWWKS6105W: The required configuration attribute [requiredAttribute] is either missing or empty in the configuration [someConfigId] 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.
[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@50db4ee9
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@50db4ee9
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------