mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add read action to JavaAutoPopupTest.testAmbiguousClassQualifier
This commit is contained in:
+1
-1
@@ -1300,7 +1300,7 @@ class Foo {{
|
||||
type '.'
|
||||
assert myFixture.lookupElementStrings == ['Util.bar', 'Util.CONSTANT', 'Util.foo']
|
||||
|
||||
def p = LookupElementPresentation.renderElement(myFixture.lookupElements[1])
|
||||
def p = ApplicationManager.application.runReadAction ({ LookupElementPresentation.renderElement(myFixture.lookupElements[1]) } as Computable)
|
||||
assert p.itemText == 'Util.CONSTANT'
|
||||
assert p.tailText == ' (foo)'
|
||||
assert p.typeText == 'int'
|
||||
|
||||
Reference in New Issue
Block a user