mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[tests] drops Java9 classes from Java8 mock JDK
This commit is contained in:
+7
@@ -15,7 +15,9 @@
|
||||
*/
|
||||
package com.intellij.codeInsight.daemon;
|
||||
|
||||
import com.intellij.openapi.projectRoots.Sdk;
|
||||
import com.intellij.pom.java.LanguageLevel;
|
||||
import com.intellij.testFramework.IdeaTestUtil;
|
||||
|
||||
/**
|
||||
* @author ven
|
||||
@@ -23,6 +25,11 @@ import com.intellij.pom.java.LanguageLevel;
|
||||
public class AnnotationsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
private static final String BASE_PATH = "/codeInsight/daemonCodeAnalyzer/annotations";
|
||||
|
||||
@Override
|
||||
protected Sdk getProjectJDK() {
|
||||
return IdeaTestUtil.getMockJdk9();
|
||||
}
|
||||
|
||||
public void testWrongPlace() { setLanguageLevel(LanguageLevel.JDK_1_7); doTest(); }
|
||||
public void testNotValueNameOmitted() { doTest(); }
|
||||
public void testCannotFindMethod() { doTest(); }
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user