X-Git-Url: http://git.osdn.net/view?p=mikutoga%2FPmd2XML.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Ftestdata%2Fpmd101009%2Fi18n%2FI18nTest.java;fp=src%2Ftest%2Fjava%2Ftestdata%2Fpmd101009%2Fi18n%2FI18nTest.java;h=ce749316588f273b994b593de0509190b8058311;hp=0000000000000000000000000000000000000000;hb=6b02dc790431f16012199924ee36816cef058954;hpb=0f540c10ff143ec7b4087e27c214ebece7c85fe4 diff --git a/src/test/java/testdata/pmd101009/i18n/I18nTest.java b/src/test/java/testdata/pmd101009/i18n/I18nTest.java new file mode 100644 index 0000000..ce74931 --- /dev/null +++ b/src/test/java/testdata/pmd101009/i18n/I18nTest.java @@ -0,0 +1,56 @@ +/* + */ + +package testdata.pmd101009.i18n; + +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 I18nTest { + + static Class THISCLASS = I18nTest.class; + + public I18nTest() { + 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"); + assertPmd2Xml(THISCLASS, "i18n.pmd", "i18n.xml"); + return; + } + + @Test + public void xml2pmd() throws Exception{ + System.out.println("xml2pmd"); + assertXml2Pmd(THISCLASS, "i18n.xml", "i18n.pmd"); + return; + } + +}