View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.renderers;
5   
6   import net.sourceforge.pmd.PMD;
7   
8   
9   public class TextPadRendererTest extends AbstractRendererTst{
10  
11      @Override
12      public Renderer getRenderer() {
13          return new TextPadRenderer();
14      }
15  
16      @Override
17      public String getExpected() {
18          return "n/a(1,  Foo):  msg" + PMD.EOL;
19      }
20  
21      @Override
22      public String getExpectedEmpty() {
23          return "";
24      }
25  
26      @Override
27      public String getExpectedMultiple() {
28          return "n/a(1,  Foo):  msg" + PMD.EOL + "n/a(1,  Foo):  msg" + PMD.EOL;
29      }
30  
31      public static junit.framework.Test suite() {
32          return new junit.framework.JUnit4TestAdapter(TextPadRendererTest.class);
33      }
34  }
35  
36  
37  
38  
39  
40  
41  
42  
43