mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-219140 Devkit: support <applicationListeners>, require 193
GitOrigin-RevId: b85b0fac9aeb9f6d938a5adbff023868e32fe141
This commit is contained in:
committed by
intellij-monorepo-bot
parent
68a7dae1bd
commit
f503979b32
@@ -261,7 +261,7 @@ public class PluginXmlDomInspection extends BasicDomElementsInspection<IdeaPlugi
|
||||
}
|
||||
}
|
||||
|
||||
private static final int LISTENERS_PLATFORM_VERSION = 192;
|
||||
private static final int LISTENERS_PLATFORM_VERSION = 193;
|
||||
|
||||
private static void annotateListeners(Listeners listeners, DomElementAnnotationHolder holder) {
|
||||
final Module module = listeners.getModule();
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<vendor>JetBrains</vendor>
|
||||
<version>1.0</version>
|
||||
|
||||
<idea-version since-build="192.*"/>
|
||||
<idea-version since-build="193.*"/>
|
||||
|
||||
<applicationListeners>
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<idea-plugin>
|
||||
|
||||
<error descr="Feature available in platform version 192 or later only, but specified 'since-build' platform is '191'"><applicationListeners>
|
||||
<error descr="Feature available in platform version 193 or later only, but specified 'since-build' platform is '192'"><applicationListeners>
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</applicationListeners></error>
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<vendor>JetBrains</vendor>
|
||||
<version>1.0</version>
|
||||
|
||||
<idea-version since-build="191.*"/>
|
||||
<idea-version since-build="192.*"/>
|
||||
|
||||
<depends config-file="dependency.xml">com.intellij.modules.vcs</depends>
|
||||
</idea-plugin>
|
||||
+2
-2
@@ -3,9 +3,9 @@
|
||||
<vendor>JetBrains</vendor>
|
||||
<version>1.0</version>
|
||||
|
||||
<idea-version since-build="191"/>
|
||||
<idea-version since-build="192"/>
|
||||
|
||||
<error descr="Feature available in platform version 192 or later only, but specified 'since-build' platform is '191'"><applicationListeners>
|
||||
<error descr="Feature available in platform version 193 or later only, but specified 'since-build' platform is '192'"><applicationListeners>
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</applicationListeners></error>
|
||||
+2
-2
@@ -105,8 +105,8 @@ class PluginXmlFunctionalTest extends JavaCodeInsightFixtureTestCase {
|
||||
doHighlightingTest("ApplicationListenersNoSinceBuild.xml")
|
||||
}
|
||||
|
||||
void testApplicationListenersPre192() {
|
||||
doHighlightingTest("ApplicationListenersPre192.xml")
|
||||
void testApplicationListenersPre193() {
|
||||
doHighlightingTest("ApplicationListenersPre193.xml")
|
||||
}
|
||||
|
||||
void testApplicationListenersDepends() {
|
||||
|
||||
Reference in New Issue
Block a user