Generate mockJDK from real JDK

This commit is contained in:
Andrey Breslav
2012-11-30 16:02:08 +04:00
committed by Evgeny Gerashchenko
parent 83d5b1e6a0
commit 74212bd2a4
8 changed files with 402 additions and 3 deletions
@@ -38,7 +38,7 @@ public class PluginTestCaseBase {
}
public static Sdk jdkFromIdeaHome() {
Sdk sdk = new JavaSdkImpl().createJdk("JDK", "compiler/testData/mockJDK-1.7/jre", true);
Sdk sdk = new JavaSdkImpl().createJdk("JDK", "compiler/testData/mockJDK/jre", true);
SdkModificator modificator = sdk.getSdkModificator();
VirtualFile file = LocalFileSystem.getInstance().findFileByIoFile(ForTestPackJdkAnnotations.jdkAnnotationsForTests());
assert file != null;