mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 05:21:29 +07:00
testdata for IDEA-140435
This commit is contained in:
@@ -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>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
interface I<T> {
|
||||
String foo(T x);
|
||||
Object foo(String x);
|
||||
}
|
||||
|
||||
class C implements I<String> {
|
||||
<caret>
|
||||
}
|
||||
@@ -41,6 +41,7 @@ class OverrideImplementTest extends LightCodeInsightFixtureTestCase {
|
||||
void testImplementExtensionMethods() { doTest(true) }
|
||||
|
||||
void testOverrideExtensionMethods() { doTest(false) }
|
||||
void testMultipleSuperMethodsThroughGenerics() { doTest(true) }
|
||||
|
||||
void testDoNotImplementExtensionMethods() { doTest(true) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user