aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorrnveach <rveach02@gmail.com>2015-10-12 12:05:45 -0400
committerRoman Ivanov <ivanov-jr@mail.ru>2015-10-12 13:45:35 -0700
commite9e15bff9bfc3d140d8101cb33884acb1cd87934 (patch)
treebf84f8f907a87e5a6fc58ee4152d968129b6576d /src/test/java
parent20d51043cb49e913cae8e72a80434e729419f408 (diff)
downloadcheckstyle-e9e15bff9bfc3d140d8101cb33884acb1cd87934.tar.gz
Issue #2161: unify test input locations
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/puppycrawl/tools/checkstyle/checks/design/InterfaceIsTypeCheckTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/checks/design/InterfaceIsTypeCheckTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/checks/design/InterfaceIsTypeCheckTest.java
index decf1418d..26bce395e 100644
--- a/src/test/java/com/puppycrawl/tools/checkstyle/checks/design/InterfaceIsTypeCheckTest.java
+++ b/src/test/java/com/puppycrawl/tools/checkstyle/checks/design/InterfaceIsTypeCheckTest.java
@@ -22,6 +22,9 @@ package com.puppycrawl.tools.checkstyle.checks.design;
import static com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck.MSG_KEY;
import static org.junit.Assert.assertArrayEquals;
+import java.io.File;
+import java.io.IOException;
+
import org.junit.Test;
import com.puppycrawl.tools.checkstyle.BaseCheckTestSupport;
@@ -30,6 +33,12 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes;
public class InterfaceIsTypeCheckTest
extends BaseCheckTestSupport {
+ @Override
+ protected String getPath(String filename) throws IOException {
+ return super.getPath("checks" + File.separator
+ + "design" + File.separator + filename);
+ }
+
@Test
public void testDefault()
throws Exception {