From b0db19229a99847b02a974527626e73585227834 Mon Sep 17 00:00:00 2001 From: anna Date: Mon, 22 Oct 2012 20:51:53 +0200 Subject: [PATCH] testdata for IDEA-67667 --- .../genericsHighlighting/IDEA67667.java | 8 ++++++++ .../codeInsight/daemon/GenericsHighlightingTest.java | 1 + 2 files changed, 9 insertions(+) create mode 100644 java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA67667.java diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA67667.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA67667.java new file mode 100644 index 000000000000..85f46a0fa953 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA67667.java @@ -0,0 +1,8 @@ +import java.util.Collection; +import java.util.List; + +interface A +{ + > void foo(S x); + & Cloneable> void foo(S 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 07bfb9af9c9f..29ac394b4c04 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java @@ -138,6 +138,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA66311() throws Exception { doTest17Incompatibility(); } public void testIDEA67672() throws Exception { doTest17Incompatibility(); } public void testIDEA88895() throws Exception { doTest17Incompatibility(); } + public void testIDEA67667() throws Exception { doTest17Incompatibility(); } public void testIDEA66311_16() throws Exception { doTest(false); } public void testIDEA76283() throws Exception { doTest(false); } public void testIDEA74899() throws Exception { doTest(false); }