[K/N] Unmute tests already working on native
Also, add issue references for some tests
This commit is contained in:
committed by
Space Team
parent
46d113605b
commit
733ca5a358
-6
@@ -49189,12 +49189,6 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
|
|||||||
-6
@@ -49189,12 +49189,6 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// IGNORE_BACKEND_K2: JS_IR
|
// IGNORE_BACKEND_K2: JS_IR
|
||||||
// KT-55457
|
// KT-58549
|
||||||
// IGNORE_BACKEND_K2: NATIVE
|
// IGNORE_BACKEND_K2: NATIVE
|
||||||
|
|
||||||
//test [], get and iterator calls
|
//test [], get and iterator calls
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// IGNORE_BACKEND_K2: JS_IR
|
// IGNORE_BACKEND_K2: JS_IR
|
||||||
// KT-55457
|
// KT-58549
|
||||||
// IGNORE_BACKEND_K2: NATIVE
|
// IGNORE_BACKEND_K2: NATIVE
|
||||||
|
|
||||||
fun test(b: Boolean): String {
|
fun test(b: Boolean): String {
|
||||||
|
|||||||
+1
-8
@@ -1,11 +1,4 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// IGNORE_BACKEND: JS_IR
|
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
|
||||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
||||||
// IGNORE_BACKEND: JS
|
|
||||||
|
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|
||||||
fun foo(x : Any): String {
|
fun foo(x : Any): String {
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// IGNORE_BACKEND: WASM
|
||||||
// WASM_MUTE_REASON: STDLIB_ASSERT
|
// WASM_MUTE_REASON: STDLIB_ASSERT
|
||||||
|
// KT-59059
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// IGNORE_BACKEND: JS_IR
|
// IGNORE_BACKEND: JS_IR
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
// IGNORE_BACKEND: JS_IR_ES6
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// IGNORE_BACKEND: WASM
|
||||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
// WASM_MUTE_REASON: IGNORED_IN_JS
|
||||||
|
// KT-59058
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
var global = "A"
|
var global = "A"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// WITH_COROUTINES
|
// WITH_COROUTINES
|
||||||
import kotlin.contracts.*
|
import kotlin.contracts.*
|
||||||
|
|||||||
Vendored
+1
@@ -1,5 +1,6 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// IGNORE_BACKEND: WASM
|
||||||
// WASM_MUTE_REASON: NESTED_OBJECT_INIT
|
// WASM_MUTE_REASON: NESTED_OBJECT_INIT
|
||||||
|
// KT-59058
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// WITH_COROUTINES
|
// WITH_COROUTINES
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||||
// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6
|
// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6
|
||||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
var result = ""
|
var result = ""
|
||||||
|
|
||||||
enum class E(a: String) {
|
enum class E(a: String) {
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
|
||||||
// IGNORE_BACKEND: JS_IR
|
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
|
||||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
||||||
// IGNORE_BACKEND: JS
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
|
|
||||||
fun StringBuilder.takeFirst(): Char {
|
fun StringBuilder.takeFirst(): Char {
|
||||||
if (this.length == 0) return 0.toChar()
|
if (this.length == 0) return 0.toChar()
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
|
||||||
// !LANGUAGE: -ProperIeee754Comparisons
|
// !LANGUAGE: -ProperIeee754Comparisons
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
|
||||||
// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
val zero: Any = 0.0
|
val zero: Any = 0.0
|
||||||
val floatZero: Any = -0.0F
|
val floatZero: Any = -0.0F
|
||||||
|
|||||||
+2
-5
@@ -1,9 +1,6 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
|
||||||
// !LANGUAGE: -ProperIeee754Comparisons
|
// !LANGUAGE: -ProperIeee754Comparisons
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
|
||||||
// DONT_TARGET_EXACT_BACKEND: JS_IR_ES6
|
|
||||||
fun eqDI(x: Any?, y: Any?) = x is Double? && y is Int? && x == y
|
fun eqDI(x: Any?, y: Any?) = x is Double? && y is Int? && x == y
|
||||||
fun eqDL(x: Any?, y: Any?) = x is Double? && y is Long? && x == y
|
fun eqDL(x: Any?, y: Any?) = x is Double? && y is Long? && x == y
|
||||||
fun eqID(x: Any?, y: Any?) = x is Int? && y is Double? && x == y
|
fun eqID(x: Any?, y: Any?) = x is Int? && y is Double? && x == y
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND: JS
|
|
||||||
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// FILE: DiagnosticFactory0.java
|
// FILE: DiagnosticFactory0.java
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND: JS
|
|
||||||
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// FILE: Processor.java
|
// FILE: Processor.java
|
||||||
|
|
||||||
public interface Processor<T> {
|
public interface Processor<T> {
|
||||||
|
|||||||
-1
@@ -2,7 +2,6 @@
|
|||||||
// IGNORE_BACKEND: JS
|
// IGNORE_BACKEND: JS
|
||||||
// IGNORE_BACKEND: JS_IR
|
// IGNORE_BACKEND: JS_IR
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
// IGNORE_BACKEND: JS_IR_ES6
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
|
|
||||||
// MODULE: lib-common
|
// MODULE: lib-common
|
||||||
// FILE: common.kt
|
// FILE: common.kt
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
// Fails on native with legacy memory manager. To reproduce, run with
|
|
||||||
// -Pkotlin.internal.native.test.memoryModel=LEGACY -Pkotlin.internal.native.test.cacheMode=NO
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// IGNORE_BACKEND: JS
|
// IGNORE_BACKEND: JS
|
||||||
// PROPERTY_LAZY_INITIALIZATION
|
// PROPERTY_LAZY_INITIALIZATION
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-6
@@ -1,9 +1,4 @@
|
|||||||
// IGNORE_BACKEND: JS_IR
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
|
||||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
||||||
// IGNORE_BACKEND: JS
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// IGNORE_BACKEND: WASM
|
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|
||||||
import kotlin.reflect.KCallable
|
import kotlin.reflect.KCallable
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// IGNORE_BACKEND: JS_IR
|
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
|
||||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
||||||
// IGNORE_BACKEND: JS
|
|
||||||
|
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|
||||||
inline fun <reified T> foo(x: Any?) = Pair(x is T, x is T?)
|
inline fun <reified T> foo(x: Any?) = Pair(x is T, x is T?)
|
||||||
|
|||||||
+1
-8
@@ -1,11 +1,4 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// IGNORE_BACKEND: JS_IR
|
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
|
||||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
||||||
// IGNORE_BACKEND: JS
|
|
||||||
|
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|
||||||
inline fun <reified T> foo(x: Any?) = Pair(x is T, x is T?)
|
inline fun <reified T> foo(x: Any?) = Pair(x is T, x is T?)
|
||||||
|
|||||||
Vendored
-35
@@ -1,35 +0,0 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
|
||||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// IGNORE_BACKEND: JS
|
|
||||||
// IGNORE_BACKEND: JS_IR
|
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
|
||||||
// IGNORE_BACKEND: JVM
|
|
||||||
// IGNORE_BACKEND: JVM_IR
|
|
||||||
// FIR status: not supported in JVM
|
|
||||||
|
|
||||||
open class Base {
|
|
||||||
open fun setup() {}
|
|
||||||
init { setup() }
|
|
||||||
}
|
|
||||||
|
|
||||||
inline class Z(val y: Int)
|
|
||||||
|
|
||||||
class Derived : Base {
|
|
||||||
constructor() : super()
|
|
||||||
override fun setup() {
|
|
||||||
x = Z(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Technically, this field initializer comes after the superclass
|
|
||||||
// constructor is called. However, we optimize away field initializers
|
|
||||||
// which set fields to their default value, which is why x ends up with
|
|
||||||
// value 1 after the constructor call.
|
|
||||||
var x = Z(0)
|
|
||||||
}
|
|
||||||
|
|
||||||
fun box(): String {
|
|
||||||
val d = Derived()
|
|
||||||
if (d.x.y != 1) return "fail"
|
|
||||||
return "OK"
|
|
||||||
}
|
|
||||||
+1
-8
@@ -1,11 +1,4 @@
|
|||||||
// IGNORE_BACKEND: NATIVE
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND: JS_IR
|
|
||||||
// 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_STDLIB
|
// WITH_STDLIB
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
|
|||||||
+1
-4
@@ -1,7 +1,4 @@
|
|||||||
// IGNORE_BACKEND: WASM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND: JS_IR_ES6
|
|
||||||
// IGNORE_BACKEND: NATIVE
|
|
||||||
// IGNORE_BACKEND: JS, JS_IR
|
|
||||||
// WITH_REFLECT
|
// WITH_REFLECT
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|
||||||
|
|||||||
-6
@@ -46501,12 +46501,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
|
|||||||
-6
@@ -49189,12 +49189,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
|
|||||||
-6
@@ -49189,12 +49189,6 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
|
|||||||
-5
@@ -37589,11 +37589,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@RunWith(JUnit3RunnerWithInners.class)
|
@RunWith(JUnit3RunnerWithInners.class)
|
||||||
public static class SecondaryConstructors extends AbstractLightAnalysisModeTest {
|
public static class SecondaryConstructors extends AbstractLightAnalysisModeTest {
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void ignoreFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
private void runTest(String testDataFilePath) throws Exception {
|
private void runTest(String testDataFilePath) throws Exception {
|
||||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|||||||
-66
@@ -585,12 +585,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
@@ -13255,12 +13249,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@@ -14873,18 +14861,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypes.kt")
|
|
||||||
public void testSmartCastToDifferentTypes() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
|
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
||||||
@@ -21569,18 +21545,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -33045,12 +33009,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("callableReferences.kt")
|
|
||||||
public void testCallableReferences() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("delegatedProperty.kt")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
@@ -34248,18 +34206,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
@@ -34765,12 +34711,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
@@ -36060,12 +36000,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("toTypedArray.kt")
|
|
||||||
public void testToTypedArray() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
|
|||||||
-6
@@ -3528,12 +3528,6 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
|
|||||||
Generated
-6
@@ -355,12 +355,6 @@ public class JsLegacyPrimitiveArraysBoxTestGenerated extends AbstractJsLegacyPri
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
|
|||||||
-54
@@ -639,12 +639,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
@@ -13351,12 +13345,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@@ -21719,18 +21707,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -33447,12 +33423,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("callableReferences.kt")
|
|
||||||
public void testCallableReferences() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("delegatedProperty.kt")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
@@ -34650,18 +34620,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
@@ -35167,12 +35125,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
@@ -36474,12 +36426,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("toTypedArray.kt")
|
|
||||||
public void testToTypedArray() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
|
|||||||
Generated
-6
@@ -3528,12 +3528,6 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
|
|||||||
-54
@@ -639,12 +639,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
@@ -13351,12 +13345,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@@ -21719,18 +21707,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -33447,12 +33423,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("callableReferences.kt")
|
|
||||||
public void testCallableReferences() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("delegatedProperty.kt")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
@@ -34650,18 +34620,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
@@ -35167,12 +35125,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
@@ -36474,12 +36426,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("toTypedArray.kt")
|
|
||||||
public void testToTypedArray() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
|
|||||||
-6
@@ -3528,12 +3528,6 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
|
|||||||
-54
@@ -639,12 +639,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
@@ -13351,12 +13345,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@@ -21719,18 +21707,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -33447,12 +33423,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("callableReferences.kt")
|
|
||||||
public void testCallableReferences() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("delegatedProperty.kt")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
@@ -34650,18 +34620,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
@@ -35167,12 +35125,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
@@ -36474,12 +36426,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("toTypedArray.kt")
|
|
||||||
public void testToTypedArray() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
|
|||||||
Generated
-6
@@ -3528,12 +3528,6 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
|
|||||||
-72
@@ -677,12 +677,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
@@ -14502,12 +14496,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@@ -16177,18 +16165,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypes.kt")
|
|
||||||
public void testSmartCastToDifferentTypes() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
|
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
||||||
@@ -24635,18 +24611,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -36948,12 +36912,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("callableReferences.kt")
|
|
||||||
public void testCallableReferences() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("delegatedProperty.kt")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
@@ -38157,18 +38115,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
@@ -38710,12 +38656,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
@@ -40059,12 +39999,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("toTypedArray.kt")
|
|
||||||
public void testToTypedArray() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -45624,12 +45558,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
|
|||||||
-72
@@ -697,12 +697,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
@@ -14836,12 +14830,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@@ -16549,18 +16537,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypes.kt")
|
|
||||||
public void testSmartCastToDifferentTypes() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
|
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
||||||
@@ -25125,18 +25101,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -37848,12 +37812,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("callableReferences.kt")
|
|
||||||
public void testCallableReferences() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("delegatedProperty.kt")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
@@ -39097,18 +39055,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
@@ -39674,12 +39620,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
@@ -41059,12 +40999,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("toTypedArray.kt")
|
|
||||||
public void testToTypedArray() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -46784,12 +46718,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
|
|||||||
-72
@@ -668,12 +668,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
@@ -14336,12 +14330,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@@ -15992,18 +15980,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypes.kt")
|
|
||||||
public void testSmartCastToDifferentTypes() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
|
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
||||||
@@ -24391,18 +24367,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -36499,12 +36463,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("callableReferences.kt")
|
|
||||||
public void testCallableReferences() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("delegatedProperty.kt")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
@@ -37688,18 +37646,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
@@ -38229,12 +38175,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
@@ -39560,12 +39500,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("toTypedArray.kt")
|
|
||||||
public void testToTypedArray() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -45045,12 +44979,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
|
|||||||
-72
@@ -678,12 +678,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
@@ -14503,12 +14497,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@@ -16178,18 +16166,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypes.kt")
|
|
||||||
public void testSmartCastToDifferentTypes() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
|
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
||||||
@@ -24636,18 +24612,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -36949,12 +36913,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("callableReferences.kt")
|
|
||||||
public void testCallableReferences() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/callableReferences.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("delegatedProperty.kt")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
@@ -38158,18 +38116,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
@@ -38711,12 +38657,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
@@ -40060,12 +40000,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("toTypedArray.kt")
|
|
||||||
public void testToTypedArray() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/toArray/toTypedArray.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@@ -45625,12 +45559,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
|
|||||||
Generated
-5
@@ -3229,11 +3229,6 @@ public class IrCodegenBoxInlineWasmTestGenerated extends AbstractIrCodegenBoxInl
|
|||||||
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/dontSubstituteNonReified.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("kt15956.kt")
|
|
||||||
public void testKt15956() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("kt18977.kt")
|
@TestMetadata("kt18977.kt")
|
||||||
public void testKt18977() throws Exception {
|
public void testKt18977() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/reified/kt18977.kt");
|
runTest("compiler/testData/codegen/boxInline/reified/kt18977.kt");
|
||||||
|
|||||||
Generated
-55
@@ -579,11 +579,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
|||||||
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt7288.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7338.kt")
|
|
||||||
public void testKt7338() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt7338.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("kt779.kt")
|
@TestMetadata("kt779.kt")
|
||||||
public void testKt779() throws Exception {
|
public void testKt779() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/arrays/kt779.kt");
|
runTest("compiler/testData/codegen/box/arrays/kt779.kt");
|
||||||
@@ -11829,11 +11824,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
|||||||
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("whenFail.kt")
|
|
||||||
public void testWhenFail() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/extensionFunctions/whenFail.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
@TestMetadata("compiler/testData/codegen/box/extensionFunctions/contextReceivers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@RunWith(JUnit3RunnerWithInners.class)
|
@RunWith(JUnit3RunnerWithInners.class)
|
||||||
@@ -13266,16 +13256,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
|||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("smartCastToDifferentTypes.kt")
|
|
||||||
public void testSmartCastToDifferentTypes() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion.kt")
|
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
@TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt")
|
||||||
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt");
|
runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt");
|
||||||
@@ -19149,16 +19129,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
|||||||
public void testAllFilesPresentInGenerics() throws Exception {
|
public void testAllFilesPresentInGenerics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("kt42824.kt")
|
|
||||||
public void testKt42824() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42824.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("kt42825.kt")
|
|
||||||
public void testKt42825() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/javaInterop/generics/kt42825.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("compiler/testData/codegen/box/javaInterop/notNullAssertions")
|
@TestMetadata("compiler/testData/codegen/box/javaInterop/notNullAssertions")
|
||||||
@@ -29834,11 +29804,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
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")
|
@TestMetadata("delegatedProperty.kt")
|
||||||
public void testDelegatedProperty() throws Exception {
|
public void testDelegatedProperty() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt");
|
runTest("compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt");
|
||||||
@@ -30880,16 +30845,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceOf.kt")
|
|
||||||
public void testInstanceOf() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("instanceOfArrays.kt")
|
|
||||||
public void testInstanceOfArrays() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("jaggedArray.kt")
|
@TestMetadata("jaggedArray.kt")
|
||||||
public void testJaggedArray() throws Exception {
|
public void testJaggedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/reified/arraysReification/jaggedArray.kt");
|
runTest("compiler/testData/codegen/box/reified/arraysReification/jaggedArray.kt");
|
||||||
@@ -31367,11 +31322,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
|||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
|
|
||||||
public void testFieldInitializerOptimization_inlineClass() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("generics.kt")
|
@TestMetadata("generics.kt")
|
||||||
public void testGenerics() throws Exception {
|
public void testGenerics() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/secondaryConstructors/generics.kt");
|
runTest("compiler/testData/codegen/box/secondaryConstructors/generics.kt");
|
||||||
@@ -32560,11 +32510,6 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
|||||||
public void testReturnToTypedArray() throws Exception {
|
public void testReturnToTypedArray() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/toArray/returnToTypedArray.kt");
|
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/topLevelInitializtion")
|
@TestMetadata("compiler/testData/codegen/box/topLevelInitializtion")
|
||||||
|
|||||||
Reference in New Issue
Block a user