Class io.openliberty.security.common.http.SupportedHttpMethodHandlerTest

9

tests

0

failures

0

ignored

0.020s

duration

100%

successful

Tests

Test Duration Result
test_buildHeaderValue_emptySet 0s passed
test_buildHeaderValue_multipleEntries 0.001s passed
test_buildHeaderValue_nullInput 0s passed
test_buildHeaderValue_singleEntry 0.001s passed
test_isValidHttpMethodForRequest 0.001s passed
test_sendUnsupportedMethodResponse 0.013s passed
test_setAllowHeaderAndSendResponse 0.002s passed
test_setAllowHeaderAndSendResponse_noSupportedMethods 0.001s passed
test_setAllowHeaderAndSendResponse_nullSupportedMethods 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@2a4af302
[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 ] 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.
[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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@2a4af302
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@2a4af302
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
Entering test: test_isValidHttpMethodForRequest
Exiting test: test_isValidHttpMethodForRequest
Entering test: test_sendUnsupportedMethodResponse
Exiting test: test_sendUnsupportedMethodResponse
Entering test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
Exiting test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
Entering test: test_setAllowHeaderAndSendResponse_noSupportedMethods
Exiting test: test_setAllowHeaderAndSendResponse_noSupportedMethods
Entering test: test_setAllowHeaderAndSendResponse
Exiting test: test_setAllowHeaderAndSendResponse
Entering test: test_buildHeaderValue_nullInput
Exiting test: test_buildHeaderValue_nullInput
Entering test: test_buildHeaderValue_emptySet
Exiting test: test_buildHeaderValue_emptySet
Entering test: test_buildHeaderValue_singleEntry
Exiting test: test_buildHeaderValue_singleEntry
Entering test: test_buildHeaderValue_multipleEntries
Exiting test: test_buildHeaderValue_multipleEntries

-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
[30/03/2024, 12:21:01:959 GMT] 00000001 SystemOut                                                    O Entering test: test_isValidHttpMethodForRequest
[30/03/2024, 12:21:01:960 GMT] 00000001 SystemOut                                                    O Exiting test: test_isValidHttpMethodForRequest
[30/03/2024, 12:21:01:961 GMT] 00000001 SystemOut                                                    O Entering test: test_sendUnsupportedMethodResponse
[30/03/2024, 12:21:01:973 GMT] 00000001 SystemOut                                                    O Exiting test: test_sendUnsupportedMethodResponse
[30/03/2024, 12:21:01:974 GMT] 00000001 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[30/03/2024, 12:21:01:975 GMT] 00000001 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[30/03/2024, 12:21:01:977 GMT] 00000001 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[30/03/2024, 12:21:01:978 GMT] 00000001 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[30/03/2024, 12:21:01:979 GMT] 00000001 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse
[30/03/2024, 12:21:01:980 GMT] 00000001 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse
[30/03/2024, 12:21:01:981 GMT] 00000001 SystemOut                                                    O Entering test: test_buildHeaderValue_nullInput
[30/03/2024, 12:21:01:981 GMT] 00000001 SystemOut                                                    O Exiting test: test_buildHeaderValue_nullInput
[30/03/2024, 12:21:01:982 GMT] 00000001 SystemOut                                                    O Entering test: test_buildHeaderValue_emptySet
[30/03/2024, 12:21:01:982 GMT] 00000001 SystemOut                                                    O Exiting test: test_buildHeaderValue_emptySet
[30/03/2024, 12:21:01:983 GMT] 00000001 SystemOut                                                    O Entering test: test_buildHeaderValue_singleEntry
[30/03/2024, 12:21:01:983 GMT] 00000001 SystemOut                                                    O Exiting test: test_buildHeaderValue_singleEntry
[30/03/2024, 12:21:01:984 GMT] 00000001 SystemOut                                                    O Entering test: test_buildHeaderValue_multipleEntries
[30/03/2024, 12:21:01:985 GMT] 00000001 SystemOut                                                    O Exiting test: test_buildHeaderValue_multipleEntries

-- Trace -------------------------------------------------
[30/03/2024, 12:21:01:959 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_isValidHttpMethodForRequest
[30/03/2024, 12:21:01:960 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_isValidHttpMethodForRequest
[30/03/2024, 12:21:01:961 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_sendUnsupportedMethodResponse
[30/03/2024, 12:21:01:973 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_sendUnsupportedMethodResponse
[30/03/2024, 12:21:01:974 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[30/03/2024, 12:21:01:975 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[30/03/2024, 12:21:01:977 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[30/03/2024, 12:21:01:978 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[30/03/2024, 12:21:01:979 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse
[30/03/2024, 12:21:01:980 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse
[30/03/2024, 12:21:01:981 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_nullInput
[30/03/2024, 12:21:01:981 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_nullInput
[30/03/2024, 12:21:01:982 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_emptySet
[30/03/2024, 12:21:01:982 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_emptySet
[30/03/2024, 12:21:01:983 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_singleEntry
[30/03/2024, 12:21:01:983 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_singleEntry
[30/03/2024, 12:21:01:984 GMT] 00000001 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_multipleEntries
[30/03/2024, 12:21:01:985 GMT] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_multipleEntries