diff --git a/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt index d72534504c3..a7235842aab 100644 --- a/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt index 03a8543082f..61f5a4b05cf 100644 --- a/compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt index 1975558085f..747022763b6 100644 --- a/compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt b/compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt index 8552eb462c0..d8f4ed44f4a 100644 --- a/compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt +++ b/compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt index 530b6d60dcd..0894cbf353a 100644 --- a/compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt @@ -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) diff --git a/compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt b/compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt index 70a9cda7ef2..f547eea3780 100644 --- a/compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt b/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt index 68bda69c580..96723878164 100644 --- a/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt +++ b/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt @@ -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) diff --git a/compiler/testData/codegen/box/reflection/annotations/setparam.kt b/compiler/testData/codegen/box/reflection/annotations/setparam.kt index 00699ecd4ce..0f7da66a990 100644 --- a/compiler/testData/codegen/box/reflection/annotations/setparam.kt +++ b/compiler/testData/codegen/box/reflection/annotations/setparam.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt index b33909c2f60..6aef4f018cf 100644 --- a/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt @@ -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) diff --git a/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt index 25a4e7022f9..113d6f93812 100644 --- a/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt @@ -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) diff --git a/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt index d9ef827372c..4a8c0a5cec3 100644 --- a/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt @@ -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) diff --git a/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt index 043eb54922a..5bca50a046b 100644 --- a/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt @@ -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) diff --git a/compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt b/compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt index bcdef0c00bd..bca07bba455 100644 --- a/compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt +++ b/compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/builtins/stringLength.kt b/compiler/testData/codegen/box/reflection/builtins/stringLength.kt index 921943a0042..5761df71aef 100644 --- a/compiler/testData/codegen/box/reflection/builtins/stringLength.kt +++ b/compiler/testData/codegen/box/reflection/builtins/stringLength.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/call/bigArity.kt b/compiler/testData/codegen/box/reflection/call/bigArity.kt index a53b94054da..be30a4fa7cd 100644 --- a/compiler/testData/codegen/box/reflection/call/bigArity.kt +++ b/compiler/testData/codegen/box/reflection/call/bigArity.kt @@ -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 { diff --git a/compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt index 8f72317c2e4..7d15c72cae1 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt index 0e0d90ac673..5c88f4f7643 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt index a6d59eaf617..dc7dd58ba40 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt b/compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt index 969ea285ec2..f5146bd85a8 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt @@ -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) { diff --git a/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt index 6f0486362ca..4a1e94c021f 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt index 98a58434fcd..8e3d4a97f4e 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt index 4be5999ff6e..b5da02e8189 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt index 6b71c37ca8d..ac1efa05825 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt b/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt index 6593f8b0229..1b2bd84f684 100644 --- a/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt +++ b/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/call/fakeOverride.kt b/compiler/testData/codegen/box/reflection/call/fakeOverride.kt index d548f34f87a..5c4a304bef3 100644 --- a/compiler/testData/codegen/box/reflection/call/fakeOverride.kt +++ b/compiler/testData/codegen/box/reflection/call/fakeOverride.kt @@ -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 { diff --git a/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt b/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt index 101c0e288ae..e169e5c4e87 100644 --- a/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt +++ b/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt @@ -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(val t: T) { diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt index cd8266c50d7..d4c73e196a4 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt index 0f64c635eaf..e41a64a8cba 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt index 9de6164ee66..28c475d78bf 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt b/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt index 7a3fad2c21f..b1af0aecf9a 100644 --- a/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt +++ b/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt @@ -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 { diff --git a/compiler/testData/codegen/box/reflection/call/localClassMember.kt b/compiler/testData/codegen/box/reflection/call/localClassMember.kt index c6c6b86df77..4625db3cede 100644 --- a/compiler/testData/codegen/box/reflection/call/localClassMember.kt +++ b/compiler/testData/codegen/box/reflection/call/localClassMember.kt @@ -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 { diff --git a/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt b/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt index e104a673a71..699ef8653c0 100644 --- a/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt +++ b/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt @@ -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" diff --git a/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt index 8047368cdb8..9c4b9daa164 100644 --- a/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt b/compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt index 30de53455d0..fc310bade5c 100644 --- a/compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt +++ b/compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt @@ -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) { diff --git a/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt b/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt index 9ffbcf8e4fe..54e88fd6fb1 100644 --- a/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt +++ b/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt @@ -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) diff --git a/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt b/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt index 9dd09c572ce..78893b0b641 100644 --- a/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt @@ -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 { diff --git a/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt b/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt index 063fd917b4e..85b275539d0 100644 --- a/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt +++ b/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt b/compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt index c2b8ba9dfe4..016b55fff41 100644 --- a/compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt b/compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt index 754f7d914aa..17df1b816c8 100644 --- a/compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt +++ b/compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/companionObject.kt b/compiler/testData/codegen/box/reflection/callBy/companionObject.kt index e16fa52beba..f11f0f37d46 100644 --- a/compiler/testData/codegen/box/reflection/callBy/companionObject.kt +++ b/compiler/testData/codegen/box/reflection/callBy/companionObject.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt b/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt index 9f159b7f9fb..6d0ff9eb6d9 100644 --- a/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt +++ b/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt b/compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt index 291308e4650..b4ba80a62f8 100644 --- a/compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt +++ b/compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM -// IGNORE_BACKEND: JS_IR_ES6 +// TARGET_BACKEND: JVM // WITH_REFLECT open class A { diff --git a/compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt b/compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt index 91cf00c4e71..c40db4a9e2a 100644 --- a/compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt +++ b/compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM -// IGNORE_BACKEND: JS_IR_ES6 +// TARGET_BACKEND: JVM // WITH_REFLECT interface A1 { diff --git a/compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt b/compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt index 59ff02906ff..a2e1ae029a4 100644 --- a/compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt +++ b/compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt b/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt index 71c5d268fb8..aba48546333 100644 --- a/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt b/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt index d7b65336874..7e0dcc65e96 100644 --- a/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt +++ b/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt b/compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt index e19d65c69b4..88918545e0e 100644 --- a/compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt +++ b/compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt b/compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt index ccefae20f71..4fec7351cb7 100644 --- a/compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt +++ b/compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt index 51cce1382c3..fdc6839f078 100644 --- a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt +++ b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt index 6a5dbb9c6f8..fbae606b061 100644 --- a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt index c70a30e6f94..93a5349c1e2 100644 --- a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt +++ b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt b/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt index f1e176d50b7..8891c969d6c 100644 --- a/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt +++ b/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt b/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt index c4aaa4c9291..2a2ca0fa4b3 100644 --- a/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt +++ b/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/nullValue.kt b/compiler/testData/codegen/box/reflection/callBy/nullValue.kt index fa612c7cf35..5e543fe35ff 100644 --- a/compiler/testData/codegen/box/reflection/callBy/nullValue.kt +++ b/compiler/testData/codegen/box/reflection/callBy/nullValue.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt b/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt index 8e6ae438033..c0a38308347 100644 --- a/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt +++ b/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt b/compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt index 824e66aab38..067da3f6a8d 100644 --- a/compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt +++ b/compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt b/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt index 0f232158de0..f2114d463c4 100644 --- a/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt +++ b/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt @@ -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") diff --git a/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt b/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt index e7d416a8d9b..71f75b76f65 100644 --- a/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt +++ b/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt @@ -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") { diff --git a/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt b/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt index e1903e414a8..107cce3726e 100644 --- a/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/classes/companionObject.kt b/compiler/testData/codegen/box/reflection/classes/companionObject.kt index f31a2ea7693..229bafb2639 100644 --- a/compiler/testData/codegen/box/reflection/classes/companionObject.kt +++ b/compiler/testData/codegen/box/reflection/classes/companionObject.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/classes/createInstance.kt b/compiler/testData/codegen/box/reflection/classes/createInstance.kt index d614a406af8..9daba5af54a 100644 --- a/compiler/testData/codegen/box/reflection/classes/createInstance.kt +++ b/compiler/testData/codegen/box/reflection/classes/createInstance.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/classes/objectInstance.kt b/compiler/testData/codegen/box/reflection/classes/objectInstance.kt index a03ff381c3e..21f3b75a878 100644 --- a/compiler/testData/codegen/box/reflection/classes/objectInstance.kt +++ b/compiler/testData/codegen/box/reflection/classes/objectInstance.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/classes/starProjectedType.kt b/compiler/testData/codegen/box/reflection/classes/starProjectedType.kt index bbe8997daea..ec039edd005 100644 --- a/compiler/testData/codegen/box/reflection/classes/starProjectedType.kt +++ b/compiler/testData/codegen/box/reflection/classes/starProjectedType.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt b/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt index e7dc111ee04..ed992f6030a 100644 --- a/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt +++ b/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt b/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt index 1cf689a1713..9b1d30e17a2 100644 --- a/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt +++ b/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/constructors/enumEntry.kt b/compiler/testData/codegen/box/reflection/constructors/enumEntry.kt index 4147a6bef84..de863a1b07e 100644 --- a/compiler/testData/codegen/box/reflection/constructors/enumEntry.kt +++ b/compiler/testData/codegen/box/reflection/constructors/enumEntry.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM -// IGNORE_BACKEND: JS_IR_ES6 +// TARGET_BACKEND: JVM // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt b/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt index e9767ed0dc9..1f5b31fef2a 100644 --- a/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt +++ b/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt b/compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt index 1da065b3230..39edd860f3c 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt b/compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt index b467ef73654..3b6c8589c49 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt b/compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt index da5b4031ae2..5649a1b6ed2 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt b/compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt index e5aedc76573..f587086d77c 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt b/compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt index 027e92dca48..8d426c8b6e6 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt b/compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt index 36b5f94d533..c57c585445a 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt b/compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt index 7a778e5b83e..4fb8068a8a3 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt b/compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt index 728b1562f28..0e6c6bf42c3 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt b/compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt index d88d941d27a..131b0b63d40 100644 --- a/compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt +++ b/compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM -// IGNORE_BACKEND: JS_IR_ES6 +// TARGET_BACKEND: JVM // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt b/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt index 9080487975f..fc155392086 100644 --- a/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt +++ b/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt @@ -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.* diff --git a/compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt b/compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt index 6bc82cf7c16..e9bb77d1be1 100644 --- a/compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt +++ b/compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt @@ -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 diff --git a/compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt b/compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt index c4f2f58a419..a896c915480 100644 --- a/compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt +++ b/compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt @@ -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 diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java index 2655ea62d46..d31d51de48e 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/JsCodegenBoxTestGenerated.java @@ -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 diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java index 4edfa94617b..f54b9c4e5ec 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java @@ -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 diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java index 5f0f8de9fae..cc8912d4c98 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java @@ -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 diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java index d5f37c2673c..ddef4174847 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java @@ -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 diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java index f90e393a302..623e0830b72 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestGenerated.java @@ -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 diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java index cf9b988ca35..9692c379cf8 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/FirNativeCodegenBoxTestNoPLGenerated.java @@ -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 diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java index 11c9d3bf146..ca97a73c354 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestGenerated.java @@ -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 diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java index c8cd92e54a5..aca4461c7e6 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/blackboxtest/NativeCodegenBoxTestNoPLGenerated.java @@ -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 diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java index fc4d66d737c..58d2f21674a 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/IrCodegenBoxWasmTestGenerated.java @@ -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")