use of net.sourceforge.pmd.FooRule in project pmd by pmd.
the class AbstractRendererTst method testConfigError.
@Test
public void testConfigError() throws Exception {
Report rep = new Report();
Report.ConfigurationError err = new Report.ConfigurationError(new FooRule(), "a configuration error");
rep.addConfigError(err);
String actual = ReportTest.render(getRenderer(), rep);
assertEquals(filter(getExpectedError(err)), filter(actual));
}
Aggregations