mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-15 03:55:18 +07:00
Javafx: In FXML completion for event handler take care of superclasses' generic parameters (IDEA-154115)
This commit is contained in:
1 parent
710c89230d
commit
d449cb57fa
6 files changed
+38
-6
No files matched your search
+6
-1
@@ -218,7 +218,12 @@ public class JavaFxCompletionTest extends LightFixtureCompletionTestCase {
|
||||
}
|
||||
|
||||
public void testEventHandlerMethod() throws Exception {
|
||||
configureAndComplete("EventHandlerMethod.java", "EventHandlerMethodSuper.java");
|
||||
configureAndComplete(getTestName(false) + ".java", getTestName(false) + "Super.java");
|
||||
assertSameElements(myFixture.getLookupElementStrings(), "onMyKeyTyped", "onSuperKeyTyped");
|
||||
}
|
||||
|
||||
public void testEventHandlerMethodTypeParam() throws Exception {
|
||||
configureAndComplete(getTestName(false) + ".java", getTestName(false) + "Super.java");
|
||||
assertSameElements(myFixture.getLookupElementStrings(), "onMyKeyTyped", "onSuperKeyTyped");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user