private final String defaultResourceFolder = "src/test/resources/checks/";
private DefaultFileSystem fs = new DefaultFileSystem(new File("."));
@Before
public void setUp() {
Locale.setDefault(Locale.ENGLISH);
<BUG>}
protected Collection<AnalyzerMessage> scanFile(String filename, SquidAstVisitor<Grammar> check) {</BUG>
String relativePath = defaultResourceFolder + filename;
DefaultInputFile inputFile = new DefaultInputFile(relativePath).setLanguage("plsqlopen");
inputFile.setAbsolutePath((new File(relativePath)).getAbsolutePath());

private final String defaultResourceFolder = "src/test/resources/checks/";
private DefaultFileSystem fs = new DefaultFileSystem(new File("."));
@Before
public void setUp() {
Locale.setDefault(Locale.ENGLISH);
}
protected String getPath(String filename) {
return defaultResourceFolder + filename;
}
protected Collection<AnalyzerMessage> scanFile(String filename, SquidAstVisitor<Grammar> check) {
String relativePath = defaultResourceFolder + filename;
DefaultInputFile inputFile = new DefaultInputFile(relativePath).setLanguage("plsqlopen");
inputFile.setAbsolutePath((new File(relativePath)).getAbsolutePath());
