mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
refactor IdentifierHighlighterPassFactory.doWithHighlightingEnabled to prepare moving identifier highlighting out of a highlighting pass
GitOrigin-RevId: fee9ed0e4cf10d4ade320358c58ebd1ad3d8e403
This commit is contained in:
committed by
intellij-monorepo-bot
parent
eed448e13b
commit
46b251a8f1
@@ -16,7 +16,8 @@ class PluginXmlIdentifierHighlightingTest extends LightJavaCodeInsightFixtureTes
|
||||
}
|
||||
|
||||
void 'test ep references'() {
|
||||
myFixture.configureByText 'plugin.xml', '''\
|
||||
IdentifierHighlighterPassFactory.doWithHighlightingEnabled(getProject(), getTestRootDisposable()) {
|
||||
myFixture.configureByText 'plugin.xml', '''\
|
||||
<idea-plugin>
|
||||
<extensionPoints>
|
||||
<extensionPoint name="foo<caret>.bar"/>
|
||||
@@ -26,7 +27,6 @@ class PluginXmlIdentifierHighlightingTest extends LightJavaCodeInsightFixtureTes
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
'''
|
||||
IdentifierHighlighterPassFactory.doWithHighlightingEnabled {
|
||||
def infos = myFixture.doHighlighting()
|
||||
assert infos.findAll {
|
||||
it.severity == HighlightInfoType.ELEMENT_UNDER_CARET_SEVERITY
|
||||
|
||||
Reference in New Issue
Block a user