1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.classic.util;
15
16 import ch.qos.logback.classic.Logger;
17 import ch.qos.logback.classic.spi.ILoggingEvent;
18 import ch.qos.logback.core.read.ListAppender;
19 import org.junit.jupiter.api.Disabled;
20 import org.junit.jupiter.api.Test;
21 import org.slf4j.LoggerFactory;
22
23 import static org.junit.jupiter.api.Assertions.assertNotNull;
24
25
26
27
28 @Disabled
29 public class InitializationIntegrationTest {
30
31 @Test
32 public void smoke() {
33 @SuppressWarnings("unused")
34 Logger logger = (Logger) LoggerFactory.getLogger(this.getClass());
35 Logger root = (Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
36 ListAppender<ILoggingEvent> la = (ListAppender<ILoggingEvent>) root.getAppender("LIST");
37 assertNotNull(la);
38 }
39 }