Issue #2161: unify test input locations

This commit is contained in:
rnveach 2015-10-10 23:19:06 -04:00 committed by Roman Ivanov
parent e81a02f59b
commit 855a88f421
2 changed files with 10 additions and 1 deletions

View File

@ -21,6 +21,9 @@ package com.puppycrawl.tools.checkstyle.checks.coding;
import static com.puppycrawl.tools.checkstyle.checks.coding.ArrayTrailingCommaCheck.MSG_KEY;
import java.io.File;
import java.io.IOException;
import org.junit.Assert;
import org.junit.Test;
@ -29,6 +32,12 @@ import com.puppycrawl.tools.checkstyle.DefaultConfiguration;
public class ArrayTrailingCommaCheckTest
extends BaseCheckTestSupport {
@Override
protected String getPath(String filename) throws IOException {
return super.getPath("checks" + File.separator
+ "coding" + File.separator + filename);
}
@Test
public void testDefault()
throws Exception {

View File

@ -1,4 +1,4 @@
package com.puppycrawl.tools.checkstyle;
package com.puppycrawl.tools.checkstyle.checks.coding;
public class InputArrayTrailingComma
{