A test for the case of finding binary class for a nested Java class

This commit is contained in:
Andrey Breslav
2014-05-14 18:13:32 +04:00
parent a861e5bc5e
commit 4cb23eb1f1
3 changed files with 64 additions and 0 deletions
@@ -307,6 +307,7 @@ public class JetTestUtils {
}
}
@NotNull
public static File tmpDirForTest(TestCase test) throws IOException {
File answer = FileUtil.createTempDirectory(test.getClass().getSimpleName(), test.getName());
deleteOnShutdown(answer);
@@ -782,6 +783,7 @@ public class JetTestUtils {
return jetFiles;
}
@NotNull
public static ModuleDescriptorImpl createEmptyModule() {
return createEmptyModule("<empty-for-test>");
}