1
2
3
4 package net.sourceforge.pmd.ant;
5
6 import static org.junit.Assert.assertFalse;
7 import static org.junit.Assert.assertTrue;
8 import net.sourceforge.pmd.ant.Formatter;
9
10 import org.junit.Ignore;
11 import org.junit.Test;
12
13 import java.io.File;
14
15 public class FormatterTest {
16
17 @Ignore
18 @Test
19 public void testType() {
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38 }
39
40 @Test
41 public void testNull() {
42 Formatter f = new Formatter();
43 assertTrue("Formatter toFile should start off null!", f.isNoOutputSupplied());
44 f.setToFile(new File("foo"));
45 assertFalse("Formatter toFile should not be null!", f.isNoOutputSupplied());
46 }
47
48 public static junit.framework.Test suite() {
49 return new junit.framework.JUnit4TestAdapter(FormatterTest.class);
50 }
51 }