OSDN Git Service

130128版スキーマ対応
[mikutoga/Pmd2XML.git] / src / test / java / testdata / pmd130128 / charset / CharsetTest.java
diff --git a/src/test/java/testdata/pmd130128/charset/CharsetTest.java b/src/test/java/testdata/pmd130128/charset/CharsetTest.java
new file mode 100644 (file)
index 0000000..06cb0e3
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ */
+
+package testdata.pmd130128.charset;
+
+import org.junit.After;
+import org.junit.AfterClass;
+import org.junit.Before;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+import static testdata.CnvAssert.*;
+
+/**
+ *
+ */
+public class CharsetTest {
+
+    static Class<?> THISCLASS = CharsetTest.class;
+
+    public CharsetTest() {
+        assert this.getClass() == THISCLASS;
+        return;
+    }
+
+    @BeforeClass
+    public static void setUpClass() {
+    }
+
+    @AfterClass
+    public static void tearDownClass() {
+    }
+
+    @Before
+    public void setUp() {
+    }
+
+    @After
+    public void tearDown() {
+    }
+
+    @Test
+    public void pmd2xml() throws Exception{
+        System.out.println("pmd2xml");
+        assertPmd2Xml13(THISCLASS, "charset.pmd", "result.xml");
+        return;
+    }
+
+    @Test
+    public void xml2pmd() throws Exception{
+        System.out.println("xml2pmd");
+        assertXml2Pmd(THISCLASS, "source.xml", "charset.pmd");
+        return;
+    }
+
+}