Javafx: In FXML completion for event handler take care of superclasses' generic parameters (IDEA-154115)

This commit is contained in:
Pavel Dolgov committed 2016-04-05 18:16:07 +03:00
1 parent 710c89230d
commit d449cb57fa
6 files changed
+38 -6

No files matched your search

@@ -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");
}