Minor, split and clean tests

Tests that are using javaClass supposed to be deleted soon
while other ones just check that annotation loaded correctly
and shold use class literals
This commit is contained in:
Denis Zharkov
2015-04-17 17:30:48 +03:00
parent 7a02bdae23
commit 482b4e3688
7 changed files with 41 additions and 14 deletions
@@ -12,11 +12,11 @@ public @interface A {
[A(*array("5", "6"), "7", y = 3)] fun test3() {}
[A("1", "2", "3", x = javaClass<String>(), y = 4)] fun test4() {}
[A("1", "2", "3", x = String::class, y = 4)] fun test4() {}
[A("4", y = 5)] fun test5() {}
[A(*array("5", "6"), "7", x = javaClass<Any>(), y = 6)] fun test6() {}
[A(*array("5", "6"), "7", x = Any::class, y = 6)] fun test6() {}
[A(y = 7)] fun test7() {}