mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix compilation
This commit is contained in:
+12
@@ -85,6 +85,18 @@ public abstract class LightCodeInsightFixtureTestCase extends UsefulTestCase {
|
||||
}
|
||||
};
|
||||
|
||||
public static final LightProjectDescriptor JAVA_X = new DefaultLightProjectDescriptor() {
|
||||
@Override
|
||||
public Sdk getSdk() {
|
||||
return IdeaTestUtil.getMockJdk9();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void configureModule(@NotNull Module module, @NotNull ModifiableRootModel model, @NotNull ContentEntry contentEntry) {
|
||||
model.getModuleExtension(LanguageLevelModuleExtension.class).setLanguageLevel(LanguageLevel.JDK_X);
|
||||
}
|
||||
};
|
||||
|
||||
public static final LightProjectDescriptor JAVA_LATEST = new DefaultLightProjectDescriptor();
|
||||
|
||||
protected JavaCodeInsightTestFixture myFixture;
|
||||
|
||||
Reference in New Issue
Block a user