SupportedHttpMethodHandlerTest

9

tests

0

failures

0

ignored

0.034s

duration

100%

successful

Tests

Test Duration Result
test_buildHeaderValue_emptySet 0.005s passed
test_buildHeaderValue_multipleEntries 0s passed
test_buildHeaderValue_nullInput 0s passed
test_buildHeaderValue_singleEntry 0s passed
test_isValidHttpMethodForRequest 0s passed
test_sendUnsupportedMethodResponse 0.022s passed
test_setAllowHeaderAndSendResponse 0.004s passed
test_setAllowHeaderAndSendResponse_noSupportedMethods 0.002s 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@55bcfa77
[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 ] 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@55bcfa77
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@55bcfa77
    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 -------------------------------------------------
[11/14/25, 12:32:51:650 UTC] 00000001 SystemOut                                                    O Entering test: test_isValidHttpMethodForRequest
[11/14/25, 12:32:51:650 UTC] 00000001 SystemOut                                                    O Exiting test: test_isValidHttpMethodForRequest
[11/14/25, 12:32:51:651 UTC] 00000001 SystemOut                                                    O Entering test: test_sendUnsupportedMethodResponse
[11/14/25, 12:32:51:673 UTC] 00000001 SystemOut                                                    O Exiting test: test_sendUnsupportedMethodResponse
[11/14/25, 12:32:51:674 UTC] 00000001 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[11/14/25, 12:32:51:675 UTC] 00000001 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[11/14/25, 12:32:51:677 UTC] 00000001 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[11/14/25, 12:32:51:679 UTC] 00000001 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[11/14/25, 12:32:51:682 UTC] 00000001 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse
[11/14/25, 12:32:51:683 UTC] 00000001 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse
[11/14/25, 12:32:51:684 UTC] 00000001 SystemOut                                                    O Entering test: test_buildHeaderValue_nullInput
[11/14/25, 12:32:51:684 UTC] 00000001 SystemOut                                                    O Exiting test: test_buildHeaderValue_nullInput
[11/14/25, 12:32:51:685 UTC] 00000001 SystemOut                                                    O Entering test: test_buildHeaderValue_emptySet
[11/14/25, 12:32:51:689 UTC] 00000001 SystemOut                                                    O Exiting test: test_buildHeaderValue_emptySet
[11/14/25, 12:32:51:689 UTC] 00000001 SystemOut                                                    O Entering test: test_buildHeaderValue_singleEntry
[11/14/25, 12:32:51:689 UTC] 00000001 SystemOut                                                    O Exiting test: test_buildHeaderValue_singleEntry
[11/14/25, 12:32:51:690 UTC] 00000001 SystemOut                                                    O Entering test: test_buildHeaderValue_multipleEntries
[11/14/25, 12:32:51:690 UTC] 00000001 SystemOut                                                    O Exiting test: test_buildHeaderValue_multipleEntries

-- Trace -------------------------------------------------
[11/14/25, 12:32:51:650 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_isValidHttpMethodForRequest
[11/14/25, 12:32:51:650 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_isValidHttpMethodForRequest
[11/14/25, 12:32:51:651 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_sendUnsupportedMethodResponse
[11/14/25, 12:32:51:673 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_sendUnsupportedMethodResponse
[11/14/25, 12:32:51:674 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[11/14/25, 12:32:51:675 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[11/14/25, 12:32:51:677 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[11/14/25, 12:32:51:679 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[11/14/25, 12:32:51:682 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse
[11/14/25, 12:32:51:683 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse
[11/14/25, 12:32:51:684 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_nullInput
[11/14/25, 12:32:51:684 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_nullInput
[11/14/25, 12:32:51:685 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_emptySet
[11/14/25, 12:32:51:689 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_emptySet
[11/14/25, 12:32:51:689 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_singleEntry
[11/14/25, 12:32:51:689 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_singleEntry
[11/14/25, 12:32:51:690 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_multipleEntries
[11/14/25, 12:32:51:690 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_multipleEntries