verify(checkConfig, getPath("usage/InputUnusedLocal.java"), expected);
}
public void testIgnoreFormat() throws Exception
{
final DefaultConfiguration checkConfig =
createCheckConfig(UnusedLocalVariableCheck.class);
checkConfig.addAttribute("ignoreFormat", "Array$");
final String[] expected = {
"13:13: Unused local variable 'mUnreadPrimitive'.",
"24:16: Unused local variable 'unreadObject'.",
"45:13: Unused local variable 'java'.",
};