testdata for IDEA-140435

This commit is contained in:
Anna Kozlova
2018-08-22 16:39:04 +03:00
parent f1efff4653
commit 88d61563c4
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
interface I<T> {
String foo(T x);
Object foo(String x);
}
class C implements I<String> {
@Override
public String foo(String x) {
<selection>return null;</selection>
}
}

View File

@@ -0,0 +1,8 @@
interface I<T> {
String foo(T x);
Object foo(String x);
}
class C implements I<String> {
<caret>
}

View File

@@ -41,6 +41,7 @@ class OverrideImplementTest extends LightCodeInsightFixtureTestCase {
void testImplementExtensionMethods() { doTest(true) }
void testOverrideExtensionMethods() { doTest(false) }
void testMultipleSuperMethodsThroughGenerics() { doTest(true) }
void testDoNotImplementExtensionMethods() { doTest(true) }