View Javadoc
1 package test.net.sourceforge.pmd.rules; 2 3 public class SimpleAggregatorTst extends RuleTst { 4 5 public void runTests(TestDescriptor[] tests) { 6 for (int i=0; i<tests.length; i++) { 7 try { 8 runTestFromString(tests[i].code, tests[i].numberOfProblemsExpected, tests[i].rule); 9 } catch (Throwable t) { 10 t.printStackTrace(); 11 throw new RuntimeException("Test \"" + tests[i].description + "\" failed"); 12 } 13 } 14 } 15 }

This page was automatically generated by Maven