mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-50588 Don't suggest getX when completing setX() parameter (disprefer, actually)
This commit is contained in:
+7
@@ -296,6 +296,13 @@ public class SmartTypeCompletionOrderingTest extends CompletionSortingTestCase {
|
||||
assert 'FList.emptyList' in lookup.items[5].allLookupStrings
|
||||
}
|
||||
|
||||
public void testDispreferGetterInSetterCall() {
|
||||
checkPreferredItems 0, 'getZooColor', 'hashCode', 'color', 'getColor'
|
||||
}
|
||||
public void testPreferOtherGetterInSetterCall() {
|
||||
checkPreferredItems 0, 'color', 'getColor', 'getZooColor', 'hashCode'
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getBasePath() {
|
||||
return JavaTestUtil.getRelativeJavaTestDataPath() + BASE_PATH;
|
||||
|
||||
Reference in New Issue
Block a user