one more test for duplicate members

This commit is contained in:
peter.gromov
2010-11-16 19:30:31 +03:00
parent 9f8903c2d3
commit 5d72a452bf
3 changed files with 16 additions and 1 deletions
@@ -0,0 +1,5 @@
class Intermediate extends Super {
Super s = FOO;<caret>
}
@@ -0,0 +1,5 @@
class Intermediate extends Super {
Super s = F<caret>
}
@@ -939,7 +939,12 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
doItemTest();
}
public void testDuplicateMembersFromSuperClass() throws Throwable { doActionTest(); }
public void testDuplicateMembersFromSuperClass() throws Throwable { doTest(); }
public void testDuplicateMembersFromSuperClassInAnotherFile() throws Throwable {
myFixture.addClass("class Super { public static final Super FOO = null; }");
doTest();
}
public void testInsideGenericClassLiteral() throws Throwable {
configureByTestName();