Issue #2880: moved compilable resources to resource folder

This commit is contained in:
rnveach 2016-02-06 21:41:32 -05:00 committed by Roman Ivanov
parent 07d477a710
commit 06ed1d48da
5 changed files with 2 additions and 3 deletions

View File

@ -139,8 +139,7 @@ public class GenericWhitespaceCheckTest
@Test
public void testGenericEndsTheLine() throws Exception {
final String[] expected = ArrayUtils.EMPTY_STRING_ARRAY;
verify(checkConfig, getNonCompilablePath("InputGenericWhitespaceEndsTheLine.java"),
expected);
verify(checkConfig, getPath("InputGenericWhitespaceEndsTheLine.java"), expected);
}
@Test

View File

@ -40,7 +40,7 @@ import com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck;
public class AllChecksTest extends BaseCheckTestSupport {
@Test
public void testAllChecksWithDefaultConfiguration() throws Exception {
final String inputFilePath = getNonCompilablePath("InputDefaultConfig.java");
final String inputFilePath = getPath("InputDefaultConfig.java");
final String[] expected = ArrayUtils.EMPTY_STRING_ARRAY;
for (Class<?> check : CheckUtil.getCheckstyleChecks()) {