View Javadoc

    1   package net.sourceforge.pmd.renderers;
    2
    3   import net.sourceforge.pmd.PMD;
    4
    5   public class EmacsRendererTest extends AbstractRendererTst {
    6
    7       @Override
    8       public Renderer getRenderer() {
    9           return new EmacsRenderer();
    10      }
    11
    12      @Override
    13      public String getExpected() {
    14          return "n/a:1: msg" + PMD.EOL;
    15      }
    16
    17      @Override
    18      public String getExpectedEmpty() {
    19          return "";
    20      }
    21
    22      @Override
    23      public String getExpectedMultiple() {
    24          return "n/a:1: msg" + PMD.EOL + "n/a:1: msg" + PMD.EOL;
    25      }
    26
    27      public static junit.framework.Test suite() {
    28          return new junit.framework.JUnit4TestAdapter(EmacsRendererTest.class);
    29      }
    30  }