JVM: add tests for optimized getDelegate

This commit is contained in:
pyos
2021-06-30 20:34:39 +02:00
committed by Alexander Udalov
parent debd58d377
commit 6897e89bbc
9 changed files with 126 additions and 0 deletions
@@ -9541,6 +9541,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother.kt");
}
@TestMetadata("delegateToAnotherCustom.kt")
public void testDelegateToAnotherCustom() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnotherCustom.kt");
}
@TestMetadata("delegateToAnotherMutable.kt")
public void testDelegateToAnotherMutable() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnotherMutable.kt");
@@ -8947,6 +8947,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother.kt");
}
@TestMetadata("delegateToAnotherCustom.kt")
public void testDelegateToAnotherCustom() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnotherCustom.kt");
}
@TestMetadata("delegateToAnotherMutable.kt")
public void testDelegateToAnotherMutable() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnotherMutable.kt");
@@ -8947,6 +8947,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnother.kt");
}
@TestMetadata("delegateToAnotherCustom.kt")
public void testDelegateToAnotherCustom() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnotherCustom.kt");
}
@TestMetadata("delegateToAnotherMutable.kt")
public void testDelegateToAnotherMutable() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/delegateToAnotherMutable.kt");