File parameter to NamedTestFactory

This commit is contained in:
Stepan Koltsov
2011-12-02 23:39:44 +04:00
parent d3abbc5b56
commit 622133f217
8 changed files with 12 additions and 11 deletions
@@ -157,7 +157,7 @@ public class JetResolveTest extends ExtensibleResolveTestCase {
return JetTestCaseBuilder.suiteForDirectory(getHomeDirectory() + "/compiler/testData/", "/resolve/", true, new JetTestCaseBuilder.NamedTestFactory() {
@NotNull
@Override
public Test createTest(@NotNull String dataPath, @NotNull String name) {
public Test createTest(@NotNull String dataPath, @NotNull String name, @NotNull File file) {
return new JetResolveTest(dataPath + "/" + name + ".jet", name);
}
});