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

See gh-4809
pull/4829/head
Stephane Nicoll 9 years ago
parent c3328721a1
commit 3e25d99f4e

@ -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();

Loading…
Cancel
Save