Issue #2161: Unify naming files with test inputs
This commit is contained in:
parent
dba6c944cd
commit
daae0431d1
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package com.google.checkstyle.test.chapter4formatting.rule488numericliterals;
|
||||
|
||||
class UpperEllInput
|
||||
class InputUpperEll
|
||||
{
|
||||
/** test **/
|
||||
private final long IGNORE = 666l + 666L; //warn
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ package com.puppycrawl.tools.checkstyle.annotation;
|
|||
* @deprecated
|
||||
* stuff
|
||||
*/
|
||||
public class BadDeprecatedAnnotation
|
||||
public class InputBadDeprecatedAnnotation
|
||||
{
|
||||
/**
|
||||
* @deprecated stuff
|
||||
*/
|
||||
protected BadDeprecatedAnnotation() {
|
||||
protected InputBadDeprecatedAnnotation() {
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -5,7 +5,7 @@ package com.puppycrawl.tools.checkstyle.annotation;
|
|||
* @deprecated boo
|
||||
*/
|
||||
@Deprecated
|
||||
public class SpecialCaseDeprecated
|
||||
public class InputSpecialCaseDeprecated
|
||||
{
|
||||
/**
|
||||
* @deprecated bleh
|
||||
Loading…
Reference in New Issue