Getting bored doing this - but at least England are
still surviving in the cricket (just).
This commit is contained in:
parent
dcdf2e222a
commit
01244c83c0
|
|
@ -15,8 +15,8 @@ public class SimplifyBooleanReturnCheckTest
|
|||
public void testIt()
|
||||
throws Exception
|
||||
{
|
||||
final CheckConfiguration checkConfig = new CheckConfiguration();
|
||||
checkConfig.setClassname(SimplifyBooleanReturnCheck.class.getName());
|
||||
final DefaultConfiguration checkConfig =
|
||||
createCheckConfig(SimplifyBooleanReturnCheck.class);
|
||||
final Checker c = createChecker(checkConfig);
|
||||
final String fname = getPath("InputSimplifyBoolean.java");
|
||||
final String[] expected = {
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ public class StaticVariableNameCheckTest
|
|||
public void testSpecified()
|
||||
throws Exception
|
||||
{
|
||||
final CheckConfiguration checkConfig = new CheckConfiguration();
|
||||
checkConfig.setClassname(StaticVariableNameCheck.class.getName());
|
||||
checkConfig.addProperty("format", "^s[A-Z][a-zA-Z0-9]*$");
|
||||
final DefaultConfiguration checkConfig =
|
||||
createCheckConfig(StaticVariableNameCheck.class);
|
||||
checkConfig.addAttribute("format", "^s[A-Z][a-zA-Z0-9]*$");
|
||||
final Checker c = createChecker(checkConfig);
|
||||
final String fname = getPath("InputSimple.java");
|
||||
final String[] expected = {
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ public class TabCharacterCheckTest
|
|||
{
|
||||
public void testIt() throws Exception
|
||||
{
|
||||
final CheckConfiguration checkConfig = new CheckConfiguration();
|
||||
checkConfig.setClassname(TabCharacterCheck.class.getName());
|
||||
final DefaultConfiguration checkConfig =
|
||||
createCheckConfig(TabCharacterCheck.class);
|
||||
final Checker c = createChecker(checkConfig);
|
||||
final String fname = getPath("InputSimple.java");
|
||||
final String[] expected = {
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ public class TodoCommentCheckTest
|
|||
public void testIt()
|
||||
throws Exception
|
||||
{
|
||||
final CheckConfiguration checkConfig = new CheckConfiguration();
|
||||
checkConfig.setClassname(TodoCommentCheck.class.getName());
|
||||
checkConfig.addProperty("format", "FIXME:");
|
||||
final DefaultConfiguration checkConfig =
|
||||
createCheckConfig(TodoCommentCheck.class);
|
||||
checkConfig.addAttribute("format", "FIXME:");
|
||||
final Checker c = createChecker(checkConfig);
|
||||
final String fname = getPath("InputSimple.java");
|
||||
final String[] expected = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue