mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disable groovy compiler/debugger tests in coverage build
This commit is contained in:
@@ -44,6 +44,7 @@ import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.testFramework.CompilerTester;
|
||||
import com.intellij.testFramework.IdeaTestUtil;
|
||||
import com.intellij.testFramework.PlatformTestUtil;
|
||||
import com.intellij.testFramework.PsiTestUtil;
|
||||
import com.intellij.testFramework.builders.JavaModuleFixtureBuilder;
|
||||
import com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase;
|
||||
@@ -80,6 +81,13 @@ public abstract class GroovyCompilerTestCase extends JavaCodeInsightFixtureTestC
|
||||
super.tuneFixture(moduleBuilder);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void runTest() throws Throwable {
|
||||
if (PlatformTestUtil.COVERAGE_ENABLED_BUILD) return;
|
||||
|
||||
super.runTest();
|
||||
}
|
||||
|
||||
protected static void addGroovyLibrary(final Module to) {
|
||||
File jar = GroovyFacetUtil.getBundledGroovyJar();
|
||||
PsiTestUtil.addLibrary(to, "groovy", jar.getParent(), jar.getName());
|
||||
|
||||
Reference in New Issue
Block a user