Replace annotations with brackets in testData
Just in tests that changed after deprecation
This commit is contained in:
+8
-8
@@ -6,18 +6,18 @@ public @interface A {
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
[A("1", "2", "3", y = 1)] fun test1() {}
|
||||
@A("1", "2", "3", y = 1) fun test1() {}
|
||||
|
||||
[A("4", y = 2)] fun test2() {}
|
||||
@A("4", y = 2) fun test2() {}
|
||||
|
||||
[A(*arrayOf("5", "6"), "7", y = 3)] fun test3() {}
|
||||
@A(*arrayOf("5", "6"), "7", y = 3) fun test3() {}
|
||||
|
||||
[A("1", "2", "3", x = String::class, y = 4)] fun test4() {}
|
||||
@A("1", "2", "3", x = String::class, y = 4) fun test4() {}
|
||||
|
||||
[A("4", y = 5)] fun test5() {}
|
||||
@A("4", y = 5) fun test5() {}
|
||||
|
||||
[A(*arrayOf("5", "6"), "7", x = Any::class, y = 6)] fun test6() {}
|
||||
@A(*arrayOf("5", "6"), "7", x = Any::class, y = 6) fun test6() {}
|
||||
|
||||
[A(y = 7)] fun test7() {}
|
||||
@A(y = 7) fun test7() {}
|
||||
|
||||
[A("8", "9", "10"<!NO_VALUE_FOR_PARAMETER!>)<!>] fun test8() {}
|
||||
@A("8", "9", "10"<!NO_VALUE_FOR_PARAMETER!>)<!> fun test8() {}
|
||||
|
||||
+11
-11
@@ -6,22 +6,22 @@ public @interface A {
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
[A("1", "2", "3")] fun test1() {}
|
||||
@A("1", "2", "3") fun test1() {}
|
||||
|
||||
[A("4")] fun test2() {}
|
||||
@A("4") fun test2() {}
|
||||
|
||||
[A(*arrayOf("5", "6"), "7")] fun test3() {}
|
||||
@A(*arrayOf("5", "6"), "7") fun test3() {}
|
||||
|
||||
[A("1", "2", "3", x = String::class)] fun test4() {}
|
||||
@A("1", "2", "3", x = String::class) fun test4() {}
|
||||
|
||||
[A("4", y = 2)] fun test5() {}
|
||||
@A("4", y = 2) fun test5() {}
|
||||
|
||||
[A(*arrayOf("5", "6"), "7", x = Any::class, y = 3)] fun test6() {}
|
||||
@A(*arrayOf("5", "6"), "7", x = Any::class, y = 3) fun test6() {}
|
||||
|
||||
[A()] fun test7() {}
|
||||
@A() fun test7() {}
|
||||
|
||||
[A] fun test8() {}
|
||||
@A fun test8() {}
|
||||
|
||||
[A(x = Any::class, <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>*arrayOf("5", "6")<!>, <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3)] fun test9() {}
|
||||
[A(x = Any::class, value = *arrayOf("5", "6"), <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3)] fun test10() {}
|
||||
[A(x = Any::class, value = *arrayOf("5", "6", "7"), y = 3)] fun test11() {}
|
||||
@A(x = Any::class, <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>*arrayOf("5", "6")<!>, <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3) fun test9() {}
|
||||
@A(x = Any::class, value = *arrayOf("5", "6"), <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3) fun test10() {}
|
||||
@A(x = Any::class, value = *arrayOf("5", "6", "7"), y = 3) fun test11() {}
|
||||
|
||||
+1
-1
@@ -5,4 +5,4 @@ public @interface A {
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
[A(x = <!TYPE_MISMATCH(kotlin.reflect.KClass<*>; java.lang.Class<kotlin.Any>)!>javaClass<Any>()<!>, y = <!TYPE_MISMATCH!>""<!>)] fun test1() {}
|
||||
@A(x = <!TYPE_MISMATCH(kotlin.reflect.KClass<*>; java.lang.Class<kotlin.Any>)!>javaClass<Any>()<!>, y = <!TYPE_MISMATCH!>""<!>) fun test1() {}
|
||||
|
||||
+5
-5
@@ -4,12 +4,12 @@ public @interface A {
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
[A("1", "2", "3")] fun test1() {}
|
||||
@A("1", "2", "3") fun test1() {}
|
||||
|
||||
[A("4")] fun test2() {}
|
||||
@A("4") fun test2() {}
|
||||
|
||||
[A(*arrayOf("5", "6"), "7")] fun test3() {}
|
||||
@A(*arrayOf("5", "6"), "7") fun test3() {}
|
||||
|
||||
[A()] fun test4() {}
|
||||
@A() fun test4() {}
|
||||
|
||||
[A] fun test5() {}
|
||||
@A fun test5() {}
|
||||
|
||||
+5
-5
@@ -4,12 +4,12 @@ public @interface A {
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
[A("1", "2", "3")] fun test1() {}
|
||||
@A("1", "2", "3") fun test1() {}
|
||||
|
||||
[A("4")] fun test2() {}
|
||||
@A("4") fun test2() {}
|
||||
|
||||
[A(*arrayOf("5", "6"), "7")] fun test3() {}
|
||||
@A(*arrayOf("5", "6"), "7") fun test3() {}
|
||||
|
||||
[A()] fun test4() {}
|
||||
@A() fun test4() {}
|
||||
|
||||
[A] fun test5() {}
|
||||
@A fun test5() {}
|
||||
|
||||
Reference in New Issue
Block a user