Mute testWithJava9ModuleInfo tests

This commit is contained in:
Nikolay Krasko
2019-12-22 16:57:55 +03:00
parent f41b588f70
commit 712517a02e
5 changed files with 27 additions and 3 deletions
@@ -20,6 +20,8 @@ import com.intellij.codeInsight.CodeInsightTestCase;
import com.intellij.openapi.vfs.newvfs.impl.VfsRootAccess;
import org.jetbrains.kotlin.test.KotlinTestUtils;
import static org.jetbrains.kotlin.test.MuteWithDatabaseKt.isIgnoredInDatabaseWithLog;
/**
* Please use KotlinLightCodeInsightFixtureTestCase as the base class for all new tests.
*/
@@ -36,4 +38,9 @@ public abstract class KotlinCodeInsightTestCase extends CodeInsightTestCase {
super.tearDown();
VfsRootAccess.disallowRootAccess(KotlinTestUtils.getHomeDirectory());
}
@Override
protected boolean shouldRunTest() {
return super.shouldRunTest() && !isIgnoredInDatabaseWithLog(this);
}
}