From 1cadfc4092cb9b6a0ac931f8503ff4af050da8ed Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 23 Oct 2012 17:49:33 +0200 Subject: [PATCH] testdata for IDEA-57557 --- .../daemonCodeAnalyzer/genericsHighlighting/IDEA57557.java | 7 +++++++ .../codeInsight/daemon/GenericsHighlightingTest.java | 1 + 2 files changed, 8 insertions(+) create mode 100644 java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57557.java diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57557.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57557.java new file mode 100644 index 000000000000..56efec17184c --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57557.java @@ -0,0 +1,7 @@ +abstract class A { + abstract void foo(Enum x); +} + +class B extends A { + void foo(Enum> x) { } +} \ 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 605b4dddceba..dfbbd9b2ef61 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java @@ -155,6 +155,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA57667() throws Exception { doTest(false); } public void testIDEA57650() throws Exception { doTest(false); } public void testIDEA57378() throws Exception { doTest(false); } + public void testIDEA57557() 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); }