From e13c01466e4d71e14d24ee82d39e9b49d0276e1f Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Fri, 22 Sep 2023 22:27:30 +0200 Subject: [PATCH] Restore test functionality for 2023.3 --- build.gradle | 3 ++- .../intellij/inspections/AsciiDocGrammarInspectionTest.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 4b47e64e4..5c62dcbf6 100644 --- a/build.gradle +++ b/build.gradle @@ -50,11 +50,12 @@ intellij { // 'com.google.ide-perf:1.2.0', // performance tracing // see https://github.com/google/ide-perf/blob/master/docs/user-guide.md 'java', // used to integrate into the build via AsciiDocTargetScopeProvider + 'com.intellij.properties', // dependency to the Java plugin 'yaml', // used to inject file references to Antora YAML files // 'com.jetbrains.performancePlugin:213.5744.122' // used run YourKit CPU profiling in test IDE // see https://intellij-support.jetbrains.com/hc/en-us/articles/207241235 // https://plugins.jetbrains.com/plugin/16136-grazie-professional/ - 'com.intellij.grazie.pro:0.3.244' + 'com.intellij.grazie.pro:0.3.250' ] } diff --git a/src/test/java/org/asciidoc/intellij/inspections/AsciiDocGrammarInspectionTest.java b/src/test/java/org/asciidoc/intellij/inspections/AsciiDocGrammarInspectionTest.java index 75e202642..1d0dd333b 100644 --- a/src/test/java/org/asciidoc/intellij/inspections/AsciiDocGrammarInspectionTest.java +++ b/src/test/java/org/asciidoc/intellij/inspections/AsciiDocGrammarInspectionTest.java @@ -21,7 +21,7 @@ public class AsciiDocGrammarInspectionTest extends AsciiDocQuickFixTestBase { // to avoid: com.intellij.openapi.progress.ProcessCanceledException: java.lang.IncompatibleClassChangeError disabled.add(PluginId.getId("com.intellij.grazie.pro")); - DisabledPluginsState.saveDisabledPluginsAndInvalidate(disabled); + DisabledPluginsState.Companion.saveDisabledPluginsAndInvalidate(disabled); } private static final String NAME = new AsciiDocChangeCaseForAnchor().getName();