Mark reflection related tests as jvm-only
This commit is contained in:
committed by
Space Team
parent
69a6339935
commit
15e5adf2b5
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.full.findAnnotation
|
||||
|
||||
+1
-4
@@ -1,7 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_REFLECT
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
import kotlin.reflect.full.declaredMemberFunctions
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
annotation private class Ann(val name: String)
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
annotation class Get
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
annotation class Ann(val value: String)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// different annotation order
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// !LANGUAGE: +FunctionTypesWithBigArity
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
class A {
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
class Outer(val x: String) {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
package test
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
open class A {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
open class A<T>(val t: T) {
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.KCallable
|
||||
|
||||
Vendored
+1
-2
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
class A {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
fun box(): String {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
var result = "Fail"
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
Vendored
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
data class Foo(val id: String) {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
class A(val result: String)
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
class A {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
fun String.foo(): Int = length
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
open class A {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
interface A1 {
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
fun foo(x: Int, y: Int = 2) = x + y
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertNull
|
||||
|
||||
compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt
Vendored
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
// FULL_JDK
|
||||
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
class A(val result: String = "OK")
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
class A(val result: String = "OK") {
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
fun foo(result: String = "OK") = result
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.full.*
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.full.createInstance
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.KTypeProjection
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
package test
|
||||
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertNull
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
package test
|
||||
|
||||
|
||||
+1
-4
@@ -1,7 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
package test
|
||||
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
package test
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
package test
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
+1
-5
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
package test
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
package test
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.full.*
|
||||
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
Vendored
+1
-3
@@ -1,6 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS, NATIVE, WASM
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
import kotlin.reflect.KClass
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
-474
@@ -32000,78 +32000,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32101,18 +32029,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32124,78 +32040,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32204,54 +32048,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32263,24 +32059,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32331,138 +32109,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32508,35 +32154,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32548,35 +32170,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32587,54 +32185,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32656,24 +32206,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
@@ -32709,18 +32247,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
-474
@@ -32414,78 +32414,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32515,18 +32443,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32538,78 +32454,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32618,54 +32462,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32677,24 +32473,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32745,138 +32523,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32922,35 +32568,11 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32962,35 +32584,11 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -33001,54 +32599,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -33070,24 +32620,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
@@ -33123,18 +32661,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
-474
@@ -32414,78 +32414,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32515,18 +32443,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32538,78 +32454,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32618,54 +32462,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32677,24 +32473,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32745,138 +32523,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32922,35 +32568,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32962,35 +32584,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -33001,54 +32599,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -33070,24 +32620,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
@@ -33123,18 +32661,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
-474
@@ -32414,78 +32414,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32515,18 +32443,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32538,78 +32454,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32618,54 +32462,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32677,24 +32473,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -32745,138 +32523,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32922,35 +32568,11 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -32962,35 +32584,11 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -33001,54 +32599,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -33070,24 +32620,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
@@ -33123,18 +32661,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
-474
@@ -35795,78 +35795,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -35905,18 +35833,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -35931,78 +35847,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -36014,54 +35858,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36076,24 +35872,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -36159,138 +35937,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36348,35 +35994,11 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36391,35 +36013,11 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36433,54 +36031,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36508,24 +36058,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
@@ -36576,18 +36114,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
-474
@@ -36631,78 +36631,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -36747,18 +36675,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36775,78 +36691,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -36860,54 +36704,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36924,24 +36720,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -37017,138 +36795,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -37210,35 +36856,11 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -37255,35 +36877,11 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -37299,54 +36897,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -37378,24 +36928,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
@@ -37452,18 +36990,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
-474
@@ -35378,78 +35378,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -35485,18 +35413,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -35510,78 +35426,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -35592,54 +35436,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -35653,24 +35449,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -35731,138 +35509,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -35918,35 +35564,11 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -35960,35 +35582,11 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36001,54 +35599,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36074,24 +35624,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
@@ -36139,18 +35677,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
-474
@@ -35796,78 +35796,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -35906,18 +35834,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -35932,78 +35848,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -36015,54 +35859,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36077,24 +35873,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -36160,138 +35938,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36349,35 +35995,11 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36392,35 +36014,11 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36434,54 +36032,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -36509,24 +36059,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
@@ -36577,18 +36115,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Generated
-395
@@ -28814,66 +28814,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotationRetentionAnnotation.kt")
|
||||
public void testAnnotationRetentionAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("findAnnotation.kt")
|
||||
public void testFindAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localClassParameterAnnotation.kt")
|
||||
public void testLocalClassParameterAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("openSuspendFun.kt")
|
||||
public void testOpenSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateAnnotation.kt")
|
||||
public void testPrivateAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyWithoutBackingField.kt")
|
||||
public void testPropertyWithoutBackingField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("setparam.kt")
|
||||
public void testSetparam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/setparam.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleClassAnnotation.kt")
|
||||
public void testSimpleClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleFunAnnotation.kt")
|
||||
public void testSimpleFunAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleParamAnnotation.kt")
|
||||
public void testSimpleParamAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleValAnnotation.kt")
|
||||
public void testSimpleValAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/annotations/onTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@@ -28912,16 +28852,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
public void testAllFilesPresentInBuiltins() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/builtins"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("enumNameOrdinal.kt")
|
||||
public void testEnumNameOrdinal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stringLength.kt")
|
||||
public void testStringLength() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/builtins/stringLength.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call")
|
||||
@@ -28936,66 +28866,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("bigArity.kt")
|
||||
public void testBigArity() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bigArity.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fakeOverride.kt")
|
||||
public void testFakeOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fakeOverrideSubstituted.kt")
|
||||
public void testFakeOverrideSubstituted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localClassMember.kt")
|
||||
public void testLocalClassMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/localClassMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("memberOfGenericClass.kt")
|
||||
public void testMemberOfGenericClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyAccessors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
|
||||
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleMemberFunction.kt")
|
||||
public void testSimpleMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleTopLevelFunctions.kt")
|
||||
public void testSimpleTopLevelFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/bound")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@@ -29007,46 +28877,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
public void testAllFilesPresentInBound() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/bound"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("companionObjectPropertyAccessors.kt")
|
||||
public void testCompanionObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionPropertyAccessors.kt")
|
||||
public void testExtensionPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("memberFunction.kt")
|
||||
public void testMemberFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("memberPropertyAccessors.kt")
|
||||
public void testMemberPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objectFunction.kt")
|
||||
public void testObjectFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objectPropertyAccessors.kt")
|
||||
public void testObjectPropertyAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses")
|
||||
@@ -29061,21 +28891,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassConstructor.kt")
|
||||
public void testInlineClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("internalPrimaryValOfInlineClass.kt")
|
||||
public void testInternalPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primaryValOfInlineClass.kt")
|
||||
public void testPrimaryValOfInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses/nonNullObject")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@@ -29141,116 +28956,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
public void testAllFilesPresentInCallBy() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/callBy"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("boundExtensionFunction.kt")
|
||||
public void testBoundExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boundExtensionPropertyAcessor.kt")
|
||||
public void testBoundExtensionPropertyAcessor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/companionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultAndNonDefaultIntertwined.kt")
|
||||
public void testDefaultAndNonDefaultIntertwined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInSuperClass.kt")
|
||||
public void testDefaultInSuperClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInSuperInterface.kt")
|
||||
public void testDefaultInSuperInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassDefaultArguments.kt")
|
||||
public void testInlineClassDefaultArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassMembers.kt")
|
||||
public void testInlineClassMembers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("manyMaskArguments.kt")
|
||||
public void testManyMaskArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nonDefaultParameterOmitted.kt")
|
||||
public void testNonDefaultParameterOmitted() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullValue.kt")
|
||||
public void testNullValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/nullValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt")
|
||||
public void testOrdinaryMethodIsInvokedWhenNoDefaultValuesAreUsed() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitiveDefaultValues.kt")
|
||||
public void testPrimitiveDefaultValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleMemberFunciton.kt")
|
||||
public void testSimpleMemberFunciton() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleTopLevelFunction.kt")
|
||||
public void testSimpleTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/classLiterals")
|
||||
@@ -29298,30 +29003,10 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classes"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("companionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/createInstance.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localClassSimpleName.kt")
|
||||
public void testLocalClassSimpleName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/localClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objectInstance.kt")
|
||||
public void testObjectInstance() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/objectInstance.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("starProjectedType.kt")
|
||||
public void testStarProjectedType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/classes/starProjectedType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/constructors")
|
||||
@@ -29336,30 +29021,10 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/constructors"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotationClass.kt")
|
||||
public void testAnnotationClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/annotationClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classesWithoutConstructors.kt")
|
||||
public void testClassesWithoutConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constructorName.kt")
|
||||
public void testConstructorName() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/constructorName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumEntry.kt")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/enumEntry.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primaryConstructor.kt")
|
||||
public void testPrimaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/createAnnotation")
|
||||
@@ -29373,46 +29038,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
public void testAllFilesPresentInCreateAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/createAnnotation"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotationType.kt")
|
||||
public void testAnnotationType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arrayOfKClasses.kt")
|
||||
public void testArrayOfKClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("equalsHashCodeToString.kt")
|
||||
public void testEqualsHashCodeToString() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("floatingPointParameters.kt")
|
||||
public void testFloatingPointParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("parameterNamedEquals.kt")
|
||||
public void testParameterNamedEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitivesAndArrays.kt")
|
||||
public void testPrimitivesAndArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/enclosing")
|
||||
@@ -29440,21 +29065,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/functions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("enumValuesValueOf.kt")
|
||||
public void testEnumValuesValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverriddenFunction.kt")
|
||||
public void testGenericOverriddenFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleGetFunctions.kt")
|
||||
public void testSimpleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleNames.kt")
|
||||
public void testSimpleNames() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/functions/simpleNames.kt");
|
||||
@@ -29498,16 +29113,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
public void testAllFilesPresentInKClassInAnnotation() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/kClassInAnnotation"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("forceWrapping.kt")
|
||||
public void testForceWrapping() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("wrappingForCallableReferences.kt")
|
||||
public void testWrappingForCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/lambdaClasses")
|
||||
|
||||
Reference in New Issue
Block a user