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

82

tests

0

failures

0

ignored

0.188s

duration

100%

successful

Tests

Test Duration Result
decodeCookie_emptyArg 0.002s passed
decodeCookie_encodedSpecialChars 0.001s passed
decodeCookie_fullEncodedSpecialChars 0.001s passed
decodeCookie_nullArg 0.001s passed
decodeCookie_simpleArg 0.001s passed
decodeCookie_specialChars 0.001s passed
encodeCookie_emptyArg 0.001s passed
encodeCookie_nullArg 0.001s passed
encodeCookie_simpleArg 0.001s passed
encodeCookie_specialChars 0.001s passed
encodeQueryString_emptyArg 0.001s 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.009s passed
testGetRequestStringForTrace_noSecretInQuery 0.002s passed
testGetRequestStringForTrace_oneParameterMatches_Password 0.009s passed
testGetRequestStringForTrace_oneParameterMatches_password 0.003s passed
testGetRequestStringForTrace_oneSecretInQuery 0.003s passed
testGetRequestStringForTrace_secretInQuery 0.004s passed
testGetRequestStringForTrace_secretInQuery_Password 0.002s passed
testGetRequestStringForTrace_secretInQuery_password 0.002s passed
testGetRequestStringForTrace_simple 0.042s passed
testGetRequestStringForTrace_simpleSecretOneMiddle 0.002s passed
testGetRequestStringForTrace_simpleTwoSecrets 0.006s passed
testGetRequestStringForTrace_simple_Password 0.002s passed
testGetRequestStringForTrace_simple_password 0.002s passed
testGetRequestStringForTrace_twoParameterMatches_password 0.006s passed
testGetRequestStringForTrace_twoSecretsInParameters 0.003s passed
testGetRequestStringForTrace_twoSecretsInQuery 0.003s passed
testStripSecretFromUrl1 0s passed
testStripSecretFromUrl2 0s passed
testStripSecretFromUrl3 0.001s passed
testStripSecretFromUrl4 0.001s passed
testStripSecretFromUrl5 0.001s passed
testStripSecretFromUrl6 0.001s passed
testStripSecretFromUrl7 0.001s passed
testStripSecretFromUrl8 0.002s passed
testStripSecretFromUrlNoChange 0.001s passed
testStripSecretFromUrl_nonNormativeAlternative 0.001s passed
testStripSecretFromUrl_nonNormativeFirst 0.001s passed
testStripSecretFromUrl_secretFirst 0.001s passed
testStripSecretFromUrl_secretLast 0.001s passed
testStripSecretFromUrl_secretMiddle 0.001s passed
testStripSecretFromUrl_secretStringIsNonSecretValue 0.001s passed
testStripSecretFromUrl_secretSubsetOfNonSecret 0.001s passed
testStripSecretsFromParameters_Password 0.001s passed
testStripSecretsFromParameters_emptyInput 0.001s passed
testStripSecretsFromParameters_emptySecretList 0.002s passed
testStripSecretsFromParameters_noSecrets 0.002s passed
testStripSecretsFromParameters_notSecretMultiValue 0.002s passed
testStripSecretsFromParameters_notSecretNameIsSupersetofSecret 0.006s passed
testStripSecretsFromParameters_nullInput 0.002s passed
testStripSecretsFromParameters_nullSecretList 0.002s passed
testStripSecretsFromParameters_oneParameterMatchesFirstSecret 0.002s passed
testStripSecretsFromParameters_oneParameterMatchesSecondSecret 0.003s passed
testStripSecretsFromParameters_oneParameterMatches_Password 0.002s passed
testStripSecretsFromParameters_oneParameterMatches_password 0.001s passed
testStripSecretsFromParameters_password 0.002s passed
testStripSecretsFromParameters_secretMultiValue 0.001s passed
testStripSecretsFromParameters_secretWrongCase 0.002s passed
testStripSecretsFromParameters_specialCharsInNotSecretName 0.002s passed
testStripSecretsFromParameters_specialCharsInNotSecretValue 0.002s passed
testStripSecretsFromParameters_threeParametersOneNotSecret 0.002s passed
testStripSecretsFromParameters_twoParametersAreBothSecrets 0.003s passed
testStripSecretsFromUrlNoChange 0.001s passed
testStripSecretsFromUrl_specialChars 0.001s passed
testStripSecretsFromUrl_twoSecretsBothHitAfterQuery 0.001s passed
testStripSecretsFromUrl_twoSecretsFirstHitsAfterQuery 0.001s passed
testStripSecretsFromUrl_twoSecretsMultipleHits 0.001s passed
testStripSecretsFromUrl_twoSecretsOneHitFirst 0.001s passed
testStripSecretsFromUrl_twoSecretsOneHitSecond 0.001s passed
testStripSecretsFromUrl_twoSecretsSecondHitsAfterQuery 0.001s passed
testStripSecretsFromUrl_twoSecretsTwoHits 0.001s passed
testStripSecretsFromUrl_withPassword 0.001s passed
urlEncode_emptyArg 0.002s passed
urlEncode_nullArg 0.001s passed
urlEncode_simpleArg 0.001s 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@81b66a54
[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 [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 ] 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 [] 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@81b66a54
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@81b66a54
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------