Repository: logging-log4j2
Updated Branches:
  refs/heads/master 0916da7e8 -> 82676b52a


Quiet the noise


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/82676b52
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/82676b52
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/82676b52

Branch: refs/heads/master
Commit: 82676b52a174be775dcd6dd8668e112395fb4a48
Parents: 0916da7
Author: Ralph Goers <[email protected]>
Authored: Fri Sep 23 23:10:36 2016 -0700
Committer: Ralph Goers <[email protected]>
Committed: Fri Sep 23 23:10:36 2016 -0700

----------------------------------------------------------------------
 .../config/AbstractLog4j1ConfigurationConverterTest.java      | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/82676b52/log4j-1.2-api/src/test/java/org/apache/log4j/config/AbstractLog4j1ConfigurationConverterTest.java
----------------------------------------------------------------------
diff --git 
a/log4j-1.2-api/src/test/java/org/apache/log4j/config/AbstractLog4j1ConfigurationConverterTest.java
 
b/log4j-1.2-api/src/test/java/org/apache/log4j/config/AbstractLog4j1ConfigurationConverterTest.java
index f9209e2..ba58fd4 100644
--- 
a/log4j-1.2-api/src/test/java/org/apache/log4j/config/AbstractLog4j1ConfigurationConverterTest.java
+++ 
b/log4j-1.2-api/src/test/java/org/apache/log4j/config/AbstractLog4j1ConfigurationConverterTest.java
@@ -1,5 +1,6 @@
 package org.apache.log4j.config;
 
+import java.io.File;
 import java.io.IOException;
 import java.nio.file.FileVisitResult;
 import java.nio.file.Files;
@@ -34,6 +35,8 @@ import org.junit.runners.Parameterized;
 @RunWith(Parameterized.class)
 public abstract class AbstractLog4j1ConfigurationConverterTest {
 
+    private static String outputFile = "target/log4j1-log4j2.txt";
+
     protected static List<Path> getPaths(final String root) throws IOException 
{
         final List<Path> paths = new ArrayList<>();
         Files.walkFileTree(Paths.get(root), new SimpleFileVisitor<Path>() {
@@ -47,16 +50,20 @@ public abstract class 
AbstractLog4j1ConfigurationConverterTest {
     }
 
     private final Path pathIn;
+    private final Path pathOut;
 
     public AbstractLog4j1ConfigurationConverterTest(final Path path) {
         super();
         this.pathIn = path;
+        File file = new File(outputFile);
+        this.pathOut = file.toPath();
     }
 
     @Test
     public void test() {
         final Log4j1ConfigurationConverter.CommandLineArguments cla = new 
Log4j1ConfigurationConverter.CommandLineArguments();
         cla.setPathIn(pathIn);
+        cla.setPathOut(pathOut);
         Log4j1ConfigurationConverter.run(cla);
     }
 }

Reply via email to