forked from phoedos/pmd
rule name added to assert message
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5577 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -84,7 +84,7 @@ public abstract class RuleTst {
|
||||
t.printStackTrace();
|
||||
throw new RuntimeException("Test \"" + test.getDescription() + "\" on Rule \"" + test.getRule().getName() + "\"failed");
|
||||
}
|
||||
assertEquals("\"" + test.getDescription() + "\" test resulted in wrong number of failures,",
|
||||
assertEquals("Test \"" + test.getDescription() + "\" on Rule \"" + test.getRule().getName() + "\" resulted in wrong number of failures,",
|
||||
test.getNumberOfProblemsExpected(), res);
|
||||
} finally {
|
||||
//Restore old properties
|
||||
|
Reference in New Issue
Block a user