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:
David Dixon-Peugh
2002-06-28 18:39:23 +00:00
parent 344c367519
commit 901380146c

View File

@ -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() );
}
}