JVM IR: (Un)mute tests and add more tests for bridge generation
This commit is contained in:
committed by
Georgy Bronnikov
parent
12e31a1760
commit
5f6af58aeb
@@ -0,0 +1,22 @@
|
|||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
|
open class Base<T> {
|
||||||
|
open fun f(x: T): String {
|
||||||
|
return "Fail"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class Derived : Base<String>() {
|
||||||
|
abstract override fun f(x: String): String
|
||||||
|
}
|
||||||
|
|
||||||
|
class Implementation : Derived() {
|
||||||
|
override fun f(x: String): String {
|
||||||
|
return x
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
val base = Implementation() as Base<String>
|
||||||
|
return base.f("OK")
|
||||||
|
}
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
// IGNORE_BACKEND: JS_IR
|
||||||
|
|
||||||
|
var result = "Fail"
|
||||||
|
|
||||||
|
interface A<T> {
|
||||||
|
fun f(x: T) {
|
||||||
|
result = x.toString()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class B1<T> : A<T>
|
||||||
|
|
||||||
|
interface B2 {
|
||||||
|
fun f(x: String)
|
||||||
|
}
|
||||||
|
|
||||||
|
class C : B1<String>(), B2
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
(C() as B2).f("OK")
|
||||||
|
return result
|
||||||
|
}
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// WITH_COROUTINES
|
// WITH_COROUTINES
|
||||||
// COMMON_COROUTINES_TEST
|
// COMMON_COROUTINES_TEST
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
import helpers.*
|
import helpers.*
|
||||||
import COROUTINES_PACKAGE.*
|
import COROUTINES_PACKAGE.*
|
||||||
import COROUTINES_PACKAGE.intrinsics.*
|
import COROUTINES_PACKAGE.intrinsics.*
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// WITH_COROUTINES
|
// WITH_COROUTINES
|
||||||
// COMMON_COROUTINES_TEST
|
// COMMON_COROUTINES_TEST
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
import helpers.*
|
import helpers.*
|
||||||
import COROUTINES_PACKAGE.*
|
import COROUTINES_PACKAGE.*
|
||||||
import COROUTINES_PACKAGE.intrinsics.*
|
import COROUTINES_PACKAGE.intrinsics.*
|
||||||
|
|||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// WITH_COROUTINES
|
// WITH_COROUTINES
|
||||||
// COMMON_COROUTINES_TEST
|
// COMMON_COROUTINES_TEST
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
import helpers.*
|
import helpers.*
|
||||||
import COROUTINES_PACKAGE.*
|
import COROUTINES_PACKAGE.*
|
||||||
|
|||||||
+1
@@ -2,6 +2,7 @@
|
|||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// WITH_COROUTINES
|
// WITH_COROUTINES
|
||||||
// COMMON_COROUTINES_TEST
|
// COMMON_COROUTINES_TEST
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
import helpers.*
|
import helpers.*
|
||||||
import COROUTINES_PACKAGE.*
|
import COROUTINES_PACKAGE.*
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
interface Expr {
|
interface Expr {
|
||||||
public fun ttFun() : Int = 12
|
public fun ttFun() : Int = 12
|
||||||
}
|
}
|
||||||
@@ -17,4 +19,4 @@ fun box() : String {
|
|||||||
if (Num(11).sometest() != 11) return "fail ${Num(11).sometest()}"
|
if (Num(11).sometest() != 11) return "fail ${Num(11).sometest()}"
|
||||||
|
|
||||||
return "OK"
|
return "OK"
|
||||||
}
|
}
|
||||||
|
|||||||
+24
@@ -0,0 +1,24 @@
|
|||||||
|
// !LANGUAGE: +InlineClasses
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
|
inline class A(val s: String)
|
||||||
|
|
||||||
|
abstract class B<T, U> {
|
||||||
|
abstract fun f(x: T, y: U): String
|
||||||
|
}
|
||||||
|
|
||||||
|
open class C<T>: B<T, A>() {
|
||||||
|
override fun f(x: T, y: A): String = y.s + " 1"
|
||||||
|
}
|
||||||
|
|
||||||
|
open class D : C<A>() {
|
||||||
|
override fun f(x: A, y: A): String = y.s + " 2"
|
||||||
|
}
|
||||||
|
|
||||||
|
class E : D() {
|
||||||
|
override fun f(x: A, y: A): String = x.s
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
return E().f(A("OK"), A("Fail"))
|
||||||
|
}
|
||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
// !LANGUAGE: +InlineClasses
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
|
inline class A(val s: String)
|
||||||
|
|
||||||
|
interface B<T, U> {
|
||||||
|
fun f(x: T, y: U): String
|
||||||
|
}
|
||||||
|
|
||||||
|
interface L<T> {
|
||||||
|
fun f(x: T, y: A): String
|
||||||
|
}
|
||||||
|
|
||||||
|
interface R<T> {
|
||||||
|
fun f(x: A, y: T): String
|
||||||
|
}
|
||||||
|
|
||||||
|
open class C {
|
||||||
|
open fun f(x: A, y: A): String = y.s
|
||||||
|
}
|
||||||
|
|
||||||
|
class D: C(), B<A, A>, L<A>, R<A> {
|
||||||
|
override fun f(x: A, y: A): String = x.s
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
return (D() as B<A, A>).f(A("OK"), A("Fail"))
|
||||||
|
}
|
||||||
+18
@@ -0,0 +1,18 @@
|
|||||||
|
// !LANGUAGE: +InlineClasses
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
|
inline class A(val s: String)
|
||||||
|
|
||||||
|
interface B<T> {
|
||||||
|
fun f(x: T): T
|
||||||
|
}
|
||||||
|
|
||||||
|
open class C {
|
||||||
|
open fun f(x: A): A = A("OK")
|
||||||
|
}
|
||||||
|
|
||||||
|
class D : C(), B<A>
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
return (D() as B<A>).f(A("Fail")).s
|
||||||
|
}
|
||||||
+16
@@ -0,0 +1,16 @@
|
|||||||
|
// !LANGUAGE: +InlineClasses
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
|
inline class A(val s: String)
|
||||||
|
|
||||||
|
abstract class B<T> {
|
||||||
|
abstract fun f(x: T): T
|
||||||
|
}
|
||||||
|
|
||||||
|
class C: B<A>() {
|
||||||
|
override fun f(x: A): A = x
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
return C().f(A("OK")).s
|
||||||
|
}
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|
||||||
import testing.ClassWithInternals
|
import testing.ClassWithInternals
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
open class SuperFoo {
|
open class SuperFoo {
|
||||||
public fun bar(): String {
|
public fun bar(): String {
|
||||||
if (this is Foo) {
|
if (this is Foo) {
|
||||||
@@ -14,4 +16,4 @@ class Foo : SuperFoo() {
|
|||||||
public fun superFoo() {}
|
public fun superFoo() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun box(): String = Foo().bar()
|
fun box(): String = Foo().bar()
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
open class A {
|
open class A {
|
||||||
fun f(): String =
|
fun f(): String =
|
||||||
when (this) {
|
when (this) {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// FILE: a.kt
|
// FILE: a.kt
|
||||||
|
|
||||||
package a
|
package a
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// FILE: a.kt
|
// FILE: a.kt
|
||||||
|
|
||||||
package a
|
package a
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
interface AL {
|
interface AL {
|
||||||
fun get(index: Int) : Any? = null
|
fun get(index: Int) : Any? = null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
open class A
|
open class A
|
||||||
|
|
||||||
class B : A() {
|
class B : A() {
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
interface A<T> {
|
||||||
|
fun f(x: T): T
|
||||||
|
}
|
||||||
|
|
||||||
|
open class B {
|
||||||
|
open fun f(x: String): String = x
|
||||||
|
}
|
||||||
|
|
||||||
|
open class C : B(), A<String>
|
||||||
|
|
||||||
|
class D : C()
|
||||||
|
|
||||||
|
fun box(): String {
|
||||||
|
return (D() as A<String>).f("OK")
|
||||||
|
}
|
||||||
|
|
||||||
|
// class D should not have an additional bridge
|
||||||
|
// 1 public synthetic bridge f\(Ljava/lang/Object;\)Ljava/lang/Object;
|
||||||
|
// 1 bridge
|
||||||
+30
@@ -1373,6 +1373,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("abstractOverrideBridge.kt")
|
||||||
|
public void testAbstractOverrideBridge() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/abstractOverrideBridge.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInBridges() throws Exception {
|
public void testAllFilesPresentInBridges() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||||
}
|
}
|
||||||
@@ -1457,6 +1462,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("fakeOverrideThroughGenericSuperclass.kt")
|
||||||
|
public void testFakeOverrideThroughGenericSuperclass() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
||||||
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
||||||
@@ -13922,6 +13932,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride2.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride2() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride3.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride3() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
||||||
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
||||||
@@ -13947,6 +13972,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
|||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("genericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
||||||
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
||||||
|
|||||||
@@ -2894,6 +2894,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
|||||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("addedInterfaceBridge.kt")
|
||||||
|
public void testAddedInterfaceBridge() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/bytecodeText/interfaces/addedInterfaceBridge.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInterfaces() throws Exception {
|
public void testAllFilesPresentInInterfaces() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/interfaces"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/interfaces"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||||
}
|
}
|
||||||
|
|||||||
+30
@@ -1373,6 +1373,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("abstractOverrideBridge.kt")
|
||||||
|
public void testAbstractOverrideBridge() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/abstractOverrideBridge.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInBridges() throws Exception {
|
public void testAllFilesPresentInBridges() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||||
}
|
}
|
||||||
@@ -1457,6 +1462,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("fakeOverrideThroughGenericSuperclass.kt")
|
||||||
|
public void testFakeOverrideThroughGenericSuperclass() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
||||||
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
||||||
@@ -13922,6 +13932,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride2.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride2() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride3.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride3() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
||||||
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
||||||
@@ -13947,6 +13972,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
|||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("genericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
||||||
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
||||||
|
|||||||
+30
@@ -1353,6 +1353,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
|||||||
KotlinTestUtils.runTestWithCustomIgnoreDirective(this::doTest, TargetBackend.JVM_IR, testDataFilePath, "// IGNORE_BACKEND_FIR: ");
|
KotlinTestUtils.runTestWithCustomIgnoreDirective(this::doTest, TargetBackend.JVM_IR, testDataFilePath, "// IGNORE_BACKEND_FIR: ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("abstractOverrideBridge.kt")
|
||||||
|
public void testAbstractOverrideBridge() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/abstractOverrideBridge.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInBridges() throws Exception {
|
public void testAllFilesPresentInBridges() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
@@ -1437,6 +1442,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
|||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("fakeOverrideThroughGenericSuperclass.kt")
|
||||||
|
public void testFakeOverrideThroughGenericSuperclass() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
||||||
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
||||||
@@ -12797,6 +12807,21 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride2.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride2() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride3.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride3() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
||||||
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
||||||
@@ -12822,6 +12847,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
|||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("genericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
||||||
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
||||||
|
|||||||
+30
@@ -1353,6 +1353,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("abstractOverrideBridge.kt")
|
||||||
|
public void testAbstractOverrideBridge() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/abstractOverrideBridge.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInBridges() throws Exception {
|
public void testAllFilesPresentInBridges() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
@@ -1437,6 +1442,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("fakeOverrideThroughGenericSuperclass.kt")
|
||||||
|
public void testFakeOverrideThroughGenericSuperclass() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
||||||
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
||||||
@@ -12797,6 +12807,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride2.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride2() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride3.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride3() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
||||||
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
||||||
@@ -12822,6 +12847,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
|||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("genericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
||||||
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
||||||
|
|||||||
+5
@@ -2939,6 +2939,11 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
|||||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("addedInterfaceBridge.kt")
|
||||||
|
public void testAddedInterfaceBridge() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/bytecodeText/interfaces/addedInterfaceBridge.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInterfaces() throws Exception {
|
public void testAllFilesPresentInInterfaces() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/interfaces"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/interfaces"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+30
@@ -983,6 +983,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
|
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("abstractOverrideBridge.kt")
|
||||||
|
public void testAbstractOverrideBridge() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/abstractOverrideBridge.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInBridges() throws Exception {
|
public void testAllFilesPresentInBridges() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||||
}
|
}
|
||||||
@@ -1057,6 +1062,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("fakeOverrideThroughGenericSuperclass.kt")
|
||||||
|
public void testFakeOverrideThroughGenericSuperclass() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
||||||
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
||||||
@@ -11072,6 +11082,21 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride2.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride2() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride3.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride3() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
||||||
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
||||||
@@ -11097,6 +11122,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("genericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
||||||
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
||||||
|
|||||||
+30
@@ -983,6 +983,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath);
|
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("abstractOverrideBridge.kt")
|
||||||
|
public void testAbstractOverrideBridge() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/abstractOverrideBridge.kt");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInBridges() throws Exception {
|
public void testAllFilesPresentInBridges() throws Exception {
|
||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||||
}
|
}
|
||||||
@@ -1057,6 +1062,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("fakeOverrideThroughGenericSuperclass.kt")
|
||||||
|
public void testFakeOverrideThroughGenericSuperclass() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
||||||
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
||||||
@@ -11137,6 +11147,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride2.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride2() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@TestMetadata("complexGenericMethodWithInlineClassOverride3.kt")
|
||||||
|
public void testComplexGenericMethodWithInlineClassOverride3() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
||||||
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
||||||
@@ -11162,6 +11187,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("genericMethodWithInlineClassOverride.kt")
|
||||||
|
public void testGenericMethodWithInlineClassOverride() throws Exception {
|
||||||
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
||||||
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
||||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user