Commit 3e25d99f authored by Stephane Nicoll's avatar Stephane Nicoll

Add test to validate `log42-spring.xml` location

See gh-4809
parent c3328721
......@@ -191,6 +191,13 @@ public class Log4J2LoggingSystemTests extends AbstractLoggingSystemTests {
"log4j2.jsn", "log4j2.xml")));
}
@Test
public void springConfigLocations() throws Exception {
String[] locations = getSpringConfigLocations(this.loggingSystem);
assertThat(locations,
equalTo(new String[] { "log4j2-spring.xml" }));
}
@Test
public void exceptionsIncludeClassPackaging() throws Exception {
this.loggingSystem.beforeInitialize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment