1 package test.net.sourceforge.pmd.renderers; 2 3 import net.sourceforge.pmd.Report.ProcessingError; 4 import net.sourceforge.pmd.renderers.AbstractRenderer; 5 import net.sourceforge.pmd.renderers.YAHTMLRenderer; 6 7 public class YAHTMLRendererTest extends AbstractRendererTst { 8 9 public AbstractRenderer getRenderer() { 10 return new YAHTMLRenderer(); 11 } 12 13 public String getExpected() { 14 return "<h3 align=\"center\">The HTML files are created above the project directory.</h3>"; 15 } 16 17 public String getExpectedEmpty() { 18 return "<h3 align=\"center\">The HTML files are created above the project directory.</h3>"; 19 } 20 21 public String getExpectedMultiple() { 22 return "<h3 align=\"center\">The HTML files are created above the project directory.</h3>"; 23 } 24 25 public String getExpectedError(ProcessingError error) { 26 return "<h3 align=\"center\">The HTML files are created above the project directory.</h3>"; 27 } 28 } 29 | Popular Tags |