Class io.openliberty.security.common.config.SpecificEndpointSettingsTest

5

tests

0

failures

0

ignored

0.004s

duration

100%

successful

Tests

Test Duration Result
test_constructorAndGetters 0.001s passed
test_setSupportedHttpMethods_emptyInput 0s passed
test_setSupportedHttpMethods_multipleInputs 0.001s passed
test_setSupportedHttpMethods_nullInput 0.001s passed
test_setSupportedHttpMethods_simpleInput 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@c8f9e848
[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 [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.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@c8f9e848
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@c8f9e848
    TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
Entering test: test_constructorAndGetters
Exiting test: test_constructorAndGetters
Entering test: test_setSupportedHttpMethods_nullInput
Exiting test: test_setSupportedHttpMethods_nullInput
Entering test: test_setSupportedHttpMethods_emptyInput
Exiting test: test_setSupportedHttpMethods_emptyInput
Entering test: test_setSupportedHttpMethods_simpleInput
Exiting test: test_setSupportedHttpMethods_simpleInput
Entering test: test_setSupportedHttpMethods_multipleInputs
Exiting test: test_setSupportedHttpMethods_multipleInputs

-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
[21/05/2024, 05:20:47:140 BST] 00000001 SystemOut                                                    O Entering test: test_constructorAndGetters
[21/05/2024, 05:20:47:141 BST] 00000001 SystemOut                                                    O Exiting test: test_constructorAndGetters
[21/05/2024, 05:20:47:141 BST] 00000001 SystemOut                                                    O Entering test: test_setSupportedHttpMethods_nullInput
[21/05/2024, 05:20:47:141 BST] 00000001 SystemOut                                                    O Exiting test: test_setSupportedHttpMethods_nullInput
[21/05/2024, 05:20:47:141 BST] 00000001 SystemOut                                                    O Entering test: test_setSupportedHttpMethods_emptyInput
[21/05/2024, 05:20:47:141 BST] 00000001 SystemOut                                                    O Exiting test: test_setSupportedHttpMethods_emptyInput
[21/05/2024, 05:20:47:142 BST] 00000001 SystemOut                                                    O Entering test: test_setSupportedHttpMethods_simpleInput
[21/05/2024, 05:20:47:142 BST] 00000001 SystemOut                                                    O Exiting test: test_setSupportedHttpMethods_simpleInput
[21/05/2024, 05:20:47:143 BST] 00000001 SystemOut                                                    O Entering test: test_setSupportedHttpMethods_multipleInputs
[21/05/2024, 05:20:47:143 BST] 00000001 SystemOut                                                    O Exiting test: test_setSupportedHttpMethods_multipleInputs

-- Trace -------------------------------------------------
[21/05/2024, 05:20:47:140 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: test_constructorAndGetters
[21/05/2024, 05:20:47:141 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_constructorAndGetters
[21/05/2024, 05:20:47:141 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setSupportedHttpMethods_nullInput
[21/05/2024, 05:20:47:141 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setSupportedHttpMethods_nullInput
[21/05/2024, 05:20:47:141 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setSupportedHttpMethods_emptyInput
[21/05/2024, 05:20:47:141 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setSupportedHttpMethods_emptyInput
[21/05/2024, 05:20:47:142 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setSupportedHttpMethods_simpleInput
[21/05/2024, 05:20:47:142 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setSupportedHttpMethods_simpleInput
[21/05/2024, 05:20:47:143 BST] 00000001 id=00000000 SystemOut                                                    O Entering test: test_setSupportedHttpMethods_multipleInputs
[21/05/2024, 05:20:47:143 BST] 00000001 id=00000000 .openliberty.security.common.config.SpecificEndpointSettings 3 Caught exception trying to add supported HTTP method: java.lang.IllegalArgumentException: No enum constant io.openliberty.security.common.http.SupportedHttpMethodHandler.HttpMethod.UNKNOWN
[21/05/2024, 05:20:47:143 BST] 00000001 id=00000000 .openliberty.security.common.config.SpecificEndpointSettings 3 Caught exception trying to add supported HTTP method: java.lang.IllegalArgumentException: No enum constant io.openliberty.security.common.http.SupportedHttpMethodHandler.HttpMethod.ONE
[21/05/2024, 05:20:47:143 BST] 00000001 id=00000000 .openliberty.security.common.config.SpecificEndpointSettings 3 Caught exception trying to add supported HTTP method: java.lang.IllegalArgumentException: No enum constant io.openliberty.security.common.http.SupportedHttpMethodHandler.HttpMethod.TWO
[21/05/2024, 05:20:47:143 BST] 00000001 id=00000000 .openliberty.security.common.config.SpecificEndpointSettings 3 Caught exception trying to add supported HTTP method: java.lang.IllegalArgumentException: No enum constant io.openliberty.security.common.http.SupportedHttpMethodHandler.HttpMethod.THREE
[21/05/2024, 05:20:47:143 BST] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_setSupportedHttpMethods_multipleInputs