ppkarwasz commented on code in PR #2015:
URL: https://github.com/apache/logging-log4j2/pull/2015#discussion_r1409170118
##########
log4j-to-slf4j/src/test/java/org/apache/logging/slf4j/LogBuilderTest.java:
##########
@@ -31,31 +30,29 @@
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.message.Message;
import org.apache.logging.log4j.message.SimpleMessage;
+import org.apache.logging.log4j.test.junit.UsingStatusListener;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
-import org.slf4j.LoggerFactory;
+@UsingStatusListener
+@LoggerContextSource
public class LogBuilderTest {
- private static final String CONFIG =
"target/test-classes/logback-turbofilter.xml";
private static final CharSequence CHAR_SEQUENCE = "CharSequence";
private static final String STRING = "String";
private static final Message MESSAGE = new SimpleMessage();
private static final Object[] P = {"p0", "p1", "p2", "p3", "p4", "p5",
"p6", "p7", "p8", "p9"};
- private static final Object OBJECT = "Object";
+ private static Object OBJECT = "Object";
Review Comment:
It's a bug in `TestPropertyResolver`. I ported the fix to `main`.
--
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]