8008192: Better ordering checks needed in repeatingAnnotations/combo/ReflectionTest

Reviewed-by: jjg, jfranck
This commit is contained in:
Matherey Nunez 2013-10-17 13:50:00 +02:00
parent 7c6e4696ab
commit c57660ca19
2 changed files with 317 additions and 227 deletions

View File

@ -54,10 +54,10 @@ public class Helper {
IMPORTEXPECTED("import expectedFiles.*;\n"),
REPEATABLE("\n@Repeatable(FooContainer.class)\n"),
CONTAINER("@interface FooContainer {\n" + " Foo[] value();\n}\n"),
BASE("@interface Foo {}\n"),
BASEANNO("@Foo"),
LEGACYCONTAINER("@FooContainer(value = {@Foo, @Foo})\n"),
REPEATABLEANNO("\n@Foo() @Foo()"),
BASE("@interface Foo {int value() default Integer.MAX_VALUE;}\n"),
BASEANNO("@Foo(0)"),
LEGACYCONTAINER("@FooContainer(value = {@Foo(1), @Foo(2)})\n"),
REPEATABLEANNO("\n@Foo(1) @Foo(2)"),
DEPRECATED("\n@Deprecated"),
DOCUMENTED("\n@Documented"),
INHERITED("\n@Inherited"),