New Test Case - constructors but no methods.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@137 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -43,4 +43,12 @@ public class UseSingletonRuleTest
|
||||
new UseSingletonRule());
|
||||
assertEquals( 1, report.countViolationsInCurrentFile() );
|
||||
}
|
||||
|
||||
public void testUseSingleton4()
|
||||
throws Throwable
|
||||
{
|
||||
Report report = process("design/UseSingleton4.java",
|
||||
new UseSingletonRule());
|
||||
assertEquals( 0, report.countViolationsInCurrentFile() );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user