don't suggest lowercase non-imported classes in autopopup (IDEA-114348)

This commit is contained in:
peter
2014-02-06 16:25:10 +01:00
parent ab8284b414
commit 3fd5b8e306
4 changed files with 27 additions and 4 deletions
@@ -0,0 +1,6 @@
public class Zoo {
void foo() {
abcdefg<caret>x
}
}
@@ -1370,8 +1370,7 @@ class Foo {{
myFixture.configureByText "a.java", """
class Foo extends my<caret>
"""
myFixture.completeBasic()
myFixture.type('\n')
myFixture.complete(CompletionType.BASIC, 2)
myFixture.checkResult '''import foo.myClass;
class Foo extends myClass
@@ -1405,4 +1404,11 @@ class Bar {
public void testNoMathTargetMethods() { doAntiTest() }
public void testNoLowercaseClasses() {
myFixture.addClass("package foo; public class abcdefgXxx {}")
doAntiTest()
myFixture.complete(CompletionType.BASIC, 2)
assertStringItems('abcdefgXxx')
}
}