From 8d301f4f3edd5860b954d78fb752d5fcf1d296f4 Mon Sep 17 00:00:00 2001 From: anna Date: Fri, 3 May 2013 11:17:12 +0200 Subject: [PATCH] testdata for IDEA-60875 --- .../advHighlighting/IDEA60875.java | 16 ++++++++++++++++ .../daemon/LightAdvHighlightingTest.java | 1 + 2 files changed, 17 insertions(+) create mode 100644 java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/IDEA60875.java diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/IDEA60875.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/IDEA60875.java new file mode 100644 index 000000000000..8c2d86ed2578 --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/IDEA60875.java @@ -0,0 +1,16 @@ +class A { + + class B { + + private void foo() {} + } + class C extends B { + + class D { + + void bar() { + C.this.foo(); + } + } + } +} \ No newline at end of file diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/LightAdvHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/LightAdvHighlightingTest.java index 73d780ad5373..71e9479a6e3f 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/LightAdvHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/LightAdvHighlightingTest.java @@ -362,6 +362,7 @@ public class LightAdvHighlightingTest extends LightDaemonAnalyzerTestCase { public void testExplicitConstructorInvocation() { doTest(false, false); } public void testThisInInterface() { doTest(false, false); } public void testInnerClassConstantReference() { doTest(false, false); } + public void testIDEA60875() { doTest(false, false); } public void testStaticMethodCalls() { doTestFile(BASE_PATH + "/" + getTestName(false) + ".java").checkSymbolNames().test();