Puting in proper values in UseSingletonRuleTest.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@131 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
David Dixon-Peugh
2002-06-28 17:45:28 +00:00
parent 9fddbd5c8e
commit c4460be0e5

View File

@ -25,7 +25,7 @@ public class UseSingletonRuleTest
{
Report report = process("design/UseSingleton1.java",
new UseSingletonRule());
assertEquals( 0, report.countViolationsInCurrentFile() );
assertEquals( 1, report.countViolationsInCurrentFile() );
}
public void testUseSingleton2()
@ -41,6 +41,6 @@ public class UseSingletonRuleTest
{
Report report = process("design/UseSingleton3.java",
new UseSingletonRule());
assertEquals( 0, report.countViolationsInCurrentFile() );
assertEquals( 1, report.countViolationsInCurrentFile() );
}
}