01: package test.net.sourceforge.pmd.renderers;
02:
03: import net.sourceforge.pmd.PMD;
04: import net.sourceforge.pmd.renderers.AbstractRenderer;
05: import net.sourceforge.pmd.renderers.EmacsRenderer;
06:
07: public class EmacsRendererTest extends AbstractRendererTst {
08:
09: public AbstractRenderer getRenderer() {
10: return new EmacsRenderer();
11: }
12:
13: public String getExpected() {
14: return PMD.EOL + "n/a:1: msg";
15: }
16:
17: public String getExpectedEmpty() {
18: return "";
19: }
20:
21: public String getExpectedMultiple() {
22: return PMD.EOL + "n/a:1: msg" + PMD.EOL + "n/a:1: msg";
23: }
24:
25: public static junit.framework.Test suite() {
26: return new junit.framework.JUnit4TestAdapter(
27: EmacsRendererTest.class);
28: }
29: }
|