utilize JetTestUtils.createFile() in tests

This commit is contained in:
Alexander Udalov
2012-08-20 20:53:08 +04:00
parent b85300d90a
commit d38b965bf1
11 changed files with 15 additions and 36 deletions
@@ -118,7 +118,7 @@ public abstract class PositionManagerTestCase extends PlatformTestCase {
catch (IOException e) {
throw ExceptionUtils.rethrow(e);
}
final JetFile jetFile = (JetFile)JetTestUtils.createFile(file.getAbsolutePath(), fileContent, getProject());
final JetFile jetFile = JetTestUtils.createFile(file.getAbsolutePath(), fileContent, getProject());
files.add(jetFile);
breakpoints.addAll(extractBreakpointsInfo(jetFile, fileContent));