Moved all but one test cases from AnnotationJDRTest to loadJava.

This commit is contained in:
Evgeny Gerashchenko
2013-03-11 16:28:48 +04:00
parent b8abd0eb94
commit 0f5de451ec
11 changed files with 74 additions and 142 deletions

View File

@@ -0,0 +1,35 @@
package test;
@interface MyAnnotationWithParam {
MyAnnotation value();
}
@interface MyAnnotation {
String value();
}
@MyAnnotationWithParam(@MyAnnotation("test"))
class A {}
@interface MyAnnotation2 {
String[] value();
}
@interface MyAnnotationWithParam2 {
MyAnnotation2 value();
}
@MyAnnotationWithParam2(@MyAnnotation2({"test", "test2"}))
class B {}
@interface MyAnnotation3 {
String first();
String second();
}
@interface MyAnnotationWithParam3 {
MyAnnotation3 value();
}
@MyAnnotationWithParam3(@MyAnnotation3(first = "f", second = "s"))
class C {}