From b704249a4cc3163a38c99d746ed3cc42b698322d Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 23 Oct 2012 18:57:38 +0200 Subject: [PATCH] testdata for IDEA-57410 --- .../genericsHighlighting/IDEA57410.java | 10 ++++++++++ .../codeInsight/daemon/GenericsHighlightingTest.java | 1 + 2 files changed, 11 insertions(+) create mode 100644 java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57410.java diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57410.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57410.java new file mode 100644 index 000000000000..93efea5d8b34 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57410.java @@ -0,0 +1,10 @@ + +interface IA { + void a(Iterable x); +} + +interface IB { + void a(Iterable x); +} + +abstract class C implements IA, IB {} \ No newline at end of file diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java index 8b8bb89b235f..18bfe93c34a5 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java @@ -160,6 +160,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA57275() throws Exception { doTest(false); } public void testIDEA57533() throws Exception { doTest(false); } public void testIDEA57509() throws Exception { doTest(false); } + public void testIDEA57410() throws Exception { doTest(false); } public void testInconvertibleTypes() throws Exception { doTest(false); } public void testIncompatibleReturnType() throws Exception { doTest(false); } public void testContinueInferenceAfterFirstRawResult() throws Exception { doTest(false); }