dots after package names shouldn't prevent from chained completion

This commit is contained in:
peter
2012-03-08 14:46:37 +04:00
parent 3c90060b1b
commit 9023847833
5 changed files with 34 additions and 9 deletions
@@ -1233,4 +1233,11 @@ class Foo {{
class Foo {{ Util.foo();<caret> }}'''
}
public void testPackageQualifier() {
myFixture.addClass("package com.too; public class Util {}")
myFixture.configureByText 'a.java', 'class Foo { void foo(Object command) { <caret> }}'
type 'com.t'
assert myFixture.lookupElementStrings.containsAll(['too', 'command.toString'])
}
}