mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
change language level to 11 for AbstractCompilerAwareTest-s
GitOrigin-RevId: 14881e21b645539209e974884eec4cb8205b5480
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c2106a89e4
commit
12dee27180
+7
-3
@@ -5,19 +5,23 @@ import com.intellij.openapi.compiler.CompilerMessage;
|
||||
import com.intellij.openapi.compiler.CompilerMessageCategory;
|
||||
import com.intellij.openapi.module.ModuleManager;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.pom.java.LanguageLevel;
|
||||
import com.intellij.testFramework.CompilerTester;
|
||||
import com.intellij.testFramework.builders.JavaModuleFixtureBuilder;
|
||||
import com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author Dmitry Batkovich
|
||||
*/
|
||||
public abstract class AbstractCompilerAwareTest extends JavaCodeInsightFixtureTestCase {
|
||||
private CompilerTester myCompilerTester;
|
||||
|
||||
@Override
|
||||
protected void tuneFixture(JavaModuleFixtureBuilder<?> moduleBuilder) throws Exception {
|
||||
moduleBuilder.setLanguageLevel(LanguageLevel.JDK_11);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
myCompilerTester = null;
|
||||
|
||||
Reference in New Issue
Block a user