mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
don't show parameter hints on completion of blacklisted methods with one parameter
This commit is contained in:
@@ -152,6 +152,12 @@ public class CompletionHintsTest extends LightFixtureCompletionTestCase {
|
||||
myFixture.checkResult("class C { void m() { System.setProperty(System.getProperty(, ), )<caret> } }");
|
||||
}
|
||||
|
||||
public void testNoHintsForMethodWithOneParameterFromBlackList() {
|
||||
myFixture.configureByText(JavaFileType.INSTANCE, "class C { void m() { System.getPro<caret> } }");
|
||||
complete("getProperty(String key)");
|
||||
myFixture.checkResultWithInlays("class C { void m() { System.getProperty() } }");
|
||||
}
|
||||
|
||||
private void showParameterInfo() {
|
||||
myFixture.performEditorAction("ParameterInfo");
|
||||
UIUtil.dispatchAllInvocationEvents();
|
||||
|
||||
Reference in New Issue
Block a user