Revision 62519
Added by Katerina Iatropoulou over 1 year ago
XsltTransformerTest.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.data.search.transform; |
2 | 2 |
|
3 |
import org.apache.log4j.BasicConfigurator; |
|
3 |
import org.apache.logging.log4j.Level; |
|
4 |
import org.apache.logging.log4j.core.config.Configurator; |
|
5 |
import org.apache.logging.log4j.core.config.DefaultConfiguration; |
|
4 | 6 |
import org.junit.Before; |
5 | 7 |
import org.junit.Test; |
6 | 8 |
|
... | ... | |
9 | 11 |
public class XsltTransformerTest { |
10 | 12 |
@Before |
11 | 13 |
public void setup() throws IOException { |
12 |
BasicConfigurator.configure(); |
|
14 |
Configurator.initialize(new DefaultConfiguration()); |
|
15 |
Configurator.setRootLevel(Level.INFO); |
|
13 | 16 |
} |
14 | 17 |
@Test |
15 | 18 |
public void TestTransformer() throws Exception{ |
Also available in: Unified diff
moved to log4j2 security update