mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-219724 Devkit: support <projectListeners> (2019.3+)
GitOrigin-RevId: 76bece5934ab6d42a38c0f5442a70c676e190187
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4ecca480b8
commit
d559c8261c
+24
@@ -25,4 +25,28 @@
|
||||
activeInHeadlessMode="<error descr="Cannot resolve symbol 'INVALID_VALUE'">INVALID_VALUE</error>"
|
||||
activeInTestMode="<error descr="Cannot resolve symbol 'INVALID_VALUE'">INVALID_VALUE</error>"/>
|
||||
</applicationListeners>
|
||||
|
||||
|
||||
|
||||
<projectListeners>
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</projectListeners>
|
||||
|
||||
<projectListeners>
|
||||
<<error descr="'class' attribute should be defined">listener</error> topic="java.lang.String"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
<<error descr="'topic' attribute should be defined">listener</error> class="java.lang.String"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
|
||||
|
||||
<listener class="<error descr="'java.util.Collection' does not inherit from 'java.util.Collection'"><error descr="'java.util.Collection' is not a concrete class"><error descr="Interface is not allowed">java.util.Collection</error></error></error>"
|
||||
topic="java.util.Collection"/>
|
||||
|
||||
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
activeInHeadlessMode="<error descr="Cannot resolve symbol 'INVALID_VALUE'">INVALID_VALUE</error>"
|
||||
activeInTestMode="<error descr="Cannot resolve symbol 'INVALID_VALUE'">INVALID_VALUE</error>"/>
|
||||
</projectListeners>
|
||||
|
||||
</idea-plugin>
|
||||
+5
@@ -5,4 +5,9 @@
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</applicationListeners></error>
|
||||
|
||||
<error descr="Feature available in platform version 193 or later only, but specified 'since-build' platform is '192'"><projectListeners>
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</projectListeners></error>
|
||||
|
||||
</idea-plugin>
|
||||
+5
@@ -5,4 +5,9 @@
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</applicationListeners></error>
|
||||
|
||||
<error descr="Could not locate main plugin.xml file to determine required <idea-version> 'since-build'"><projectListeners>
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</projectListeners></error>
|
||||
|
||||
</idea-plugin>
|
||||
+5
@@ -9,4 +9,9 @@
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</applicationListeners></error>
|
||||
|
||||
<error descr="Must specify <idea-version> 'since-build'"><projectListeners>
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</projectListeners></error>
|
||||
|
||||
</idea-plugin>
|
||||
+5
@@ -10,4 +10,9 @@
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</applicationListeners></error>
|
||||
|
||||
<error descr="Feature available in platform version 193 or later only, but specified 'since-build' platform is '192'"><projectListeners>
|
||||
<listener class="java.util.ArrayList" topic="java.util.Collection"
|
||||
activeInHeadlessMode="true" activeInTestMode="true"/>
|
||||
</projectListeners></error>
|
||||
|
||||
</idea-plugin>
|
||||
+10
-10
@@ -97,25 +97,25 @@ class PluginXmlFunctionalTest extends JavaCodeInsightFixtureTestCase {
|
||||
moduleBuilder.addLibrary("coreImpl", coreImpl)
|
||||
}
|
||||
|
||||
void testApplicationListeners() {
|
||||
doHighlightingTest("ApplicationListeners.xml")
|
||||
void testListeners() {
|
||||
doHighlightingTest("Listeners.xml")
|
||||
}
|
||||
|
||||
void testApplicationListenersNoSinceBuild() {
|
||||
doHighlightingTest("ApplicationListenersNoSinceBuild.xml")
|
||||
void testListenersNoSinceBuild() {
|
||||
doHighlightingTest("ListenersNoSinceBuild.xml")
|
||||
}
|
||||
|
||||
void testApplicationListenersPre193() {
|
||||
doHighlightingTest("ApplicationListenersPre193.xml")
|
||||
void testListenersPre193() {
|
||||
doHighlightingTest("ListenersPre193.xml")
|
||||
}
|
||||
|
||||
void testApplicationListenersDepends() {
|
||||
void testListenersDepends() {
|
||||
myFixture.copyFileToProject(getTestName(false) + ".xml", "META-INF/plugin.xml")
|
||||
doHighlightingTest("ApplicationListenersDepends-dependency.xml")
|
||||
doHighlightingTest("ListenersDepends-dependency.xml")
|
||||
}
|
||||
|
||||
void testApplicationListenersNoPluginIdStandalone() {
|
||||
doHighlightingTest("ApplicationListenersNoPluginIdStandalone.xml")
|
||||
void testListenersNoPluginIdStandalone() {
|
||||
doHighlightingTest("ListenersNoPluginIdStandalone.xml")
|
||||
}
|
||||
|
||||
void testExtensionI18n() {
|
||||
|
||||
Reference in New Issue
Block a user