mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WEB-76271 PolySymbols: update and include PolySymbolsTestSuite into aggregator
GitOrigin-RevId: b4b87b47b38a2bf6c28e0311a4589fe2b2223dd4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ff80769de9
commit
6a689e646c
@@ -395,6 +395,7 @@ jvm_library(
|
||||
"//plugins/git4idea/terminal",
|
||||
"//plugins/git4idea/terminal:terminal_test_lib",
|
||||
"//platform/instanceContainer:instanceContainer-tests_test_lib",
|
||||
"//platform/polySymbols:polySymbols-tests_test_lib",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.idea.community.main` end
|
||||
|
||||
@@ -261,5 +261,6 @@
|
||||
<orderEntry type="module" module-name="intellij.vcs.git.terminal" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.python.community.plugin" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.platform.instanceContainer.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.polySymbols.tests" scope="TEST" />
|
||||
</component>
|
||||
</module>
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
source: {
|
||||
matchedName: "html/elements/<pattern>",
|
||||
name: "my-element",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
has-pattern: true,
|
||||
|
||||
+3
-3
@@ -4,7 +4,7 @@
|
||||
priority: NORMAL,
|
||||
source: {
|
||||
matchedName: "html/attributes/deprecated",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
apiStatus: deprecated,
|
||||
priority: NORMAL,
|
||||
@@ -21,7 +21,7 @@
|
||||
priority: NORMAL,
|
||||
source: {
|
||||
matchedName: "html/attributes/deprecatedWithMessage",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
apiStatus: deprecated (<p>This is <b>old</b>!),
|
||||
priority: NORMAL,
|
||||
@@ -38,7 +38,7 @@
|
||||
priority: NORMAL,
|
||||
source: {
|
||||
matchedName: "html/attributes/disabled",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
matchedName: "html/elements/<pattern>",
|
||||
name: "my-element",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
has-pattern: true,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/deprecated",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
apiStatus: deprecated,
|
||||
priority: NORMAL,
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
{
|
||||
matchedName: "html/attributes/deprecatedWithMessage",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
apiStatus: deprecated (<p>This is <b>old</b>!),
|
||||
priority: NORMAL,
|
||||
@@ -27,7 +27,7 @@
|
||||
},
|
||||
{
|
||||
matchedName: "html/attributes/disabled",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "js/events/disabled-changed",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
type: "Event",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "css/properties/--my-element-background-color",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
description: "<p>The background color of the element.",
|
||||
priority: NORMAL,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "css/parts/foo",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
description: "<p>The <code>foo</code>.",
|
||||
priority: NORMAL,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "js/properties/disabled",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
@@ -13,7 +13,7 @@
|
||||
},
|
||||
{
|
||||
matchedName: "js/properties/fire",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/elements/my-EleMeNt",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
description: "<p>The cool class",
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
{
|
||||
name-part: "my-EleMeNt",
|
||||
symbol: {
|
||||
matchedName: "custom-elements-manifest/declarations/MyElement",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
description: "<p>The cool class",
|
||||
priority: NORMAL,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/disabled",
|
||||
origin: "basic@null (<none>)",
|
||||
origin: "basic (<none>)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/elements/Foo",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-bind:my-input",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: OF_MATCH,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/@event1",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
matchedName: "html/slots/abaa",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
complete: true,
|
||||
description: "<p>The patterned slot",
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-cool:foo.foo.ba456",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: STRING,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-cool.foo.ba456",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: STRING,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-cool:foo",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: STRING,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-cool",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: STRING,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-cool.bc455",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "test-lib@2.0.0-rc.24 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: STRING,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/allowOverflow",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "vuetify@1.3.2 (vue)",
|
||||
attrValue: {
|
||||
type: OF_MATCH,
|
||||
default: "true",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/foo-baz",
|
||||
origin: "framework-web-types@0.1.0 (@polymer/polymer)",
|
||||
origin: "web-components@1.0.0 (@polymer/polymer)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/elements/bar-bar",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "null (vue)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
@@ -45,7 +45,7 @@
|
||||
display-name: "Vue component",
|
||||
symbol: {
|
||||
matchedName: "html/attributes/bar",
|
||||
origin: "null@null (vue)",
|
||||
origin: "null (<none>)",
|
||||
complete: true,
|
||||
priority: NORMAL,
|
||||
segments: [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/(click.prevent)",
|
||||
origin: "css@1.0 (<none>)",
|
||||
origin: "custom@1.0 (<none>)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/(click.prevented)",
|
||||
origin: "css@1.0 (<none>)",
|
||||
origin: "events@1.0.0 (<none>)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/(click.prevent.stop.prevent)",
|
||||
origin: "css@1.0 (<none>)",
|
||||
origin: "custom@1.0 (<none>)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/(clicked.prevent)",
|
||||
origin: "css@1.0 (<none>)",
|
||||
origin: "custom@1.0 (<none>)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-on_old:bar.stop.foo.once",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "vue@2.5.0a (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-on_old:click.stop",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "vue@2.5.0a (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/moveClass",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "vue@2.5.0a (vue)",
|
||||
attrValue: {
|
||||
type: OF_MATCH,
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/foo-FOO-BAR",
|
||||
origin: "framework-web-types@0.1.0 (<none>)",
|
||||
origin: "web-components@1.0.0 (<none>)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: STRING,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/foo-baz",
|
||||
origin: "framework-web-types@0.1.0 (@polymer/polymer)",
|
||||
origin: "web-components@1.0.0 (@polymer/polymer)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/@click",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "events@1.0.0 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-on:2foo",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "events@1.0.0 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
matchedName: "html/attributes/v-on:click",
|
||||
origin: "vue@3.0.0 (vue)",
|
||||
origin: "events@1.0.0 (vue)",
|
||||
attrValue: {
|
||||
kind: EXPRESSION,
|
||||
type: COMPLEX,
|
||||
|
||||
+19
-4
@@ -9,12 +9,14 @@ import com.intellij.openapi.extensions.DefaultPluginDescriptor
|
||||
import com.intellij.openapi.extensions.ExtensionPoint
|
||||
import com.intellij.openapi.extensions.PluginId
|
||||
import com.intellij.polySymbols.context.impl.PolyContextProviderExtensionPoint
|
||||
import com.intellij.polySymbols.documentation.PolySymbolDocumentationCustomizer
|
||||
import com.intellij.polySymbols.framework.PolySymbolFramework
|
||||
import com.intellij.polySymbols.framework.PolySymbolFramework.Companion.KIND_FRAMEWORK
|
||||
import com.intellij.polySymbols.html.HtmlSymbolMatchCustomizer
|
||||
import com.intellij.polySymbols.query.impl.CustomElementsManifestMockScopeImpl
|
||||
import com.intellij.polySymbols.query.impl.PolySymbolMockQueryExecutorFactory
|
||||
import com.intellij.polySymbols.query.impl.WebTypesMockScopeImpl
|
||||
import com.intellij.polySymbols.webTypes.filters.PolySymbolMatchPrefixFilter
|
||||
import com.intellij.polySymbols.webTypes.WebTypesSymbolBase
|
||||
import com.intellij.polySymbols.webTypes.impl.PolySymbolFilterEP
|
||||
import com.intellij.testFramework.UsefulTestCase
|
||||
import java.io.File
|
||||
@@ -32,7 +34,7 @@ abstract class PolySymbolsMockQueryExecutorTestBase : UsefulTestCase() {
|
||||
application.registerService(ClientDocumentationSettings::class.java, LocalDocumentationSettings())
|
||||
application.extensionArea.registerExtensionPoint(
|
||||
"com.intellij.polySymbols.webTypes.filter",
|
||||
"com.intellij.polySymbols.webTypes.impl.PolySymbolsFilterEP",
|
||||
"com.intellij.polySymbols.webTypes.impl.PolySymbolFilterEP",
|
||||
ExtensionPoint.Kind.BEAN_CLASS, true)
|
||||
application.extensionArea.registerExtensionPoint(
|
||||
"com.intellij.polySymbols.webTypes.symbolFactory",
|
||||
@@ -48,19 +50,32 @@ abstract class PolySymbolsMockQueryExecutorTestBase : UsefulTestCase() {
|
||||
ExtensionPoint.Kind.BEAN_CLASS,
|
||||
true
|
||||
)
|
||||
application.extensionArea.registerExtensionPoint(
|
||||
"com.intellij.polySymbols.documentationCustomizer",
|
||||
PolySymbolDocumentationCustomizer::class.java.name,
|
||||
ExtensionPoint.Kind.BEAN_CLASS,
|
||||
true
|
||||
)
|
||||
application.extensionArea.registerExtensionPoint(
|
||||
"com.intellij.polySymbols.matchCustomizerFactory",
|
||||
PolySymbolMatchCustomizerFactory::class.java.name,
|
||||
ExtensionPoint.Kind.INTERFACE,
|
||||
true
|
||||
)
|
||||
application.extensionArea.registerExtensionPoint(
|
||||
"com.intellij.polySymbols.framework",
|
||||
PolySymbolFramework::class.java.name,
|
||||
ExtensionPoint.Kind.BEAN_CLASS,
|
||||
true
|
||||
)
|
||||
|
||||
val mockPluginDescriptor = DefaultPluginDescriptor(PluginId.getId("mock"),
|
||||
PolySymbolMatchPrefixFilter::class.java.classLoader)
|
||||
WebTypesSymbolBase::class.java.classLoader)
|
||||
application.extensionArea.getExtensionPoint<PolySymbolFilterEP>("com.intellij.polySymbols.webTypes.filter")
|
||||
.registerExtension(
|
||||
PolySymbolFilterEP().also {
|
||||
it.name = "match-prefix"
|
||||
it.implementation = "com.intellij.polySymbols.webTypes.filters.PolySymbolsMatchPrefixFilter"
|
||||
it.implementation = "com.intellij.polySymbols.webTypes.filters.PolySymbolMatchPrefixFilter"
|
||||
it.pluginDescriptor = mockPluginDescriptor
|
||||
},
|
||||
mockPluginDescriptor, testRootDisposable)
|
||||
|
||||
Reference in New Issue
Block a user