Shekharrajak commented on code in PR #4513:
URL: https://github.com/apache/logging-log4j2/pull/4513#discussion_r4656857824
##########
log4j-api-test/src/test/java/org/apache/logging/log4j/status/StatusLoggerPropertiesUtilDoubleTest.java:
##########
@@ -119,4 +126,54 @@ void properties_file_in_class_path_should_be_read() {
final Properties actualProperties =
StatusLogger.PropertiesUtilsDouble.readPropertiesFile(propertiesFileName);
assertThat(actualProperties).containsExactlyEntriesOf(singletonMap("foo",
"bar"));
}
+
+ @ParameterizedTest
+ @CsvSource({"false, false, WARN", "true, false, WARN", "false, true,
TRACE", "true, true, ERROR"})
+ @ResourceLock(Resources.GLOBAL)
+ @EnabledForJreRange(
+ max = JRE.JAVA_17,
+ disabledReason = "Later JDKs require opting in to SecurityManager
support at startup")
+ void initializes_using_available_properties(
Review Comment:
covering all access combinations
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]