mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testdata for IDEA-25949
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
@FooAnnotation(<error descr="'Foo.BAR' has private access in 'Foo'">Foo.BAR</error>)
|
||||
class Foo {
|
||||
private static final String BAR = "bar";
|
||||
}
|
||||
|
||||
@interface FooAnnotation {
|
||||
String value();
|
||||
}
|
||||
+1
@@ -42,6 +42,7 @@ public class AnnotationsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testPingPongAnnotationTypesDependencies() { doTest(false);}
|
||||
public void testClashMethods() { doTest(false);}
|
||||
public void testDupMethods() { doTest(false);}
|
||||
public void testPrivateInaccessibleConstant() { doTest(false);}
|
||||
|
||||
public void testInvalidPackageAnnotationTarget() { doTest(BASE_PATH + "/" + getTestName(true) + "/package-info.java", false, false); }
|
||||
public void testPackageAnnotationNotInPackageInfo() { doTest(BASE_PATH + "/" + getTestName(true) + "/notPackageInfo.java", false, false); }
|
||||
|
||||
Reference in New Issue
Block a user