@@ -155,28 +155,28 @@ public void autoOnConsoleStatusListener() throws JoranException {
155
155
assertTrue (sll .size () == 1 , sll .size () + " should be 1" );
156
156
}
157
157
158
- @ Test
159
- public void shouldConfigureFromXmlFile () throws MalformedURLException , JoranException {
160
- assertNull (loggerContext .getObject (CoreConstants .SAFE_JORAN_CONFIGURATION ));
158
+ @ Test
159
+ public void shouldConfigureFromXmlFile () throws MalformedURLException , JoranException {
160
+ assertNull (loggerContext .getObject (CoreConstants .SAFE_JORAN_CONFIGURATION ));
161
161
162
- URL configurationFileUrl = Loader .getResource ("BOO_logback-test.xml" ,
163
- Thread .currentThread ().getContextClassLoader ());
164
- configureByResource (configurationFileUrl );
162
+ URL configurationFileUrl = Loader .getResource ("BOO_logback-test.xml" ,
163
+ Thread .currentThread ().getContextClassLoader ());
164
+ configureByResource (configurationFileUrl );
165
165
166
- assertNotNull (loggerContext .getObject (CoreConstants .SAFE_JORAN_CONFIGURATION ));
167
- }
166
+ assertNotNull (loggerContext .getObject (CoreConstants .SAFE_JORAN_CONFIGURATION ));
167
+ }
168
168
169
- // @Test
170
- // public void shouldConfigureFromGroovyScript() throws MalformedURLException, JoranException {
171
- // LoggerContext loggerContext = new LoggerContext();
172
- // ContextInitializer initializer = new ContextInitializer(loggerContext);
173
- // assertNull(loggerContext.getObject(CoreConstants.CONFIGURATION_WATCH_LIST));
174
- //
175
- // URL configurationFileUrl = Loader.getResource("test.groovy", Thread.currentThread().getContextClassLoader());
176
- // initializer.configureByResource(configurationFileUrl);
177
- //
178
- // assertNotNull(loggerContext.getObject(CoreConstants.CONFIGURATION_WATCH_LIST));
179
- // }
169
+ // @Test
170
+ // public void shouldConfigureFromGroovyScript() throws MalformedURLException, JoranException {
171
+ // LoggerContext loggerContext = new LoggerContext();
172
+ // ContextInitializer initializer = new ContextInitializer(loggerContext);
173
+ // assertNull(loggerContext.getObject(CoreConstants.CONFIGURATION_WATCH_LIST));
174
+ //
175
+ // URL configurationFileUrl = Loader.getResource("test.groovy", Thread.currentThread().getContextClassLoader());
176
+ // initializer.configureByResource(configurationFileUrl);
177
+ //
178
+ // assertNotNull(loggerContext.getObject(CoreConstants.CONFIGURATION_WATCH_LIST));
179
+ // }
180
180
181
181
private void configureByResource (URL url ) throws JoranException {
182
182
if (url == null ) {
0 commit comments