diff --git a/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt b/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt index 7db8085f070..c69d0063d72 100644 --- a/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt +++ b/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM fun box(): String { var x = 42 diff --git a/compiler/testData/codegen/box/classLiteral/java/kt11943.kt b/compiler/testData/codegen/box/classLiteral/java/kt11943.kt index 33a76473834..9cdbdaaeca1 100644 --- a/compiler/testData/codegen/box/classLiteral/java/kt11943.kt +++ b/compiler/testData/codegen/box/classLiteral/java/kt11943.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt index 71c2bac1af4..d72534504c3 100644 --- a/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt index cae61d912c3..92d9b8b68af 100644 --- a/compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // !OPT_IN: kotlin.ExperimentalStdlibApi // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt index 6df136b90f7..1975558085f 100644 --- a/compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/localClassParameterAnnotation.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt b/compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt index 9752f65338c..8552eb462c0 100644 --- a/compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt +++ b/compiler/testData/codegen/box/reflection/annotations/openSuspendFun.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT -// IGNORE_BACKEND: JS, NATIVE +// 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 b50b782d80d..530b6d60dcd 100644 --- a/compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/privateAnnotation.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // 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 44afc0a4392..70a9cda7ef2 100644 --- a/compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/annotations/propertyAccessors.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt b/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt index 38ed8caf909..68bda69c580 100644 --- a/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt +++ b/compiler/testData/codegen/box/reflection/annotations/propertyWithoutBackingField.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/setparam.kt b/compiler/testData/codegen/box/reflection/annotations/setparam.kt index a986da1e8ab..00699ecd4ce 100644 --- a/compiler/testData/codegen/box/reflection/annotations/setparam.kt +++ b/compiler/testData/codegen/box/reflection/annotations/setparam.kt @@ -1,5 +1,5 @@ // WITH_REFLECT -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // different annotation order diff --git a/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt index 6e8239398e9..b33909c2f60 100644 --- a/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/simpleClassAnnotation.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt index 6a93ec3c163..25a4e7022f9 100644 --- a/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt index 03eef9ef7cb..d9ef827372c 100644 --- a/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/simpleParamAnnotation.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt b/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt index 0235f579e31..043eb54922a 100644 --- a/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/annotations/simpleValAnnotation.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt b/compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt index e53e8fd6cef..9ec5c26036c 100644 --- a/compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt +++ b/compiler/testData/codegen/box/reflection/builtins/enumNameOrdinal.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/builtins/stringLength.kt b/compiler/testData/codegen/box/reflection/builtins/stringLength.kt index d242969922b..921943a0042 100644 --- a/compiler/testData/codegen/box/reflection/builtins/stringLength.kt +++ b/compiler/testData/codegen/box/reflection/builtins/stringLength.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bigArity.kt b/compiler/testData/codegen/box/reflection/call/bigArity.kt index d3d357e2e3b..a53b94054da 100644 --- a/compiler/testData/codegen/box/reflection/call/bigArity.kt +++ b/compiler/testData/codegen/box/reflection/call/bigArity.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +FunctionTypesWithBigArity -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt index c12ebc3081d..8f72317c2e4 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/companionObjectPropertyAccessors.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt index 93704d4fb65..0e0d90ac673 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/extensionFunction.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt index ebb068590aa..a6d59eaf617 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/extensionPropertyAccessors.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt b/compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt index 2107be9f6fd..969ea285ec2 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/innerClassConstructor.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt index 4fb174d0bc5..6f0486362ca 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt index 33a3318975e..98a58434fcd 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/memberPropertyAccessors.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt index 9af0f8d4083..4be5999ff6e 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt index 5e96d1ec340..6b71c37ca8d 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt b/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt index 411372284e3..6593f8b0229 100644 --- a/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt +++ b/compiler/testData/codegen/box/reflection/call/equalsHashCodeToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/fakeOverride.kt b/compiler/testData/codegen/box/reflection/call/fakeOverride.kt index 4392e14f681..d548f34f87a 100644 --- a/compiler/testData/codegen/box/reflection/call/fakeOverride.kt +++ b/compiler/testData/codegen/box/reflection/call/fakeOverride.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt b/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt index 7f41cab9486..101c0e288ae 100644 --- a/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt +++ b/compiler/testData/codegen/box/reflection/call/fakeOverrideSubstituted.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/constructorWithInlineClassParameters.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/constructorWithInlineClassParameters.kt index 19ef1becae5..a7898a1a443 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/constructorWithInlineClassParameters.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/constructorWithInlineClassParameters.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/functionsWithInlineClassParameters.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/functionsWithInlineClassParameters.kt index bc9ebdb178a..6b991ae5d15 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/functionsWithInlineClassParameters.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/functionsWithInlineClassParameters.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt index 19467f39aa0..9337937e657 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/inlineClassConstructor.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt index 26b3b6a9403..2fbe8ace968 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/internalPrimaryValOfInlineClass.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingFunOfInlineClass.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingFunOfInlineClass.kt index 609e7bf4e57..f3aeb57cfcf 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingFunOfInlineClass.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingFunOfInlineClass.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingVarOfInlineClass.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingVarOfInlineClass.kt index e365dff5fc0..9eee6b76be9 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingVarOfInlineClass.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingVarOfInlineClass.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/overridingFunOfInlineClass.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/overridingFunOfInlineClass.kt index 9970b3d14c5..ec000f781ec 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/overridingFunOfInlineClass.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/overridingFunOfInlineClass.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/overridingVarOfInlineClass.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/overridingVarOfInlineClass.kt index fff7c09b21d..0ef10f74115 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/overridingVarOfInlineClass.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/overridingVarOfInlineClass.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // 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 89156e987e5..23bda44c8e6 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/inlineClasses/properties.kt b/compiler/testData/codegen/box/reflection/call/inlineClasses/properties.kt index 919589dc174..5e55320d0b7 100644 --- a/compiler/testData/codegen/box/reflection/call/inlineClasses/properties.kt +++ b/compiler/testData/codegen/box/reflection/call/inlineClasses/properties.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt b/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt index e4724a3cb1e..7a3fad2c21f 100644 --- a/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt +++ b/compiler/testData/codegen/box/reflection/call/innerClassConstructor.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/localClassMember.kt b/compiler/testData/codegen/box/reflection/call/localClassMember.kt index d2e55b6a6a5..c6c6b86df77 100644 --- a/compiler/testData/codegen/box/reflection/call/localClassMember.kt +++ b/compiler/testData/codegen/box/reflection/call/localClassMember.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt b/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt index d036bfde877..e104a673a71 100644 --- a/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt +++ b/compiler/testData/codegen/box/reflection/call/memberOfGenericClass.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt index 3dbaa5f91d7..8047368cdb8 100644 --- a/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt b/compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt index f421b2c6173..30de53455d0 100644 --- a/compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt +++ b/compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt b/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt index 59ba3ce4af3..9ffbcf8e4fe 100644 --- a/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt +++ b/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt b/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt index 2e713ae0f13..9dd09c572ce 100644 --- a/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/simpleMemberFunction.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt b/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt index 2b62596386e..063fd917b4e 100644 --- a/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt +++ b/compiler/testData/codegen/box/reflection/call/simpleTopLevelFunctions.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt b/compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt index 11d5a868ff0..c2b8ba9dfe4 100644 --- a/compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/boundExtensionFunction.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt b/compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt index 9a086eafd4e..754f7d914aa 100644 --- a/compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt +++ b/compiler/testData/codegen/box/reflection/callBy/boundExtensionPropertyAcessor.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/companionObject.kt b/compiler/testData/codegen/box/reflection/callBy/companionObject.kt index f75389edb94..e16fa52beba 100644 --- a/compiler/testData/codegen/box/reflection/callBy/companionObject.kt +++ b/compiler/testData/codegen/box/reflection/callBy/companionObject.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt b/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt index eaab2a3ae4c..9f159b7f9fb 100644 --- a/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt +++ b/compiler/testData/codegen/box/reflection/callBy/defaultAndNonDefaultIntertwined.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt b/compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt index eb827cc90d5..291308e4650 100644 --- a/compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt +++ b/compiler/testData/codegen/box/reflection/callBy/defaultInSuperClass.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt b/compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt index 97797ae2d14..91cf00c4e71 100644 --- a/compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt +++ b/compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt b/compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt index 1665c01f631..59ff02906ff 100644 --- a/compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt +++ b/compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt b/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt index c206117d92d..71c5d268fb8 100644 --- a/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt b/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt index 554091c2ccc..2ceec900d39 100644 --- a/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt +++ b/compiler/testData/codegen/box/reflection/callBy/inlineClassDefaultArguments.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt b/compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt index b748f7d5640..b4251bc1ab5 100644 --- a/compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt +++ b/compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt b/compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt index c6c099e1bf6..ccefae20f71 100644 --- a/compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt +++ b/compiler/testData/codegen/box/reflection/callBy/inlineClassMembers.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // 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 acb25e9e8d5..51cce1382c3 100644 --- a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt +++ b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // 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 25b7fc418e9..6a5dbb9c6f8 100644 --- a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // 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 fdc7a3714f7..c70a30e6f94 100644 --- a/compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt +++ b/compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt b/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt index 92d36e05de0..f1e176d50b7 100644 --- a/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt +++ b/compiler/testData/codegen/box/reflection/callBy/manyMaskArguments.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt b/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt index 1e0bbf5dc09..c4aaa4c9291 100644 --- a/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt +++ b/compiler/testData/codegen/box/reflection/callBy/nonDefaultParameterOmitted.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/nullValue.kt b/compiler/testData/codegen/box/reflection/callBy/nullValue.kt index 5930a5cfe4a..fa612c7cf35 100644 --- a/compiler/testData/codegen/box/reflection/callBy/nullValue.kt +++ b/compiler/testData/codegen/box/reflection/callBy/nullValue.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt b/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt index 62851ada7a3..8e6ae438033 100644 --- a/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt +++ b/compiler/testData/codegen/box/reflection/callBy/ordinaryMethodIsInvokedWhenNoDefaultValuesAreUsed.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // 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 09796f30230..824e66aab38 100644 --- a/compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt +++ b/compiler/testData/codegen/box/reflection/callBy/primitiveDefaultValues.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt b/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt index 2e9ee7ced6f..0f232158de0 100644 --- a/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt +++ b/compiler/testData/codegen/box/reflection/callBy/simpleConstructor.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt b/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt index df05106a44c..e7d416a8d9b 100644 --- a/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt +++ b/compiler/testData/codegen/box/reflection/callBy/simpleMemberFunciton.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt b/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt index 86be0fddd4e..e1903e414a8 100644 --- a/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/simpleTopLevelFunction.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt b/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt index 28d5dd9a046..9f640b34e9c 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt @@ -1,5 +1,5 @@ // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classLiterals/lambdaClass.kt b/compiler/testData/codegen/box/reflection/classLiterals/lambdaClass.kt index cc0121c31c6..f6123042efa 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/lambdaClass.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/lambdaClass.kt @@ -1,4 +1,4 @@ - +// IGNORE_BACKEND: WASM // KT-33992 class P(val a: T, val b: T) diff --git a/compiler/testData/codegen/box/reflection/classes/companionObject.kt b/compiler/testData/codegen/box/reflection/classes/companionObject.kt index e4a1aa6979f..f31a2ea7693 100644 --- a/compiler/testData/codegen/box/reflection/classes/companionObject.kt +++ b/compiler/testData/codegen/box/reflection/classes/companionObject.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classes/createInstance.kt b/compiler/testData/codegen/box/reflection/classes/createInstance.kt index 214d57740dd..d614a406af8 100644 --- a/compiler/testData/codegen/box/reflection/classes/createInstance.kt +++ b/compiler/testData/codegen/box/reflection/classes/createInstance.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classes/objectInstance.kt b/compiler/testData/codegen/box/reflection/classes/objectInstance.kt index a4bab4ba0c5..a03ff381c3e 100644 --- a/compiler/testData/codegen/box/reflection/classes/objectInstance.kt +++ b/compiler/testData/codegen/box/reflection/classes/objectInstance.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classes/starProjectedType.kt b/compiler/testData/codegen/box/reflection/classes/starProjectedType.kt index a81b73a8494..bbe8997daea 100644 --- a/compiler/testData/codegen/box/reflection/classes/starProjectedType.kt +++ b/compiler/testData/codegen/box/reflection/classes/starProjectedType.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt b/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt index fd9a061d447..e7dc111ee04 100644 --- a/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt +++ b/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt b/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt index 2f8fb538661..1cf689a1713 100644 --- a/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt +++ b/compiler/testData/codegen/box/reflection/constructors/classesWithoutConstructors.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/constructors/enumEntry.kt b/compiler/testData/codegen/box/reflection/constructors/enumEntry.kt index 35faa278811..cd961a633f3 100644 --- a/compiler/testData/codegen/box/reflection/constructors/enumEntry.kt +++ b/compiler/testData/codegen/box/reflection/constructors/enumEntry.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // 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 9bd589f6ca2..e9767ed0dc9 100644 --- a/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt +++ b/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt b/compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt index 30c60c9ea21..1da065b3230 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/annotationType.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt b/compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt index 0e1230c83b3..b467ef73654 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // 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 585fdef4d46..da5b4031ae2 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt b/compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt index 02a1c364a08..e5aedc76573 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // 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 354d9d34d78..027e92dca48 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/equalsHashCodeToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt b/compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt index 2cb772f245f..36b5f94d533 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/floatingPointParameters.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt b/compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt index dbfb8f3e7dc..7a778e5b83e 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/parameterNamedEquals.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt b/compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt index 4e210c3abef..728b1562f28 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/primitivesAndArrays.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt b/compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt index 2e81e427297..d88d941d27a 100644 --- a/compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt +++ b/compiler/testData/codegen/box/reflection/functions/enumValuesValueOf.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt b/compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt index c19c9442d73..e9f33611acc 100644 --- a/compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt +++ b/compiler/testData/codegen/box/reflection/functions/genericOverriddenFunction.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt b/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt index 554813863a4..9080487975f 100644 --- a/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt +++ b/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt b/compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt index d06997c45ec..6bc82cf7c16 100644 --- a/compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt +++ b/compiler/testData/codegen/box/reflection/kClassInAnnotation/forceWrapping.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // 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 ca94437326e..c4f2f58a419 100644 --- a/compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt +++ b/compiler/testData/codegen/box/reflection/kClassInAnnotation/wrappingForCallableReferences.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT import kotlin.reflect.KClass import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt index b8b964067bd..f19165ef36d 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/extensionPropertyReceiverToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/extensionPropertyReceiverToString.kt index 88dbe534302..a6cf6b73f46 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/extensionPropertyReceiverToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/extensionPropertyReceiverToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideEqualsHashCode.kt index 268c491ff3a..b981b9172cc 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideEqualsHashCode.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString.kt index 6d8803d24d9..154ec07bee2 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString2.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString2.kt index 587c0a2ad35..8f721a160e1 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString2.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString2.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt index adeaf81b556..9a7698c08a8 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt @@ -2,6 +2,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt index 7ad23317c26..7684e84d6e0 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt @@ -2,7 +2,7 @@ // IGNORE_BACKEND: JS_IR_ES6 // KT-12630 KotlinReflectionInternalError on referencing some functions from stdlib -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT import kotlin.test.* diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt index fe0a401f479..8a9e4ec41f4 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt @@ -2,7 +2,7 @@ // IGNORE_BACKEND: JS_IR_ES6 // KT-12630 KotlinReflectionInternalError on referencing some functions from stdlib -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT import kotlin.test.* diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionToString.kt index 1896f3b34ea..f68d95c42f1 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt index e6c38bc5723..884c6f21e73 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt index db943350e5c..4012fa89eb4 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt index 851d206ae57..7930fced5e7 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/propertyToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/propertyToString.kt index e03096d209e..011bd82ff32 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/propertyToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/propertyToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/typeEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/typeEqualsHashCode.kt index f2cb283a370..743e9867142 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/typeEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/typeEqualsHashCode.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersEqualsHashCode.kt index c0e0bf3f024..a4085dc77d1 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersEqualsHashCode.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersToString.kt index 1d4cce0e924..c9b2209bf12 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt index dbaf5c87f73..3ba032ea859 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/typeToStringInnerGeneric.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/typeToStringInnerGeneric.kt index 18daa2bd26f..e04182b501c 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/typeToStringInnerGeneric.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/typeToStringInnerGeneric.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/modifiers/callableModality.kt b/compiler/testData/codegen/box/reflection/modifiers/callableModality.kt index 1d62a61cbe8..4386e57eebc 100644 --- a/compiler/testData/codegen/box/reflection/modifiers/callableModality.kt +++ b/compiler/testData/codegen/box/reflection/modifiers/callableModality.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/modifiers/callableVisibility.kt b/compiler/testData/codegen/box/reflection/modifiers/callableVisibility.kt index 39c0916c882..1250d4ac5f3 100644 --- a/compiler/testData/codegen/box/reflection/modifiers/callableVisibility.kt +++ b/compiler/testData/codegen/box/reflection/modifiers/callableVisibility.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/modifiers/classModality.kt b/compiler/testData/codegen/box/reflection/modifiers/classModality.kt index 0c984c4f71f..d1403ffb11d 100644 --- a/compiler/testData/codegen/box/reflection/modifiers/classModality.kt +++ b/compiler/testData/codegen/box/reflection/modifiers/classModality.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/modifiers/classVisibility.kt b/compiler/testData/codegen/box/reflection/modifiers/classVisibility.kt index 8b890443cc3..11b3b653f47 100644 --- a/compiler/testData/codegen/box/reflection/modifiers/classVisibility.kt +++ b/compiler/testData/codegen/box/reflection/modifiers/classVisibility.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/modifiers/functions.kt b/compiler/testData/codegen/box/reflection/modifiers/functions.kt index 399a71935b2..7b235e60f7b 100644 --- a/compiler/testData/codegen/box/reflection/modifiers/functions.kt +++ b/compiler/testData/codegen/box/reflection/modifiers/functions.kt @@ -2,7 +2,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/modifiers/properties.kt b/compiler/testData/codegen/box/reflection/modifiers/properties.kt index b6d808daee9..84cb9df3dfe 100644 --- a/compiler/testData/codegen/box/reflection/modifiers/properties.kt +++ b/compiler/testData/codegen/box/reflection/modifiers/properties.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/modifiers/typeParameters.kt b/compiler/testData/codegen/box/reflection/modifiers/typeParameters.kt index ff1577d991b..ad49f97dec6 100644 --- a/compiler/testData/codegen/box/reflection/modifiers/typeParameters.kt +++ b/compiler/testData/codegen/box/reflection/modifiers/typeParameters.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt index 9e689350699..d5950d8c18c 100644 --- a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt +++ b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt @@ -3,7 +3,7 @@ // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS // IGNORE_BACKEND: NATIVE - +// IGNORE_BACKEND: WASM // WITH_RUNTIME import kotlin.reflect.KCallable diff --git a/compiler/testData/codegen/box/reflection/parameters/bigArity.kt b/compiler/testData/codegen/box/reflection/parameters/bigArity.kt index 6383361650b..3996a9fc319 100644 --- a/compiler/testData/codegen/box/reflection/parameters/bigArity.kt +++ b/compiler/testData/codegen/box/reflection/parameters/bigArity.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +FunctionTypesWithBigArity -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/boundInnerClassConstructor.kt b/compiler/testData/codegen/box/reflection/parameters/boundInnerClassConstructor.kt index b5a066fb09a..ac9b6ec86f1 100644 --- a/compiler/testData/codegen/box/reflection/parameters/boundInnerClassConstructor.kt +++ b/compiler/testData/codegen/box/reflection/parameters/boundInnerClassConstructor.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT import kotlin.reflect.KParameter diff --git a/compiler/testData/codegen/box/reflection/parameters/boundReferences.kt b/compiler/testData/codegen/box/reflection/parameters/boundReferences.kt index 931a24ad4dc..1c6be57205c 100644 --- a/compiler/testData/codegen/box/reflection/parameters/boundReferences.kt +++ b/compiler/testData/codegen/box/reflection/parameters/boundReferences.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt b/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt index 7613ea026ae..4a086f7d3c3 100644 --- a/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt +++ b/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/instanceExtensionReceiverAndValueParameters.kt b/compiler/testData/codegen/box/reflection/parameters/instanceExtensionReceiverAndValueParameters.kt index 764d1c5f056..f0655d9c1eb 100644 --- a/compiler/testData/codegen/box/reflection/parameters/instanceExtensionReceiverAndValueParameters.kt +++ b/compiler/testData/codegen/box/reflection/parameters/instanceExtensionReceiverAndValueParameters.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt b/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt index da076da744f..df2b32626b2 100644 --- a/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt +++ b/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/isOptional.kt b/compiler/testData/codegen/box/reflection/parameters/isOptional.kt index 9e0f2c2e94f..451931b6e61 100644 --- a/compiler/testData/codegen/box/reflection/parameters/isOptional.kt +++ b/compiler/testData/codegen/box/reflection/parameters/isOptional.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/kinds.kt b/compiler/testData/codegen/box/reflection/parameters/kinds.kt index 2f64a6836aa..cfa467126e7 100644 --- a/compiler/testData/codegen/box/reflection/parameters/kinds.kt +++ b/compiler/testData/codegen/box/reflection/parameters/kinds.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/propertySetter.kt b/compiler/testData/codegen/box/reflection/parameters/propertySetter.kt index 2a259619a22..0a0ed44dbe3 100644 --- a/compiler/testData/codegen/box/reflection/parameters/propertySetter.kt +++ b/compiler/testData/codegen/box/reflection/parameters/propertySetter.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt b/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt index 529501c28b4..5b56b572f88 100644 --- a/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt +++ b/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/accessors/extensionPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/properties/accessors/extensionPropertyAccessors.kt index e1787bfe3a1..27a29f183e8 100644 --- a/compiler/testData/codegen/box/reflection/properties/accessors/extensionPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/properties/accessors/extensionPropertyAccessors.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt b/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt index ca47181fc02..c9d04535051 100644 --- a/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt +++ b/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/accessors/memberPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/properties/accessors/memberPropertyAccessors.kt index 7ead01f0255..78a1ed51348 100644 --- a/compiler/testData/codegen/box/reflection/properties/accessors/memberPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/properties/accessors/memberPropertyAccessors.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/accessors/topLevelPropertyAccessors.kt b/compiler/testData/codegen/box/reflection/properties/accessors/topLevelPropertyAccessors.kt index 47305ad34f9..bd84c74c07d 100644 --- a/compiler/testData/codegen/box/reflection/properties/accessors/topLevelPropertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/properties/accessors/topLevelPropertyAccessors.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt b/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt index a3b214fb332..aed943aa27c 100644 --- a/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt +++ b/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt b/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt index 22eeaec4fb4..b4d3c937d61 100644 --- a/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt +++ b/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt b/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt index e309c7ed2a9..2b3645589f7 100644 --- a/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt +++ b/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/genericOverriddenProperty.kt b/compiler/testData/codegen/box/reflection/properties/genericOverriddenProperty.kt index b44fa57a61b..c364f6938f7 100644 --- a/compiler/testData/codegen/box/reflection/properties/genericOverriddenProperty.kt +++ b/compiler/testData/codegen/box/reflection/properties/genericOverriddenProperty.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT // KT-13700 Exception obtaining descriptor for property reference diff --git a/compiler/testData/codegen/box/reflection/properties/genericProperty.kt b/compiler/testData/codegen/box/reflection/properties/genericProperty.kt index c11df40992e..d52c9d6e665 100644 --- a/compiler/testData/codegen/box/reflection/properties/genericProperty.kt +++ b/compiler/testData/codegen/box/reflection/properties/genericProperty.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt b/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt index fa87dfb8065..a633a294cb8 100644 --- a/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt +++ b/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt b/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt index c5be924b5a4..00757ed172f 100644 --- a/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt +++ b/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt b/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt index f33e109af55..753bb60dca8 100644 --- a/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt +++ b/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt b/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt index 8dede3bec2d..036f7590aa4 100644 --- a/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt +++ b/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt b/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt index 7be6f7d879b..67bfc157d6f 100644 --- a/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt +++ b/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt b/compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt index b39ccbb53ec..359839c1a7d 100644 --- a/compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt +++ b/compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt b/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt index 153bf7f0c8b..06dd7700c68 100644 --- a/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt +++ b/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/supertypes/genericSubstitution.kt b/compiler/testData/codegen/box/reflection/supertypes/genericSubstitution.kt index 41d780f99b4..9b5b8f1e050 100644 --- a/compiler/testData/codegen/box/reflection/supertypes/genericSubstitution.kt +++ b/compiler/testData/codegen/box/reflection/supertypes/genericSubstitution.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/supertypes/isSubclassOfIsSuperclassOf.kt b/compiler/testData/codegen/box/reflection/supertypes/isSubclassOfIsSuperclassOf.kt index 3bf60712615..5466e973d12 100644 --- a/compiler/testData/codegen/box/reflection/supertypes/isSubclassOfIsSuperclassOf.kt +++ b/compiler/testData/codegen/box/reflection/supertypes/isSubclassOfIsSuperclassOf.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/supertypes/simpleSupertypes.kt b/compiler/testData/codegen/box/reflection/supertypes/simpleSupertypes.kt index 2a1eafc1ecc..070022514ce 100644 --- a/compiler/testData/codegen/box/reflection/supertypes/simpleSupertypes.kt +++ b/compiler/testData/codegen/box/reflection/supertypes/simpleSupertypes.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeOf/classes.kt b/compiler/testData/codegen/box/reflection/typeOf/classes.kt index 4a8fe1f6087..523b3db929e 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/classes.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/classes.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, JS_IR +// IGNORE_BACKEND: JS, JS_IR, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeOf/inlineClasses.kt b/compiler/testData/codegen/box/reflection/typeOf/inlineClasses.kt index d99a0ae4738..67787b308c4 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/inlineClasses.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/inlineClasses.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, JS_IR +// IGNORE_BACKEND: JS, JS_IR, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeOf/manyTypeArguments.kt b/compiler/testData/codegen/box/reflection/typeOf/manyTypeArguments.kt index be59397715d..a54c2173abd 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/manyTypeArguments.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/manyTypeArguments.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, JS_IR +// IGNORE_BACKEND: JS, JS_IR, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeOf/multipleLayers.kt b/compiler/testData/codegen/box/reflection/typeOf/multipleLayers.kt index 13aac26e878..4443019d5cc 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/multipleLayers.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/multipleLayers.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, JS_IR +// IGNORE_BACKEND: JS, JS_IR, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/defaultUpperBound.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/defaultUpperBound.kt index 4bd2c109c03..55c398da0e8 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/defaultUpperBound.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/defaultUpperBound.kt @@ -1,6 +1,7 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT package test import kotlin.reflect.typeOf diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnClassParameters.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnClassParameters.kt index 68a43f86fb4..ddbebec6da1 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnClassParameters.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnClassParameters.kt @@ -1,6 +1,6 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM package test import kotlin.reflect.typeOf diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnFunctionParameters.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnFunctionParameters.kt index aef868ff0a0..e3840baa321 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnFunctionParameters.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnFunctionParameters.kt @@ -1,6 +1,6 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM package test import kotlin.reflect.typeOf diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleClassParameter.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleClassParameter.kt index c9d0a9828d3..85931029423 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleClassParameter.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleClassParameter.kt @@ -1,6 +1,6 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM package test import kotlin.reflect.typeOf diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleFunctionParameter.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleFunctionParameter.kt index c4e1ea3e5c6..331998a4567 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleFunctionParameter.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleFunctionParameter.kt @@ -1,6 +1,7 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT package test import kotlin.reflect.typeOf diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simplePropertyParameter.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simplePropertyParameter.kt index 7c17d256f78..adb26885789 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simplePropertyParameter.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simplePropertyParameter.kt @@ -1,6 +1,7 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT package test import kotlin.reflect.typeOf diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/starProjectionInUpperBound.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/starProjectionInUpperBound.kt index a7c9e9286d1..caccacfe0c9 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/starProjectionInUpperBound.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/starProjectionInUpperBound.kt @@ -1,6 +1,7 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT import kotlin.reflect.KType import kotlin.reflect.typeOf diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/typeParameterFlags.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/typeParameterFlags.kt index a83a644e28f..651bce1b7fe 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/typeParameterFlags.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/typeParameterFlags.kt @@ -1,6 +1,6 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM package test import kotlin.reflect.* diff --git a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/upperBounds.kt b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/upperBounds.kt index b346fddd514..74dc071d6ae 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/upperBounds.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/upperBounds.kt @@ -1,6 +1,6 @@ // WITH_REFLECT // KJS_WITH_FULL_RUNTIME - +// IGNORE_BACKEND: WASM package test import kotlin.reflect.typeOf diff --git a/compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt b/compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt index 709ce6cf25f..763482f9728 100644 --- a/compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt +++ b/compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, JS_IR +// IGNORE_BACKEND: JS, JS_IR, WASM // IGNORE_BACKEND: JS_IR_ES6 // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeParameters/declarationSiteVariance.kt b/compiler/testData/codegen/box/reflection/typeParameters/declarationSiteVariance.kt index 496687751fb..1aef8ea0747 100644 --- a/compiler/testData/codegen/box/reflection/typeParameters/declarationSiteVariance.kt +++ b/compiler/testData/codegen/box/reflection/typeParameters/declarationSiteVariance.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeParameters/typeParametersAndNames.kt b/compiler/testData/codegen/box/reflection/typeParameters/typeParametersAndNames.kt index d87b65463c4..ad9dba08e27 100644 --- a/compiler/testData/codegen/box/reflection/typeParameters/typeParametersAndNames.kt +++ b/compiler/testData/codegen/box/reflection/typeParameters/typeParametersAndNames.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/typeParameters/upperBounds.kt b/compiler/testData/codegen/box/reflection/typeParameters/upperBounds.kt index 19626d43703..8428d63c68f 100644 --- a/compiler/testData/codegen/box/reflection/typeParameters/upperBounds.kt +++ b/compiler/testData/codegen/box/reflection/typeParameters/upperBounds.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/classifierIsClass.kt b/compiler/testData/codegen/box/reflection/types/classifierIsClass.kt index 1230ea7e07a..cad8f85c326 100644 --- a/compiler/testData/codegen/box/reflection/types/classifierIsClass.kt +++ b/compiler/testData/codegen/box/reflection/types/classifierIsClass.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/classifierIsTypeParameter.kt b/compiler/testData/codegen/box/reflection/types/classifierIsTypeParameter.kt index 354a9de7554..d053e067fb5 100644 --- a/compiler/testData/codegen/box/reflection/types/classifierIsTypeParameter.kt +++ b/compiler/testData/codegen/box/reflection/types/classifierIsTypeParameter.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/createType/equality.kt b/compiler/testData/codegen/box/reflection/types/createType/equality.kt index 505b47c8842..ce105cdd560 100644 --- a/compiler/testData/codegen/box/reflection/types/createType/equality.kt +++ b/compiler/testData/codegen/box/reflection/types/createType/equality.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/createType/innerGeneric.kt b/compiler/testData/codegen/box/reflection/types/createType/innerGeneric.kt index 8e8b091d260..e7788d43067 100644 --- a/compiler/testData/codegen/box/reflection/types/createType/innerGeneric.kt +++ b/compiler/testData/codegen/box/reflection/types/createType/innerGeneric.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/types/createType/simpleCreateType.kt b/compiler/testData/codegen/box/reflection/types/createType/simpleCreateType.kt index acd9eb88801..8dda329f217 100644 --- a/compiler/testData/codegen/box/reflection/types/createType/simpleCreateType.kt +++ b/compiler/testData/codegen/box/reflection/types/createType/simpleCreateType.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT package test diff --git a/compiler/testData/codegen/box/reflection/types/createType/typeParameter.kt b/compiler/testData/codegen/box/reflection/types/createType/typeParameter.kt index 87b18f5fce0..489c82ae66f 100644 --- a/compiler/testData/codegen/box/reflection/types/createType/typeParameter.kt +++ b/compiler/testData/codegen/box/reflection/types/createType/typeParameter.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/createType/wrongNumberOfArguments.kt b/compiler/testData/codegen/box/reflection/types/createType/wrongNumberOfArguments.kt index 697491f1b74..cd88a268796 100644 --- a/compiler/testData/codegen/box/reflection/types/createType/wrongNumberOfArguments.kt +++ b/compiler/testData/codegen/box/reflection/types/createType/wrongNumberOfArguments.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt b/compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt index d9cd7d5aec3..ec6f07e6773 100644 --- a/compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt +++ b/compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/subtyping/simpleGenericTypes.kt b/compiler/testData/codegen/box/reflection/types/subtyping/simpleGenericTypes.kt index 6b8a6c79aba..3ace4a8f278 100644 --- a/compiler/testData/codegen/box/reflection/types/subtyping/simpleGenericTypes.kt +++ b/compiler/testData/codegen/box/reflection/types/subtyping/simpleGenericTypes.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/subtyping/simpleSubtypeSupertype.kt b/compiler/testData/codegen/box/reflection/types/subtyping/simpleSubtypeSupertype.kt index 6c988d00b1d..00186bf776a 100644 --- a/compiler/testData/codegen/box/reflection/types/subtyping/simpleSubtypeSupertype.kt +++ b/compiler/testData/codegen/box/reflection/types/subtyping/simpleSubtypeSupertype.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/subtyping/typeProjection.kt b/compiler/testData/codegen/box/reflection/types/subtyping/typeProjection.kt index 755564f5f52..3d7023d6d2a 100644 --- a/compiler/testData/codegen/box/reflection/types/subtyping/typeProjection.kt +++ b/compiler/testData/codegen/box/reflection/types/subtyping/typeProjection.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/typeArguments.kt b/compiler/testData/codegen/box/reflection/types/typeArguments.kt index aa8ce07cf7c..025b8a14c58 100644 --- a/compiler/testData/codegen/box/reflection/types/typeArguments.kt +++ b/compiler/testData/codegen/box/reflection/types/typeArguments.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/useSiteVariance.kt b/compiler/testData/codegen/box/reflection/types/useSiteVariance.kt index a15e3437bb0..63f0ecd3653 100644 --- a/compiler/testData/codegen/box/reflection/types/useSiteVariance.kt +++ b/compiler/testData/codegen/box/reflection/types/useSiteVariance.kt @@ -1,7 +1,7 @@ // 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 +// IGNORE_BACKEND: JS, NATIVE, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/toArray/toTypedArray.kt b/compiler/testData/codegen/box/toArray/toTypedArray.kt index 605589e7e68..eb598d966ad 100644 --- a/compiler/testData/codegen/box/toArray/toTypedArray.kt +++ b/compiler/testData/codegen/box/toArray/toTypedArray.kt @@ -3,6 +3,7 @@ // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS +// IGNORE_BACKEND: WASM // missing isArrayOf on JS // WITH_RUNTIME diff --git a/js/js.tests/test/org/jetbrains/kotlin/generators/tests/GenerateJsTests.kt b/js/js.tests/test/org/jetbrains/kotlin/generators/tests/GenerateJsTests.kt index ec2043cdcdf..874bcb3f649 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/generators/tests/GenerateJsTests.kt +++ b/js/js.tests/test/org/jetbrains/kotlin/generators/tests/GenerateJsTests.kt @@ -50,10 +50,6 @@ fun main(args: Array) { testClass { model( "codegen/box", pattern = "^([^_](.+))\\.kt$", targetBackend = TargetBackend.WASM, excludeDirs = listOf( - - // TODO: Support reflection - "toArray", "classLiteral", "reflection", - // TODO: Add stdlib "contracts", "platformTypes", diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/testOld/wasm/semantics/IrCodegenBoxWasmTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/testOld/wasm/semantics/IrCodegenBoxWasmTestGenerated.java index 2d8c336a814..9f1ef572a3d 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/testOld/wasm/semantics/IrCodegenBoxWasmTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/testOld/wasm/semantics/IrCodegenBoxWasmTestGenerated.java @@ -27,7 +27,7 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest } public void testAllFilesPresentInBox() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true, "toArray", "classLiteral", "reflection", "contracts", "platformTypes", "ranges/stepped/unsigned", "delegatedProperty", "compileKotlinAgainstKotlin", "testsWithJava9", "testsWithJava15", "testsWithJava17"); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true, "contracts", "platformTypes", "ranges/stepped/unsigned", "delegatedProperty", "compileKotlinAgainstKotlin", "testsWithJava9", "testsWithJava15", "testsWithJava17"); } @TestMetadata("compiler/testData/codegen/box/annotations") @@ -3130,6 +3130,75 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest } } + @TestMetadata("compiler/testData/codegen/box/classLiteral") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ClassLiteral extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInClassLiteral() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("bareArray.kt") + public void testBareArray() throws Exception { + runTest("compiler/testData/codegen/box/classLiteral/bareArray.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/classLiteral/bound") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Bound extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBound() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/bound"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("primitives.kt") + public void testPrimitives() throws Exception { + runTest("compiler/testData/codegen/box/classLiteral/bound/primitives.kt"); + } + + @TestMetadata("sideEffect.kt") + public void testSideEffect() throws Exception { + runTest("compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/classLiteral/bound/simple.kt"); + } + + @TestMetadata("smartCast.kt") + public void testSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/classLiteral/bound/smartCast.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/classLiteral/java") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Java extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJava() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classLiteral/java"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt11943.kt") + public void testKt11943() throws Exception { + runTest("compiler/testData/codegen/box/classLiteral/java/kt11943.kt"); + } + } + } + @TestMetadata("compiler/testData/codegen/box/classes") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -22336,6 +22405,1544 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest } } + @TestMetadata("compiler/testData/codegen/box/reflection") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reflection extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReflection() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/annotations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Annotations extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInAnnotations() throws Exception { + 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) + public static class OnTypes extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInOnTypes() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations/onTypes"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/annotations/repeatable") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Repeatable extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInRepeatable() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/annotations/repeatable"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/builtins") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Builtins extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + 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") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Call extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCall() throws Exception { + 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) + public static class Bound extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + 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") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class InlineClasses extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInlineClasses() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("constructorWithInlineClassParameters.kt") + public void testConstructorWithInlineClassParameters() throws Exception { + runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/constructorWithInlineClassParameters.kt"); + } + + @TestMetadata("functionsWithInlineClassParameters.kt") + public void testFunctionsWithInlineClassParameters() throws Exception { + runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/functionsWithInlineClassParameters.kt"); + } + + @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("nonOverridingFunOfInlineClass.kt") + public void testNonOverridingFunOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingFunOfInlineClass.kt"); + } + + @TestMetadata("nonOverridingVarOfInlineClass.kt") + public void testNonOverridingVarOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/nonOverridingVarOfInlineClass.kt"); + } + + @TestMetadata("overridingFunOfInlineClass.kt") + public void testOverridingFunOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/overridingFunOfInlineClass.kt"); + } + + @TestMetadata("overridingVarOfInlineClass.kt") + public void testOverridingVarOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/overridingVarOfInlineClass.kt"); + } + + @TestMetadata("primaryValOfInlineClass.kt") + public void testPrimaryValOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/primaryValOfInlineClass.kt"); + } + + @TestMetadata("properties.kt") + public void testProperties() throws Exception { + runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/properties.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/callBy") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CallBy extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + 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") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ClassLiterals extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInClassLiterals() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/classLiterals"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("annotationClassLiteral.kt") + public void testAnnotationClassLiteral() throws Exception { + runTest("compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt"); + } + + @TestMetadata("genericClass.kt") + public void testGenericClass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt"); + } + + @TestMetadata("lambdaClass.kt") + public void testLambdaClass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/classLiterals/lambdaClass.kt"); + } + + @TestMetadata("simpleClassLiteral.kt") + public void testSimpleClassLiteral() throws Exception { + runTest("compiler/testData/codegen/box/reflection/classLiterals/simpleClassLiteral.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/classes") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Classes extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInClasses() throws Exception { + 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") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Constructors extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInConstructors() throws Exception { + 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") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CreateAnnotation extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + 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") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Enclosing extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEnclosing() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/enclosing"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/functions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Functions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFunctions() throws Exception { + 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"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/genericSignature") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class GenericSignature extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInGenericSignature() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/genericSignature"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/isInstance") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class IsInstance extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInIsInstance() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/isInstance"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/kClassInAnnotation") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class KClassInAnnotation extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + 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") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class LambdaClasses extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLambdaClasses() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/lambdaClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Mapping extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMapping() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping/fakeOverrides") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FakeOverrides extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFakeOverrides() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/fakeOverrides"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping/inlineClasses") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class InlineClasses extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInlineClasses() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/inlineClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping/jvmStatic") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmStatic extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvmStatic() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/jvmStatic"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/mapping/types") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Types extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTypes() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/mapping/types"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/methodsFromAny") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MethodsFromAny extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMethodsFromAny() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("callableReferencesEqualToCallablesFromAPI.kt") + public void testCallableReferencesEqualToCallablesFromAPI() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt"); + } + + @TestMetadata("extensionPropertyReceiverToString.kt") + public void testExtensionPropertyReceiverToString() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/extensionPropertyReceiverToString.kt"); + } + + @TestMetadata("fakeOverrideEqualsHashCode.kt") + public void testFakeOverrideEqualsHashCode() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideEqualsHashCode.kt"); + } + + @TestMetadata("fakeOverrideToString.kt") + public void testFakeOverrideToString() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString.kt"); + } + + @TestMetadata("fakeOverrideToString2.kt") + public void testFakeOverrideToString2() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/fakeOverrideToString2.kt"); + } + + @TestMetadata("functionEqualsHashCode.kt") + public void testFunctionEqualsHashCode() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt"); + } + + @TestMetadata("functionFromStdlibMultiFileFacade.kt") + public void testFunctionFromStdlibMultiFileFacade() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt"); + } + + @TestMetadata("functionFromStdlibSingleFileFacade.kt") + public void testFunctionFromStdlibSingleFileFacade() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt"); + } + + @TestMetadata("functionToString.kt") + public void testFunctionToString() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/functionToString.kt"); + } + + @TestMetadata("memberExtensionToString.kt") + public void testMemberExtensionToString() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt"); + } + + @TestMetadata("parametersEqualsHashCode.kt") + public void testParametersEqualsHashCode() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/parametersEqualsHashCode.kt"); + } + + @TestMetadata("parametersToString.kt") + public void testParametersToString() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/parametersToString.kt"); + } + + @TestMetadata("propertyEqualsHashCode.kt") + public void testPropertyEqualsHashCode() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/propertyEqualsHashCode.kt"); + } + + @TestMetadata("propertyToString.kt") + public void testPropertyToString() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/propertyToString.kt"); + } + + @TestMetadata("typeEqualsHashCode.kt") + public void testTypeEqualsHashCode() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/typeEqualsHashCode.kt"); + } + + @TestMetadata("typeParametersEqualsHashCode.kt") + public void testTypeParametersEqualsHashCode() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersEqualsHashCode.kt"); + } + + @TestMetadata("typeParametersToString.kt") + public void testTypeParametersToString() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersToString.kt"); + } + + @TestMetadata("typeToString.kt") + public void testTypeToString() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt"); + } + + @TestMetadata("typeToStringInnerGeneric.kt") + public void testTypeToStringInnerGeneric() throws Exception { + runTest("compiler/testData/codegen/box/reflection/methodsFromAny/typeToStringInnerGeneric.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/modifiers") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Modifiers extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInModifiers() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/modifiers"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("callableModality.kt") + public void testCallableModality() throws Exception { + runTest("compiler/testData/codegen/box/reflection/modifiers/callableModality.kt"); + } + + @TestMetadata("callableVisibility.kt") + public void testCallableVisibility() throws Exception { + runTest("compiler/testData/codegen/box/reflection/modifiers/callableVisibility.kt"); + } + + @TestMetadata("classModality.kt") + public void testClassModality() throws Exception { + runTest("compiler/testData/codegen/box/reflection/modifiers/classModality.kt"); + } + + @TestMetadata("classVisibility.kt") + public void testClassVisibility() throws Exception { + runTest("compiler/testData/codegen/box/reflection/modifiers/classVisibility.kt"); + } + + @TestMetadata("functions.kt") + public void testFunctions() throws Exception { + runTest("compiler/testData/codegen/box/reflection/modifiers/functions.kt"); + } + + @TestMetadata("properties.kt") + public void testProperties() throws Exception { + runTest("compiler/testData/codegen/box/reflection/modifiers/properties.kt"); + } + + @TestMetadata("typeParameters.kt") + public void testTypeParameters() throws Exception { + runTest("compiler/testData/codegen/box/reflection/modifiers/typeParameters.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/multifileClasses") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MultifileClasses extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMultifileClasses() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/multifileClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NoReflectAtRuntime extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNoReflectAtRuntime() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("propertyGetSetName.kt") + public void testPropertyGetSetName() throws Exception { + runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyGetSetName.kt"); + } + + @TestMetadata("propertyInstanceof.kt") + public void testPropertyInstanceof() throws Exception { + runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/propertyInstanceof.kt"); + } + + @TestMetadata("simpleClassLiterals.kt") + public void testSimpleClassLiterals() throws Exception { + runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MethodsFromAny extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMethodsFromAny() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("callableReferences.kt") + public void testCallableReferences() throws Exception { + runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt"); + } + + @TestMetadata("delegatedProperty.kt") + public void testDelegatedProperty() throws Exception { + runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/parameters") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Parameters extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInParameters() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/parameters"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("bigArity.kt") + public void testBigArity() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/bigArity.kt"); + } + + @TestMetadata("boundInnerClassConstructor.kt") + public void testBoundInnerClassConstructor() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/boundInnerClassConstructor.kt"); + } + + @TestMetadata("boundReferences.kt") + public void testBoundReferences() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/boundReferences.kt"); + } + + @TestMetadata("functionParameterNameAndIndex.kt") + public void testFunctionParameterNameAndIndex() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt"); + } + + @TestMetadata("instanceExtensionReceiverAndValueParameters.kt") + public void testInstanceExtensionReceiverAndValueParameters() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/instanceExtensionReceiverAndValueParameters.kt"); + } + + @TestMetadata("isMarkedNullable.kt") + public void testIsMarkedNullable() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt"); + } + + @TestMetadata("isOptional.kt") + public void testIsOptional() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/isOptional.kt"); + } + + @TestMetadata("kinds.kt") + public void testKinds() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/kinds.kt"); + } + + @TestMetadata("propertySetter.kt") + public void testPropertySetter() throws Exception { + runTest("compiler/testData/codegen/box/reflection/parameters/propertySetter.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/properties") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Properties extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInProperties() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("allVsDeclared.kt") + public void testAllVsDeclared() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt"); + } + + @TestMetadata("fakeOverridesInSubclass.kt") + public void testFakeOverridesInSubclass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt"); + } + + @TestMetadata("genericClassLiteralPropertyReceiverIsStar.kt") + public void testGenericClassLiteralPropertyReceiverIsStar() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt"); + } + + @TestMetadata("genericOverriddenProperty.kt") + public void testGenericOverriddenProperty() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/genericOverriddenProperty.kt"); + } + + @TestMetadata("genericProperty.kt") + public void testGenericProperty() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/genericProperty.kt"); + } + + @TestMetadata("getExtensionPropertiesMutableVsReadonly.kt") + public void testGetExtensionPropertiesMutableVsReadonly() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt"); + } + + @TestMetadata("getPropertiesMutableVsReadonly.kt") + public void testGetPropertiesMutableVsReadonly() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt"); + } + + @TestMetadata("invokeKProperty.kt") + public void testInvokeKProperty() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt"); + } + + @TestMetadata("memberAndMemberExtensionWithSameName.kt") + public void testMemberAndMemberExtensionWithSameName() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt"); + } + + @TestMetadata("privateFakeOverrideFromSuperclass.kt") + public void testPrivateFakeOverrideFromSuperclass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt"); + } + + @TestMetadata("propertyOfNestedClassAndArrayType.kt") + public void testPropertyOfNestedClassAndArrayType() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/propertyOfNestedClassAndArrayType.kt"); + } + + @TestMetadata("simpleGetProperties.kt") + public void testSimpleGetProperties() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/properties/accessors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Accessors extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessorNames.kt") + public void testAccessorNames() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt"); + } + + public void testAllFilesPresentInAccessors() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/accessors"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("extensionPropertyAccessors.kt") + public void testExtensionPropertyAccessors() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/accessors/extensionPropertyAccessors.kt"); + } + + @TestMetadata("memberExtensions.kt") + public void testMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt"); + } + + @TestMetadata("memberPropertyAccessors.kt") + public void testMemberPropertyAccessors() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/accessors/memberPropertyAccessors.kt"); + } + + @TestMetadata("topLevelPropertyAccessors.kt") + public void testTopLevelPropertyAccessors() throws Exception { + runTest("compiler/testData/codegen/box/reflection/properties/accessors/topLevelPropertyAccessors.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/properties/getDelegate") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class GetDelegate extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInGetDelegate() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/getDelegate"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/properties/getDelegate/method") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Method extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMethod() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/getDelegate/method"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/properties/jvmField") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmField extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvmField() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/jvmField"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/properties/localDelegated") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class LocalDelegated extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLocalDelegated() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/properties/localDelegated"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/supertypes") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Supertypes extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSupertypes() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/supertypes"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("genericSubstitution.kt") + public void testGenericSubstitution() throws Exception { + runTest("compiler/testData/codegen/box/reflection/supertypes/genericSubstitution.kt"); + } + + @TestMetadata("isSubclassOfIsSuperclassOf.kt") + public void testIsSubclassOfIsSuperclassOf() throws Exception { + runTest("compiler/testData/codegen/box/reflection/supertypes/isSubclassOfIsSuperclassOf.kt"); + } + + @TestMetadata("simpleSupertypes.kt") + public void testSimpleSupertypes() throws Exception { + runTest("compiler/testData/codegen/box/reflection/supertypes/simpleSupertypes.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/typeOf") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TypeOf extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTypeOf() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("classes.kt") + public void testClasses() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/classes.kt"); + } + + @TestMetadata("inlineClasses.kt") + public void testInlineClasses() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/inlineClasses.kt"); + } + + @TestMetadata("intersectionType.kt") + public void testIntersectionType() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/intersectionType.kt"); + } + + @TestMetadata("manyTypeArguments.kt") + public void testManyTypeArguments() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/manyTypeArguments.kt"); + } + + @TestMetadata("multipleLayers.kt") + public void testMultipleLayers() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/multipleLayers.kt"); + } + + @TestMetadata("typeOfCapturedStar.kt") + public void testTypeOfCapturedStar() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/typeOfCapturedStar.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/typeOf/js") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Js extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJs() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/js"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/typeOf/noReflect") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NoReflect extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNoReflect() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/noReflect"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("typeReferenceEqualsHashCode.kt") + public void testTypeReferenceEqualsHashCode() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/noReflect/typeReferenceEqualsHashCode.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NonReifiedTypeParameters extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNonReifiedTypeParameters() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/noReflect/nonReifiedTypeParameters"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NonReifiedTypeParameters extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNonReifiedTypeParameters() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("defaultUpperBound.kt") + public void testDefaultUpperBound() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/defaultUpperBound.kt"); + } + + @TestMetadata("equalsOnClassParameters.kt") + public void testEqualsOnClassParameters() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnClassParameters.kt"); + } + + @TestMetadata("equalsOnFunctionParameters.kt") + public void testEqualsOnFunctionParameters() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/equalsOnFunctionParameters.kt"); + } + + @TestMetadata("innerGeneric.kt") + public void testInnerGeneric() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/innerGeneric.kt"); + } + + @TestMetadata("simpleClassParameter.kt") + public void testSimpleClassParameter() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleClassParameter.kt"); + } + + @TestMetadata("simpleFunctionParameter.kt") + public void testSimpleFunctionParameter() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleFunctionParameter.kt"); + } + + @TestMetadata("simplePropertyParameter.kt") + public void testSimplePropertyParameter() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simplePropertyParameter.kt"); + } + + @TestMetadata("starProjectionInUpperBound.kt") + public void testStarProjectionInUpperBound() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/starProjectionInUpperBound.kt"); + } + + @TestMetadata("typeParameterFlags.kt") + public void testTypeParameterFlags() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/typeParameterFlags.kt"); + } + + @TestMetadata("upperBoundUsesOuterClassParameter.kt") + public void testUpperBoundUsesOuterClassParameter() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/upperBoundUsesOuterClassParameter.kt"); + } + + @TestMetadata("upperBounds.kt") + public void testUpperBounds() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/upperBounds.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/typeParameters") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TypeParameters extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTypeParameters() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/typeParameters"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("declarationSiteVariance.kt") + public void testDeclarationSiteVariance() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeParameters/declarationSiteVariance.kt"); + } + + @TestMetadata("typeParametersAndNames.kt") + public void testTypeParametersAndNames() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeParameters/typeParametersAndNames.kt"); + } + + @TestMetadata("upperBounds.kt") + public void testUpperBounds() throws Exception { + runTest("compiler/testData/codegen/box/reflection/typeParameters/upperBounds.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/types") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Types extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTypes() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("classifierIsClass.kt") + public void testClassifierIsClass() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/classifierIsClass.kt"); + } + + @TestMetadata("classifierIsTypeParameter.kt") + public void testClassifierIsTypeParameter() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/classifierIsTypeParameter.kt"); + } + + @TestMetadata("innerGenericArguments.kt") + public void testInnerGenericArguments() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt"); + } + + @TestMetadata("typeArguments.kt") + public void testTypeArguments() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/typeArguments.kt"); + } + + @TestMetadata("useSiteVariance.kt") + public void testUseSiteVariance() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/useSiteVariance.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/reflection/types/createType") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CreateType extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCreateType() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types/createType"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("equality.kt") + public void testEquality() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/createType/equality.kt"); + } + + @TestMetadata("innerGeneric.kt") + public void testInnerGeneric() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/createType/innerGeneric.kt"); + } + + @TestMetadata("simpleCreateType.kt") + public void testSimpleCreateType() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/createType/simpleCreateType.kt"); + } + + @TestMetadata("typeParameter.kt") + public void testTypeParameter() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/createType/typeParameter.kt"); + } + + @TestMetadata("wrongNumberOfArguments.kt") + public void testWrongNumberOfArguments() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/createType/wrongNumberOfArguments.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reflection/types/subtyping") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Subtyping extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSubtyping() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/types/subtyping"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("simpleGenericTypes.kt") + public void testSimpleGenericTypes() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/subtyping/simpleGenericTypes.kt"); + } + + @TestMetadata("simpleSubtypeSupertype.kt") + public void testSimpleSubtypeSupertype() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/subtyping/simpleSubtypeSupertype.kt"); + } + + @TestMetadata("typeProjection.kt") + public void testTypeProjection() throws Exception { + runTest("compiler/testData/codegen/box/reflection/types/subtyping/typeProjection.kt"); + } + } + } + } + @TestMetadata("compiler/testData/codegen/box/regressions") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) @@ -24283,6 +25890,34 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest } } + @TestMetadata("compiler/testData/codegen/box/toArray") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ToArray extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInToArray() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/toArray"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt3177-toTypedArray.kt") + public void testKt3177_toTypedArray() throws Exception { + runTest("compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt"); + } + + @TestMetadata("returnToTypedArray.kt") + public void testReturnToTypedArray() throws Exception { + runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt"); + } + + @TestMetadata("toTypedArray.kt") + public void testToTypedArray() throws Exception { + runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt"); + } + } + @TestMetadata("compiler/testData/codegen/box/topLevelPrivate") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class)