Issue #2161: Unify naming files with test inputs

This commit is contained in:
Michal Kordas 2015-09-11 22:48:59 +02:00
parent dba6c944cd
commit daae0431d1
5 changed files with 7 additions and 7 deletions

View File

@ -49,7 +49,7 @@ public class UpperEllTest extends BaseCheckTestSupport{
};
Configuration checkConfig = builder.getCheckConfig("UpperEll");
String filePath = builder.getFilePath("UpperEllInput");
String filePath = builder.getFilePath("InputUpperEll");
Integer[] warnList = builder.getLinesWithWarn(filePath);
verify(checkConfig, filePath, expected, warnList);

View File

@ -1,6 +1,6 @@
package com.google.checkstyle.test.chapter4formatting.rule488numericliterals;
class UpperEllInput
class InputUpperEll
{
/** test **/
private final long IGNORE = 666l + 666L; //warn

View File

@ -71,7 +71,7 @@ public class MissingDeprecatedTest extends BaseCheckTestSupport {
"56: " + getCheckMessage(MSG_KEY_ANNOTATION_MISSING_DEPRECATED),
};
verify(checkConfig, getPath("annotation" + File.separator + "BadDeprecatedAnnotation.java"), expected);
verify(checkConfig, getPath("annotation" + File.separator + "InputBadDeprecatedAnnotation.java"), expected);
}
/**
@ -121,7 +121,7 @@ public class MissingDeprecatedTest extends BaseCheckTestSupport {
"51: " + getCheckMessage(MSG_KEY_JAVADOC_DUPLICATE_TAG, "@deprecated"),
};
verify(checkConfig, getPath("annotation" + File.separator + "SpecialCaseDeprecated.java"), expected);
verify(checkConfig, getPath("annotation" + File.separator + "InputSpecialCaseDeprecated.java"), expected);
}
/**

View File

@ -4,12 +4,12 @@ package com.puppycrawl.tools.checkstyle.annotation;
* @deprecated
* stuff
*/
public class BadDeprecatedAnnotation
public class InputBadDeprecatedAnnotation
{
/**
* @deprecated stuff
*/
protected BadDeprecatedAnnotation() {
protected InputBadDeprecatedAnnotation() {
}

View File

@ -5,7 +5,7 @@ package com.puppycrawl.tools.checkstyle.annotation;
* @deprecated boo
*/
@Deprecated
public class SpecialCaseDeprecated
public class InputSpecialCaseDeprecated
{
/**
* @deprecated bleh