Add tests for issues fixed in JVM IR
Note that KT-30696 is fixed only in the single-module case, and KT-42012 is not fixed fully (see KT-44855). #KT-30041 #KT-30629 #KT-30696 #KT-30933 #KT-32351 #KT-32749 #KT-38849 #KT-42012 #KT-42990 #KT-44234 #KT-44529 #KT-44631 #KT-44647
This commit is contained in:
+66
@@ -2829,6 +2829,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
|
||||
public void testGenericBoundPropertyAsCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericValOnLHS.kt")
|
||||
public void testGenericValOnLHS() throws Exception {
|
||||
@@ -7238,6 +7244,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/contracts/listAppend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt")
|
||||
public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valInWhen.kt")
|
||||
public void testValInWhen() throws Exception {
|
||||
@@ -10790,6 +10802,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callTopLevelFromLocal.kt")
|
||||
public void testCallTopLevelFromLocal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedParameters.kt")
|
||||
public void testCapturedParameters() throws Exception {
|
||||
@@ -16990,6 +17008,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customIterator.kt")
|
||||
public void testCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultFunctionsFromAnyForInlineClass.kt")
|
||||
public void testDefaultFunctionsFromAnyForInlineClass() throws Exception {
|
||||
@@ -22416,6 +22440,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/explicitObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyGetter.kt")
|
||||
public void testExtensionPropertyGetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funAccess.kt")
|
||||
public void testFunAccess() throws Exception {
|
||||
@@ -22804,6 +22834,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParameterInConstructor.kt")
|
||||
public void testDefaultParameterInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inExtensionFunction.kt")
|
||||
public void testInExtensionFunction() throws Exception {
|
||||
@@ -24350,12 +24386,24 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/objects/kt2822.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt32351.kt")
|
||||
public void testKt32351() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32351.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt3238.kt")
|
||||
public void testKt3238() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3238.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt32749.kt")
|
||||
public void testKt32749() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32749.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt3684.kt")
|
||||
public void testKt3684() throws Exception {
|
||||
@@ -24942,6 +24990,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt44647.kt")
|
||||
public void testKt44647() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt4987.kt")
|
||||
public void testKt4987() throws Exception {
|
||||
@@ -26807,6 +26861,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateVarInCompanion.kt")
|
||||
public void testPrivateVarInCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleVar.kt")
|
||||
public void testSimpleVar() throws Exception {
|
||||
@@ -39573,6 +39633,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/visibility/protectedAndPackage"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42012.kt")
|
||||
public void testKt42012() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedFunInPackage.kt")
|
||||
public void testOverrideProtectedFunInPackage() throws Exception {
|
||||
|
||||
+12
@@ -280,6 +280,12 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30696.kt")
|
||||
public void testKt30696() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt34656.kt")
|
||||
public void testKt34656() throws Exception {
|
||||
@@ -1159,6 +1165,12 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: BINDING_RECEIVERS
|
||||
// KT-30629
|
||||
|
||||
abstract class BaseFragment<T : BaseViewModel> {
|
||||
lateinit var viewModel: T
|
||||
|
||||
open fun onActivityCreated(): String {
|
||||
viewModel = retrieveViewModel()
|
||||
return "Fail"
|
||||
}
|
||||
|
||||
abstract fun retrieveViewModel(): T
|
||||
}
|
||||
|
||||
class DerivedFragment : BaseFragment<DerivedViewModel>() {
|
||||
override fun onActivityCreated(): String {
|
||||
super.onActivityCreated()
|
||||
|
||||
return bind(viewModel::property)
|
||||
}
|
||||
|
||||
override fun retrieveViewModel(): DerivedViewModel = DerivedViewModel()
|
||||
inline fun <T> bind(crossinline viewModelGet: () -> T?): String {
|
||||
return setOnFocusChangeListener { viewModelGet() as String }
|
||||
}
|
||||
|
||||
fun setOnFocusChangeListener(l: () -> String): String {
|
||||
return l()
|
||||
}
|
||||
}
|
||||
|
||||
abstract class BaseViewModel
|
||||
class DerivedViewModel : BaseViewModel() {
|
||||
var property: String? = "OK"
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return DerivedFragment().onActivityCreated()
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
// !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts
|
||||
// IGNORE_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// KT-38849
|
||||
|
||||
import kotlin.contracts.*
|
||||
|
||||
fun block(lambda: () -> Unit) {
|
||||
contract {
|
||||
callsInPlace(lambda, InvocationKind.EXACTLY_ONCE)
|
||||
}
|
||||
lambda()
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val list: List<Int>
|
||||
|
||||
block {
|
||||
list = listOf(1, 2, 3)
|
||||
}
|
||||
|
||||
block {
|
||||
if (listOf(2, 3, 4).first { list.contains(it) } != 2) throw AssertionError("Fail")
|
||||
}
|
||||
|
||||
return "OK"
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
// KT-30041
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
var result = 0
|
||||
|
||||
fun builder(block: suspend () -> Unit) {
|
||||
block.startCoroutine(EmptyContinuation)
|
||||
}
|
||||
|
||||
suspend fun test() {
|
||||
suspend fun local() {
|
||||
builder {
|
||||
if (result++ < 1) {
|
||||
local()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
local()
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
builder {
|
||||
test()
|
||||
}
|
||||
return if (result == 2) "OK" else "Fail: $result"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: STDLIB_TEXT
|
||||
// WITH_RUNTIME
|
||||
// KT-44529
|
||||
|
||||
inline class InlineDouble3(val values: DoubleArray) {
|
||||
operator fun iterator(): DoubleIterator = IteratorImpl(values)
|
||||
}
|
||||
|
||||
// This iterator returns the first 3 elements of this.values
|
||||
private class IteratorImpl(private val values: DoubleArray) : DoubleIterator() {
|
||||
private var index = 0
|
||||
override fun hasNext(): Boolean = index < 3
|
||||
override fun nextDouble(): Double = values[index++]
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val values = doubleArrayOf(1.0, 2.0, 3.0, 4.0)
|
||||
var result = ""
|
||||
for (i in InlineDouble3(values)) {
|
||||
result += i.toString().substring(0, 1)
|
||||
}
|
||||
return if (result == "123") "OK" else "Fail: $result"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// KT-42990
|
||||
|
||||
object O {
|
||||
val todo: String = TODO()
|
||||
|
||||
fun test(): Int = Bar(todo.bar).result
|
||||
|
||||
val String.bar: Int
|
||||
@JvmStatic
|
||||
get() = 42
|
||||
}
|
||||
|
||||
class Bar(val result: Int)
|
||||
|
||||
fun box(): String = try {
|
||||
O.test()
|
||||
"Fail"
|
||||
} catch (e: NotImplementedError) {
|
||||
"OK"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// KT-44631
|
||||
|
||||
class Something(val now: String)
|
||||
|
||||
fun box(): String {
|
||||
val a: Something.() -> String = {
|
||||
class MyEvent(val result: String = now)
|
||||
|
||||
MyEvent().result
|
||||
}
|
||||
return Something("OK").a()
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: UNKNOWN
|
||||
// WITH_RUNTIME
|
||||
|
||||
interface Runnable {
|
||||
fun run()
|
||||
}
|
||||
|
||||
class AnonymousClassInLambda {
|
||||
fun run(): Int {
|
||||
var x = 0
|
||||
val threads = (1..10).map {
|
||||
object : Runnable {
|
||||
override fun run() {
|
||||
x++
|
||||
}
|
||||
}
|
||||
}
|
||||
threads.forEach { it.run() }
|
||||
return x
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return if (AnonymousClassInLambda().run() == 10) "OK" else "Fail"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
|
||||
class X {
|
||||
val num = 42
|
||||
val map: Int = 1.apply {
|
||||
object : Y({ true }) {
|
||||
override fun fun1() {
|
||||
println(num)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
abstract class Y(val lambda: () -> Boolean) {
|
||||
abstract fun fun1()
|
||||
}
|
||||
|
||||
fun box(): String =
|
||||
if (X().map == 1) "OK" else "Fail"
|
||||
@@ -0,0 +1,11 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: STDLIB_STRING_BUILDER
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun box(): String {
|
||||
val sb = StringBuilder("NK")
|
||||
sb[0]++
|
||||
return sb.toString()
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// KT-44234
|
||||
|
||||
class App {
|
||||
val context: Context = Context()
|
||||
|
||||
fun onCreate() {
|
||||
instance = this
|
||||
}
|
||||
|
||||
companion object {
|
||||
private lateinit var instance: App set
|
||||
val context: Context get() = instance.context
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Context {
|
||||
fun print(): String = "OK"
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val app = App()
|
||||
app.onCreate()
|
||||
return App.context.print()
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// TARGET_BACKEND: JVM
|
||||
// MODULE: lib
|
||||
// FILE: test/Parent.java
|
||||
|
||||
package test;
|
||||
|
||||
public class Parent {
|
||||
protected String qqq = "";
|
||||
|
||||
public String getQqq() {
|
||||
return qqq;
|
||||
}
|
||||
}
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: 1.kt
|
||||
|
||||
import test.Parent
|
||||
|
||||
open class Child : Parent() {
|
||||
inner class QQQ {
|
||||
fun z(x: Parent?) {
|
||||
x as Child
|
||||
val q = x.qqq
|
||||
x.qqq = q + "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val c = Child()
|
||||
val d = c.QQQ()
|
||||
d.z(c)
|
||||
return c.qqq
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_IR, JVM_MULTI_MODULE_OLD_AGAINST_IR, JVM_MULTI_MODULE_IR_AGAINST_OLD
|
||||
// FILE: 1.kt
|
||||
|
||||
interface Flow<T> {
|
||||
val result: String
|
||||
}
|
||||
|
||||
inline fun <reified T> foo() =
|
||||
object {
|
||||
fun test() = object : Flow<T> {
|
||||
override val result: String = "OK"
|
||||
}
|
||||
}.test()
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
fun box(): String =
|
||||
foo<Any>().result
|
||||
@@ -0,0 +1,21 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
class Path {
|
||||
val events: String = "OK"
|
||||
}
|
||||
|
||||
inline fun doSomething(path: Path): String {
|
||||
val f = path::events
|
||||
return f()
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
return doSomething(Path())
|
||||
}
|
||||
+66
@@ -2829,6 +2829,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
|
||||
public void testGenericBoundPropertyAsCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericValOnLHS.kt")
|
||||
public void testGenericValOnLHS() throws Exception {
|
||||
@@ -7238,6 +7244,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/contracts/listAppend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt")
|
||||
public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valInWhen.kt")
|
||||
public void testValInWhen() throws Exception {
|
||||
@@ -10790,6 +10802,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callTopLevelFromLocal.kt")
|
||||
public void testCallTopLevelFromLocal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedParameters.kt")
|
||||
public void testCapturedParameters() throws Exception {
|
||||
@@ -16990,6 +17008,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customIterator.kt")
|
||||
public void testCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultFunctionsFromAnyForInlineClass.kt")
|
||||
public void testDefaultFunctionsFromAnyForInlineClass() throws Exception {
|
||||
@@ -22416,6 +22440,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/explicitObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyGetter.kt")
|
||||
public void testExtensionPropertyGetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funAccess.kt")
|
||||
public void testFunAccess() throws Exception {
|
||||
@@ -22804,6 +22834,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParameterInConstructor.kt")
|
||||
public void testDefaultParameterInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inExtensionFunction.kt")
|
||||
public void testInExtensionFunction() throws Exception {
|
||||
@@ -24350,12 +24386,24 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/objects/kt2822.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt32351.kt")
|
||||
public void testKt32351() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32351.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt3238.kt")
|
||||
public void testKt3238() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3238.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt32749.kt")
|
||||
public void testKt32749() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32749.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt3684.kt")
|
||||
public void testKt3684() throws Exception {
|
||||
@@ -25148,6 +25196,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt44647.kt")
|
||||
public void testKt44647() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt4987.kt")
|
||||
public void testKt4987() throws Exception {
|
||||
@@ -27013,6 +27067,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateVarInCompanion.kt")
|
||||
public void testPrivateVarInCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleVar.kt")
|
||||
public void testSimpleVar() throws Exception {
|
||||
@@ -39779,6 +39839,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/visibility/protectedAndPackage"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42012.kt")
|
||||
public void testKt42012() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedFunInPackage.kt")
|
||||
public void testOverrideProtectedFunInPackage() throws Exception {
|
||||
|
||||
+12
@@ -280,6 +280,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30696.kt")
|
||||
public void testKt30696() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt34656.kt")
|
||||
public void testKt34656() throws Exception {
|
||||
@@ -1159,6 +1165,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
|
||||
+12
@@ -280,6 +280,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30696.kt")
|
||||
public void testKt30696() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt34656.kt")
|
||||
public void testKt34656() throws Exception {
|
||||
@@ -1159,6 +1165,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
|
||||
+66
@@ -2829,6 +2829,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
|
||||
public void testGenericBoundPropertyAsCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericValOnLHS.kt")
|
||||
public void testGenericValOnLHS() throws Exception {
|
||||
@@ -7238,6 +7244,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/contracts/listAppend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt")
|
||||
public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valInWhen.kt")
|
||||
public void testValInWhen() throws Exception {
|
||||
@@ -10790,6 +10802,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callTopLevelFromLocal.kt")
|
||||
public void testCallTopLevelFromLocal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedParameters.kt")
|
||||
public void testCapturedParameters() throws Exception {
|
||||
@@ -16990,6 +17008,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customIterator.kt")
|
||||
public void testCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultFunctionsFromAnyForInlineClass.kt")
|
||||
public void testDefaultFunctionsFromAnyForInlineClass() throws Exception {
|
||||
@@ -22416,6 +22440,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/explicitObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionPropertyGetter.kt")
|
||||
public void testExtensionPropertyGetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("funAccess.kt")
|
||||
public void testFunAccess() throws Exception {
|
||||
@@ -22804,6 +22834,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParameterInConstructor.kt")
|
||||
public void testDefaultParameterInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inExtensionFunction.kt")
|
||||
public void testInExtensionFunction() throws Exception {
|
||||
@@ -24350,12 +24386,24 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/objects/kt2822.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt32351.kt")
|
||||
public void testKt32351() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32351.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt3238.kt")
|
||||
public void testKt3238() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3238.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt32749.kt")
|
||||
public void testKt32749() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32749.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt3684.kt")
|
||||
public void testKt3684() throws Exception {
|
||||
@@ -24942,6 +24990,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt44647.kt")
|
||||
public void testKt44647() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt4987.kt")
|
||||
public void testKt4987() throws Exception {
|
||||
@@ -26807,6 +26861,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateVarInCompanion.kt")
|
||||
public void testPrivateVarInCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleVar.kt")
|
||||
public void testSimpleVar() throws Exception {
|
||||
@@ -39573,6 +39633,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/visibility/protectedAndPackage"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42012.kt")
|
||||
public void testKt42012() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overrideProtectedFunInPackage.kt")
|
||||
public void testOverrideProtectedFunInPackage() throws Exception {
|
||||
|
||||
+12
@@ -280,6 +280,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30696.kt")
|
||||
public void testKt30696() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt34656.kt")
|
||||
public void testKt34656() throws Exception {
|
||||
@@ -1159,6 +1165,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
|
||||
+12
@@ -280,6 +280,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30696.kt")
|
||||
public void testKt30696() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt34656.kt")
|
||||
public void testKt34656() throws Exception {
|
||||
@@ -1159,6 +1165,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
|
||||
+12
@@ -280,6 +280,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30696.kt")
|
||||
public void testKt30696() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt34656.kt")
|
||||
public void testKt34656() throws Exception {
|
||||
@@ -1159,6 +1165,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
|
||||
+12
@@ -280,6 +280,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30696.kt")
|
||||
public void testKt30696() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt30696.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt34656.kt")
|
||||
public void testKt34656() throws Exception {
|
||||
@@ -1159,6 +1165,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
|
||||
+55
@@ -2415,6 +2415,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Bound extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
|
||||
public void ignoreGenericBoundPropertyAsCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -5506,6 +5511,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Contracts extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt")
|
||||
public void ignoreNestedLambdaInNonInlineCallExactlyOnce() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -8656,6 +8666,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Named extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("callTopLevelFromLocal.kt")
|
||||
public void ignoreCallTopLevelFromLocal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultArgument.kt")
|
||||
public void ignoreDefaultArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt");
|
||||
@@ -13946,6 +13961,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/anySuperCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customIterator.kt")
|
||||
public void ignoreCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassWithCustomEquals.kt")
|
||||
public void ignoreInlineClassWithCustomEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassWithCustomEquals.kt");
|
||||
@@ -18888,6 +18908,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class JvmStatic extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("extensionPropertyGetter.kt")
|
||||
public void ignoreExtensionPropertyGetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmStatic/extensionPropertyGetter.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -19250,6 +19275,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterInConstructor.kt")
|
||||
public void ignoreDefaultParameterInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt10835.kt")
|
||||
public void ignoreKt10835() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
|
||||
@@ -20530,6 +20560,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Objects extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("kt32351.kt")
|
||||
public void ignoreKt32351() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32351.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32749.kt")
|
||||
public void ignoreKt32749() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32749.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -21350,6 +21390,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class OperatorConventions extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("kt44647.kt")
|
||||
public void ignoreKt44647() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -22974,6 +23019,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/kt30548.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateVarInCompanion.kt")
|
||||
public void ignorePrivateVarInCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -32039,6 +32089,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ProtectedAndPackage extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("kt42012.kt")
|
||||
public void ignoreKt42012() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/visibility/protectedAndPackage/kt42012.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+45
@@ -1743,6 +1743,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
|
||||
public void testGenericBoundPropertyAsCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericValOnLHS.kt")
|
||||
public void testGenericValOnLHS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt");
|
||||
@@ -4829,6 +4834,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/contracts/listAppend.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt")
|
||||
public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("valInWhen.kt")
|
||||
public void testValInWhen() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/valInWhen.kt");
|
||||
@@ -7749,6 +7759,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@TestMetadata("callTopLevelFromLocal.kt")
|
||||
public void testCallTopLevelFromLocal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("capturedParameters.kt")
|
||||
public void testCapturedParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedParameters.kt");
|
||||
@@ -12409,6 +12424,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customIterator.kt")
|
||||
public void testCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultFunctionsFromAnyForInlineClass.kt")
|
||||
public void testDefaultFunctionsFromAnyForInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/defaultFunctionsFromAnyForInlineClass.kt");
|
||||
@@ -15443,6 +15463,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterInConstructor.kt")
|
||||
public void testDefaultParameterInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inExtensionFunction.kt")
|
||||
public void testInExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt");
|
||||
@@ -16613,11 +16638,21 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/objects/kt2822.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32351.kt")
|
||||
public void testKt32351() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32351.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3238.kt")
|
||||
public void testKt3238() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3238.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32749.kt")
|
||||
public void testKt32749() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32749.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3684.kt")
|
||||
public void testKt3684() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3684.kt");
|
||||
@@ -17298,6 +17333,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt44647.kt")
|
||||
public void testKt44647() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4987.kt")
|
||||
public void testKt4987() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4987.kt");
|
||||
@@ -18687,6 +18727,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateVarInCompanion.kt")
|
||||
public void testPrivateVarInCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleVar.kt")
|
||||
public void testSimpleVar() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt");
|
||||
|
||||
+5
@@ -890,6 +890,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt");
|
||||
|
||||
Generated
+45
@@ -1743,6 +1743,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
|
||||
public void testGenericBoundPropertyAsCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericValOnLHS.kt")
|
||||
public void testGenericValOnLHS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt");
|
||||
@@ -4314,6 +4319,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/contracts/listAppend.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt")
|
||||
public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("valInWhen.kt")
|
||||
public void testValInWhen() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/valInWhen.kt");
|
||||
@@ -7234,6 +7244,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("callTopLevelFromLocal.kt")
|
||||
public void testCallTopLevelFromLocal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("capturedParameters.kt")
|
||||
public void testCapturedParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedParameters.kt");
|
||||
@@ -11894,6 +11909,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customIterator.kt")
|
||||
public void testCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultFunctionsFromAnyForInlineClass.kt")
|
||||
public void testDefaultFunctionsFromAnyForInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/defaultFunctionsFromAnyForInlineClass.kt");
|
||||
@@ -14928,6 +14948,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterInConstructor.kt")
|
||||
public void testDefaultParameterInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inExtensionFunction.kt")
|
||||
public void testInExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt");
|
||||
@@ -16098,11 +16123,21 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/objects/kt2822.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32351.kt")
|
||||
public void testKt32351() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32351.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3238.kt")
|
||||
public void testKt3238() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3238.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32749.kt")
|
||||
public void testKt32749() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32749.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3684.kt")
|
||||
public void testKt3684() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3684.kt");
|
||||
@@ -16783,6 +16818,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt44647.kt")
|
||||
public void testKt44647() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4987.kt")
|
||||
public void testKt4987() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4987.kt");
|
||||
@@ -18172,6 +18212,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateVarInCompanion.kt")
|
||||
public void testPrivateVarInCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleVar.kt")
|
||||
public void testSimpleVar() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt");
|
||||
|
||||
Generated
+5
@@ -890,6 +890,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt");
|
||||
|
||||
Generated
+45
@@ -1743,6 +1743,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericBoundPropertyAsCrossinline.kt")
|
||||
public void testGenericBoundPropertyAsCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericBoundPropertyAsCrossinline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericValOnLHS.kt")
|
||||
public void testGenericValOnLHS() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt");
|
||||
@@ -4314,6 +4319,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/contracts/listAppend.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedLambdaInNonInlineCallExactlyOnce.kt")
|
||||
public void testNestedLambdaInNonInlineCallExactlyOnce() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/nestedLambdaInNonInlineCallExactlyOnce.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("valInWhen.kt")
|
||||
public void testValInWhen() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/contracts/valInWhen.kt");
|
||||
@@ -7234,6 +7244,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/localFunctions/named"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@TestMetadata("callTopLevelFromLocal.kt")
|
||||
public void testCallTopLevelFromLocal() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/callTopLevelFromLocal.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("capturedParameters.kt")
|
||||
public void testCapturedParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedParameters.kt");
|
||||
@@ -11959,6 +11974,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customIterator.kt")
|
||||
public void testCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/customIterator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultFunctionsFromAnyForInlineClass.kt")
|
||||
public void testDefaultFunctionsFromAnyForInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/defaultFunctionsFromAnyForInlineClass.kt");
|
||||
@@ -14993,6 +15013,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterInConstructor.kt")
|
||||
public void testDefaultParameterInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inExtensionFunction.kt")
|
||||
public void testInExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt");
|
||||
@@ -16163,11 +16188,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/objects/kt2822.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32351.kt")
|
||||
public void testKt32351() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32351.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3238.kt")
|
||||
public void testKt3238() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3238.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32749.kt")
|
||||
public void testKt32749() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32749.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3684.kt")
|
||||
public void testKt3684() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3684.kt");
|
||||
@@ -16853,6 +16888,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt44647.kt")
|
||||
public void testKt44647() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt44647.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4987.kt")
|
||||
public void testKt4987() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/operatorConventions/kt4987.kt");
|
||||
@@ -18227,6 +18267,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateVarInCompanion.kt")
|
||||
public void testPrivateVarInCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleVar.kt")
|
||||
public void testSimpleVar() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt");
|
||||
|
||||
Generated
+5
@@ -890,6 +890,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt30933.kt")
|
||||
public void testKt30933() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt30933.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaOnLhs.kt")
|
||||
public void testLambdaOnLhs() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+15
@@ -8939,6 +8939,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterInConstructor.kt")
|
||||
public void testDefaultParameterInConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/defaultParameterInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inExtensionFunction.kt")
|
||||
public void testInExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt");
|
||||
@@ -9989,6 +9994,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/objects/kt2822.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32749.kt")
|
||||
public void testKt32749() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt32749.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3684.kt")
|
||||
public void testKt3684() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/objects/kt3684.kt");
|
||||
@@ -11521,6 +11531,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateVarInCompanion.kt")
|
||||
public void testPrivateVarInCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/privateVarInCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleVar.kt")
|
||||
public void testSimpleVar() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt");
|
||||
|
||||
Reference in New Issue
Block a user