testdata for IDEA-25949

This commit is contained in:
Anna Kozlova
2014-08-18 21:45:30 +04:00
parent fe9943ed65
commit 0bcd4c8491
2 changed files with 9 additions and 0 deletions
@@ -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();
}
@@ -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); }