[slf4j-dev] svn commit: r939 - slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter
ceki at slf4j.org
ceki at slf4j.org
Thu Jan 10 21:47:41 CET 2008
Author: ceki
Date: Thu Jan 10 21:47:41 2008
New Revision: 939
Added:
slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/FileConverterTest.java
slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/ProjectConverterTest.java
Log:
- adding bogus tests
Added: slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/FileConverterTest.java
==============================================================================
--- (empty file)
+++ slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/FileConverterTest.java Thu Jan 10 21:47:41 2008
@@ -0,0 +1,34 @@
+package org.slf4j.converter;
+
+import java.io.File;
+import java.io.IOException;
+
+import junit.framework.TestCase;
+
+import org.slf4j.converter.line.EmptyRuleSet;
+import org.slf4j.converter.line.LineConverter;
+
+public class FileConverterTest extends TestCase {
+
+ public FileConverterTest(String arg0) {
+ super(arg0);
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public void test() {
+ }
+
+
+ public void XtestNOP() throws IOException {
+ InplaceFileConverter fc = new InplaceFileConverter(new LineConverter(new EmptyRuleSet()));
+ byte[] ba = fc.readFile(new File("c:/varargs.txt"));
+ fc.convert(new File("c:/varargs.txt"), ba);
+ }
+}
Added: slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/ProjectConverterTest.java
==============================================================================
--- (empty file)
+++ slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/ProjectConverterTest.java Thu Jan 10 21:47:41 2008
@@ -0,0 +1,27 @@
+package org.slf4j.converter;
+
+import java.io.File;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+public class ProjectConverterTest extends TestCase {
+
+
+ public void test() {
+ }
+
+ public void Xtest() {
+ ProjectConverter pc = new ProjectConverter(Constant.JCL_TO_SLF4J);
+
+ File projectFolder = new File("c:/home/ceki//Varia/vfs");
+ FileSelector fs = new FileSelector();
+ List<File> fileList = fs.selectJavaFilesInFolder(projectFolder);
+
+ for(File f : fileList) {
+ System.out.println(f);
+ }
+ System.out.println(fileList.size());
+ pc.convertProject(projectFolder);
+ }
+}
More information about the slf4j-dev
mailing list