mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 21:11:28 +07:00
testdata for IDEA-130118
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package me;
|
||||
import me.JsonSerializer.Json;
|
||||
class JsonSerializer implements Serializer<Json> {
|
||||
public static class Json implements Format {}
|
||||
|
||||
}
|
||||
@@ -95,6 +95,16 @@ public class LightAdvHighlightingFixtureTest extends LightCodeInsightFixtureTest
|
||||
myFixture.checkHighlighting();
|
||||
}
|
||||
|
||||
public void testReferenceThroughInheritance1() {
|
||||
myFixture.addClass("package me;\n" +
|
||||
"import me.Serializer.Format;\n" +
|
||||
"public interface Serializer<F extends Format> {\n" +
|
||||
" public static interface Format {}\n" +
|
||||
"}\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