mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testdata for IDEA-175759
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
package test.test;
|
||||
import test.A;
|
||||
import test.test.C.D.E;
|
||||
|
||||
class C extends A {
|
||||
public static class D extends B {
|
||||
public static class E {}
|
||||
}
|
||||
public void c(E e) {}
|
||||
}
|
||||
+9
@@ -86,6 +86,15 @@ public class LightAdvHighlightingFixtureTest extends LightCodeInsightFixtureTest
|
||||
|
||||
}
|
||||
|
||||
public void testReferenceThroughInheritance() {
|
||||
myFixture.addClass("package test;\n" +
|
||||
"public class A {\n" +
|
||||
" public static class B {}\n" +
|
||||
"}");
|
||||
myFixture.configureByFile(getTestName(false) + ".java");
|
||||
myFixture.checkHighlighting();
|
||||
}
|
||||
|
||||
public void testUsageOfProtectedAnnotationOutsideAPackage() {
|
||||
myFixture.addClass("package a;\n" +
|
||||
"import java.lang.annotation.ElementType;\n" +
|
||||
|
||||
Reference in New Issue
Block a user