aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmytro Kytsmen <dmitrokytsmen@gmail.com>2017-04-21 20:56:45 +0300
committerrnveach <rveach02@gmail.com>2017-04-24 08:00:19 -0400
commitba09812af039d2c3e3f02bdb4c4d82f2a4218dad (patch)
treedf968df8e3545abbf77fa3f9e73f00ff66a6d0ad /src
parentd9249ce1d14fdddffb4c9598e6a58b6118930cb8 (diff)
downloadcheckstyle-ba09812af039d2c3e3f02bdb4c4d82f2a4218dad.tar.gz
Issue #4165: Split and Organize Checkstyle inputs by Test for checks in coding package: NestedIfDepth
Diffstat (limited to 'src')
-rw-r--r--src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/NestedIfDepthCheckTest.java4
-rw-r--r--src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/nestedifdepth/InputNestedIfDepth.java (renamed from src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputNestedIfDepth.java)2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/NestedIfDepthCheckTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/NestedIfDepthCheckTest.java
index 0204ba198..5e6474d00 100644
--- a/src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/NestedIfDepthCheckTest.java
+++ b/src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/NestedIfDepthCheckTest.java
@@ -35,7 +35,9 @@ public class NestedIfDepthCheckTest extends BaseCheckTestSupport {
@Override
protected String getPath(String filename) throws IOException {
return super.getPath("checks" + File.separator
- + "coding" + File.separator + filename);
+ + "coding" + File.separator
+ + "nestedifdepth" + File.separator
+ + filename);
}
@Test
diff --git a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputNestedIfDepth.java b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/nestedifdepth/InputNestedIfDepth.java
index fec3324e8..29a8698a5 100644
--- a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputNestedIfDepth.java
+++ b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/nestedifdepth/InputNestedIfDepth.java
@@ -1,4 +1,4 @@
-package com.puppycrawl.tools.checkstyle.checks.coding;
+package com.puppycrawl.tools.checkstyle.checks.coding.nestedifdepth;
public class InputNestedIfDepth
{
void foo() {