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

9

tests

0

failures

0

ignored

0.022s

duration

100%

successful

Tests

Test Duration Result
test_buildHeaderValue_emptySet 0.001s passed
test_buildHeaderValue_multipleEntries 0.001s passed
test_buildHeaderValue_nullInput 0.001s passed
test_buildHeaderValue_singleEntry 0.001s passed
test_isValidHttpMethodForRequest 0.001s passed
test_sendUnsupportedMethodResponse 0.014s passed
test_setAllowHeaderAndSendResponse 0.001s passed
test_setAllowHeaderAndSendResponse_noSupportedMethods 0.001s passed
test_setAllowHeaderAndSendResponse_nullSupportedMethods 0.001s passed

Standard output

[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 [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 [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.
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 -------------------------------------------------
[27/07/2021, 14:43:00:645 BST] 00000015 SystemOut                                                    O Entering test: test_isValidHttpMethodForRequest
[27/07/2021, 14:43:00:645 BST] 00000015 SystemOut                                                    O Exiting test: test_isValidHttpMethodForRequest
[27/07/2021, 14:43:00:646 BST] 00000015 SystemOut                                                    O Entering test: test_sendUnsupportedMethodResponse
[27/07/2021, 14:43:00:660 BST] 00000015 SystemOut                                                    O Exiting test: test_sendUnsupportedMethodResponse
[27/07/2021, 14:43:00:660 BST] 00000015 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[27/07/2021, 14:43:00:661 BST] 00000015 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[27/07/2021, 14:43:00:662 BST] 00000015 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[27/07/2021, 14:43:00:663 BST] 00000015 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[27/07/2021, 14:43:00:664 BST] 00000015 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse
[27/07/2021, 14:43:00:665 BST] 00000015 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse
[27/07/2021, 14:43:00:665 BST] 00000015 SystemOut                                                    O Entering test: test_buildHeaderValue_nullInput
[27/07/2021, 14:43:00:666 BST] 00000015 SystemOut                                                    O Exiting test: test_buildHeaderValue_nullInput
[27/07/2021, 14:43:00:666 BST] 00000015 SystemOut                                                    O Entering test: test_buildHeaderValue_emptySet
[27/07/2021, 14:43:00:667 BST] 00000015 SystemOut                                                    O Exiting test: test_buildHeaderValue_emptySet
[27/07/2021, 14:43:00:667 BST] 00000015 SystemOut                                                    O Entering test: test_buildHeaderValue_singleEntry
[27/07/2021, 14:43:00:668 BST] 00000015 SystemOut                                                    O Exiting test: test_buildHeaderValue_singleEntry
[27/07/2021, 14:43:00:668 BST] 00000015 SystemOut                                                    O Entering test: test_buildHeaderValue_multipleEntries
[27/07/2021, 14:43:00:669 BST] 00000015 SystemOut                                                    O Exiting test: test_buildHeaderValue_multipleEntries

-- Trace -------------------------------------------------
[27/07/2021, 14:43:00:645 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_isValidHttpMethodForRequest
[27/07/2021, 14:43:00:645 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_isValidHttpMethodForRequest
[27/07/2021, 14:43:00:646 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_sendUnsupportedMethodResponse
[27/07/2021, 14:43:00:660 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_sendUnsupportedMethodResponse
[27/07/2021, 14:43:00:660 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[27/07/2021, 14:43:00:661 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_nullSupportedMethods
[27/07/2021, 14:43:00:662 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[27/07/2021, 14:43:00:663 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse_noSupportedMethods
[27/07/2021, 14:43:00:664 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_setAllowHeaderAndSendResponse
[27/07/2021, 14:43:00:665 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_setAllowHeaderAndSendResponse
[27/07/2021, 14:43:00:665 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_nullInput
[27/07/2021, 14:43:00:666 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_nullInput
[27/07/2021, 14:43:00:666 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_emptySet
[27/07/2021, 14:43:00:667 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_emptySet
[27/07/2021, 14:43:00:667 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_singleEntry
[27/07/2021, 14:43:00:668 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_singleEntry
[27/07/2021, 14:43:00:668 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: test_buildHeaderValue_multipleEntries
[27/07/2021, 14:43:00:669 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_buildHeaderValue_multipleEntries