Permalink
Browse files

Issue checkstyle#4587: Moved unused resource classes

  • Loading branch information...
Kietzmann committed Jul 9, 2017
1 parent 812b341 commit d4eba450ea65634524158c41774b670a969c6929
View
@@ -1,4 +1,4 @@
/src/test/resources/com/puppycrawl/tools/checkstyle/checks/misc/newlineatendoffile/InputNewlineLfAtEndOfFile.java eol=lf
/src/test/resources/com/puppycrawl/tools/checkstyle/checks/misc/newlineatendoffile/InputNewlineCrlfAtEndOfFile.java eol=crlf
/src/test/resources/com/puppycrawl/tools/checkstyle/checks/InputNewlineCrAtEndOfFile.java -text
/src/test/resources/com/puppycrawl/tools/checkstyle/grammars/InputNewlineCrAtEndOfFile.java -text
/src/test/resources/com/puppycrawl/tools/checkstyle/checks/misc/newlineatendoffile/InputNewlineCrAtEndOfFile.java -text
@@ -73,7 +73,7 @@ public void testWithoutProcessJavadoc() throws Exception {
"com.puppycrawl.tools.checkstyle.BaseFileSetCheckTestSupport"),
"40:8: " + getCheckMessage(MSG_KEY, "com.puppycrawl.tools.checkstyle.Definitions"),
"41:8: " + getCheckMessage(MSG_KEY,
"com.puppycrawl.tools.checkstyle.checks.Input15Extensions"),
"com.puppycrawl.tools.checkstyle.checks.imports.unusedimports.Input15Extensions"),
"42:8: " + getCheckMessage(MSG_KEY,
"com.puppycrawl.tools.checkstyle.ConfigurationLoaderTest"),
"43:8: " + getCheckMessage(MSG_KEY,
@@ -151,8 +151,8 @@ public void testCustomAstTree() throws Exception {
@Test
public void testNewlineCr() throws Exception {
verifyAst(super.getPath("/checks/InputNewlineCrAtEndOfFileAst.txt"),
super.getPath("/checks/InputAstRegressionNewlineCrAtEndOfFile.java"), true);
verifyAst(getPath("InputNewlineCrAtEndOfFileAst.txt"),
getPath("InputAstRegressionNewlineCrAtEndOfFile.java"), true);
}
@Test

This file was deleted.

Oops, something went wrong.
@@ -39,7 +39,7 @@
import com.puppycrawl.tools.checkstyle.CheckerTest;
import com.puppycrawl.tools.checkstyle.BaseFileSetCheckTestSupport;
import com.puppycrawl.tools.checkstyle.Definitions;
import com.puppycrawl.tools.checkstyle.checks.Input15Extensions;
import com.puppycrawl.tools.checkstyle.checks.imports.unusedimports.Input15Extensions;
import com.puppycrawl.tools.checkstyle.ConfigurationLoaderTest;
import com.puppycrawl.tools.checkstyle.PackageNamesLoader;
import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
@@ -41,7 +41,7 @@
import com.puppycrawl.tools.checkstyle.CheckerTest;
import com.puppycrawl.tools.checkstyle.BaseFileSetCheckTestSupport;
import com.puppycrawl.tools.checkstyle.Definitions;
import com.puppycrawl.tools.checkstyle.checks.Input15Extensions;
import com.puppycrawl.tools.checkstyle.checks.imports.unusedimports.Input15Extensions;
import com.puppycrawl.tools.checkstyle.ConfigurationLoaderTest;
import com.puppycrawl.tools.checkstyle.PackageNamesLoader;
import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
@@ -39,7 +39,7 @@
import com.puppycrawl.tools.checkstyle.CheckerTest;
import com.puppycrawl.tools.checkstyle.BaseFileSetCheckTestSupport;
import com.puppycrawl.tools.checkstyle.Definitions;
import com.puppycrawl.tools.checkstyle.checks.Input15Extensions;
import com.puppycrawl.tools.checkstyle.checks.imports.unusedimports.Input15Extensions;
import com.puppycrawl.tools.checkstyle.ConfigurationLoaderTest;
import com.puppycrawl.tools.checkstyle.PackageNamesLoader;
import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
@@ -39,7 +39,7 @@
import com.puppycrawl.tools.checkstyle.CheckerTest;
import com.puppycrawl.tools.checkstyle.BaseFileSetCheckTestSupport;
import com.puppycrawl.tools.checkstyle.Definitions;
import com.puppycrawl.tools.checkstyle.checks.Input15Extensions;
import com.puppycrawl.tools.checkstyle.checks.imports.unusedimports.Input15Extensions;
import com.puppycrawl.tools.checkstyle.ConfigurationLoaderTest;
import com.puppycrawl.tools.checkstyle.PackageNamesLoader;
import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
@@ -1,5 +1,5 @@
// someexamples of 1.5 extensions
package com.puppycrawl.tools.checkstyle.checks;
package com.puppycrawl.tools.checkstyle.checks.imports.unusedimports;
@interface MyAnnotation1 {
String name();
@@ -38,7 +38,7 @@
import com.puppycrawl.tools.checkstyle.CheckerTest;
import com.puppycrawl.tools.checkstyle.BaseFileSetCheckTestSupport;
import com.puppycrawl.tools.checkstyle.Definitions;
import com.puppycrawl.tools.checkstyle.checks.Input15Extensions;
import com.puppycrawl.tools.checkstyle.checks.imports.unusedimports.Input15Extensions;
import com.puppycrawl.tools.checkstyle.ConfigurationLoaderTest;
import com.puppycrawl.tools.checkstyle.PackageNamesLoader;
import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
@@ -0,0 +1 @@
////////////////////////////////////////////////////////////////////////////////// Test case file for checkstyle.// Created: 2015////////////////////////////////////////////////////////////////////////////////package com.puppycrawl.tools.checkstyle.grammars;/** * Test case for detection of an existing CR newline at EOF, using the * NewlineAtEndOfFileCheck. * @author Martin Steiger **/public interface InputAstRegressionNewlineCrAtEndOfFile{/** Test with ending with CR newline*/}
@@ -16,8 +16,8 @@ PACKAGE_DEF -> package [5:0]
| | | | `--IDENT -> puppycrawl [5:12]
| | | `--IDENT -> tools [5:23]
| | `--IDENT -> checkstyle [5:29]
| `--IDENT -> checks [5:40]
`--SEMI -> ; [5:46]
| `--IDENT -> grammars [5:40]
`--SEMI -> ; [5:48]
INTERFACE_DEF -> INTERFACE_DEF [12:0]
|--MODIFIERS -> MODIFIERS [12:0]
| |--BLOCK_COMMENT_BEGIN -> /* [7:0]

0 comments on commit d4eba45

Please sign in to comment.