added test to increase code coverage of JavadocMethodCheck

This commit is contained in:
Rick Giles 2002-11-08 00:41:27 +00:00
parent 0b38b65f91
commit faeb93df42
1 changed files with 13 additions and 0 deletions

View File

@ -182,4 +182,17 @@ public class JavadocMethodCheckTest
};
verify(c, fname, expected);
}
public void testScopeAnonInnerWithResolver()
throws Exception
{
final CheckConfiguration checkConfig = new CheckConfiguration();
checkConfig.setClassname(JavadocMethodCheck.class.getName());
checkConfig.addProperty("checkUnusedThrows", "true");
final Checker c = createChecker(checkConfig);
final String fname = getPath("InputScopeAnonInner.java");
final String[] expected = {
};
verify(c, fname, expected);
}
}