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:
@ -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() );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user