Update resolveAnnotations tests in new infrastructure
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
package test
|
||||
|
||||
annotation class Ann(
|
||||
val p1: Byte,
|
||||
val p2: Short,
|
||||
val p3: Int,
|
||||
val p4: Int,
|
||||
val p5: Long,
|
||||
val p6: Long
|
||||
)
|
||||
|
||||
@Ann(
|
||||
p1 = <!ARGUMENT_TYPE_MISMATCH!>java.lang.Byte.MAX_VALUE + 1<!>,
|
||||
p2 = <!ARGUMENT_TYPE_MISMATCH!>java.lang.Short.MAX_VALUE + 1<!>,
|
||||
p3 = java.lang.Integer.MAX_VALUE + 1,
|
||||
p4 = java.lang.Integer.MAX_VALUE + 1,
|
||||
p5 = java.lang.Integer.MAX_VALUE + 1.toLong(),
|
||||
p6 = java.lang.Long.MAX_VALUE + 1
|
||||
) class MyClass
|
||||
|
||||
// EXPECTED: @Ann(p1 = 128, p2 = 32768, p3 = -2147483648, p4 = -2147483648, p5 = 2147483648.toLong(), p6 = -9223372036854775808.toLong())
|
||||
Reference in New Issue
Block a user