From 434ba25684179f5ae1c96ec4d3c2a619c9729768 Mon Sep 17 00:00:00 2001 From: anna Date: Wed, 3 Jul 2013 18:25:49 +0200 Subject: [PATCH] testdata for IDEA-109875 --- .../genericsHighlighting/IDEA109875.java | 13 +++++++++++++ .../daemon/GenericsHighlightingTest.java | 1 + 2 files changed, 14 insertions(+) create mode 100644 java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA109875.java diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA109875.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA109875.java new file mode 100644 index 000000000000..a70b0940788f --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA109875.java @@ -0,0 +1,13 @@ +import java.util.Collections; +import java.util.Set; + +public class Test { + + public static Test doTest(K k){ + return null; + } + + public static void main(String[] args) { + Test.>doTest(Collections.emptySet()); + } +} \ 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 2d42a723066e..ec241b5e8e42 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java @@ -237,6 +237,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA22005() throws Exception { doTest5(false);} public void testIDEA57259() throws Exception { doTest5(false);} public void testIDEA107957() throws Exception { doTest6(false);} + public void testIDEA109875() throws Exception { doTest6(false);} public void testIDEA106964() throws Exception { doTest5(false);} public void testIDEA107782() throws Exception { doTest5(false);} public void testInheritedWithDifferentArgsInTypeParams() throws Exception { doTest5(false);}