OSDN Git Service

XML出力改善
[mikutoga/Pmd2XML.git] / src / test / java / testdata / pmd101009 / charset / CharsetTest.java
1 /*
2  */
3
4 package testdata.pmd101009.charset;
5
6 import org.junit.After;
7 import org.junit.AfterClass;
8 import org.junit.Before;
9 import org.junit.BeforeClass;
10 import org.junit.Test;
11
12 import static testdata.CnvAssert.*;
13
14 /**
15  *
16  */
17 public class CharsetTest {
18
19     static Class<?> THISCLASS = CharsetTest.class;
20
21     public CharsetTest() {
22         assert this.getClass() == THISCLASS;
23         return;
24     }
25
26     @BeforeClass
27     public static void setUpClass() {
28     }
29
30     @AfterClass
31     public static void tearDownClass() {
32     }
33
34     @Before
35     public void setUp() {
36     }
37
38     @After
39     public void tearDown() {
40     }
41
42     @Test
43     public void pmd2xml() throws Exception{
44         System.out.println("pmd2xml");
45         assertPmd2Xml(THISCLASS, "charset.pmd", "result.xml");
46         return;
47     }
48
49     @Test
50     public void xml2pmd() throws Exception{
51         System.out.println("xml2pmd");
52         assertXml2Pmd(THISCLASS, "source.xml", "charset.pmd");
53         return;
54     }
55
56 }