Add tests for KT-48180

This commit is contained in:
pyos
2021-08-10 11:16:22 +02:00
committed by Mikhael Bogdanov
parent ff6de0fe6a
commit d3de0109ca
14 changed files with 231 additions and 0 deletions
@@ -1727,6 +1727,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
}
@Test
@TestMetadata("defaultAfterCapturing.kt")
public void testDefaultAfterCapturing() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
}
@Test
@TestMetadata("defaultCallInDefaultLambda.kt")
public void testDefaultCallInDefaultLambda() throws Exception {
@@ -1841,6 +1847,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
}
@Test
@TestMetadata("reordering.kt")
public void testReordering() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -1958,6 +1970,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
}
@Test
@TestMetadata("defaultAfterBoundReference.kt")
public void testDefaultAfterBoundReference() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
}
@Test
@TestMetadata("differentInvokeSignature.kt")
public void testDifferentInvokeSignature() throws Exception {
@@ -1727,6 +1727,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
}
@Test
@TestMetadata("defaultAfterCapturing.kt")
public void testDefaultAfterCapturing() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
}
@Test
@TestMetadata("defaultCallInDefaultLambda.kt")
public void testDefaultCallInDefaultLambda() throws Exception {
@@ -1841,6 +1847,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
}
@Test
@TestMetadata("reordering.kt")
public void testReordering() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -1958,6 +1970,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
}
@Test
@TestMetadata("defaultAfterBoundReference.kt")
public void testDefaultAfterBoundReference() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
}
@Test
@TestMetadata("differentInvokeSignature.kt")
public void testDifferentInvokeSignature() throws Exception {
@@ -1739,6 +1739,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
}
@Test
@TestMetadata("defaultAfterCapturing.kt")
public void testDefaultAfterCapturing() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
}
@Test
@TestMetadata("defaultCallInDefaultLambda.kt")
public void testDefaultCallInDefaultLambda() throws Exception {
@@ -1853,6 +1859,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
}
@Test
@TestMetadata("reordering.kt")
public void testReordering() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -1970,6 +1982,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
}
@Test
@TestMetadata("defaultAfterBoundReference.kt")
public void testDefaultAfterBoundReference() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
}
@Test
@TestMetadata("differentInvokeSignature.kt")
public void testDifferentInvokeSignature() throws Exception {
@@ -1739,6 +1739,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
}
@Test
@TestMetadata("defaultAfterCapturing.kt")
public void testDefaultAfterCapturing() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
}
@Test
@TestMetadata("defaultCallInDefaultLambda.kt")
public void testDefaultCallInDefaultLambda() throws Exception {
@@ -1853,6 +1859,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
}
@Test
@TestMetadata("reordering.kt")
public void testReordering() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -1970,6 +1982,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
}
@Test
@TestMetadata("defaultAfterBoundReference.kt")
public void testDefaultAfterBoundReference() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
}
@Test
@TestMetadata("differentInvokeSignature.kt")
public void testDifferentInvokeSignature() throws Exception {
@@ -1739,6 +1739,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
}
@Test
@TestMetadata("defaultAfterCapturing.kt")
public void testDefaultAfterCapturing() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
}
@Test
@TestMetadata("defaultCallInDefaultLambda.kt")
public void testDefaultCallInDefaultLambda() throws Exception {
@@ -1853,6 +1859,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
}
@Test
@TestMetadata("reordering.kt")
public void testReordering() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -1970,6 +1982,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
}
@Test
@TestMetadata("defaultAfterBoundReference.kt")
public void testDefaultAfterBoundReference() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
}
@Test
@TestMetadata("differentInvokeSignature.kt")
public void testDifferentInvokeSignature() throws Exception {
@@ -1739,6 +1739,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
}
@Test
@TestMetadata("defaultAfterCapturing.kt")
public void testDefaultAfterCapturing() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
}
@Test
@TestMetadata("defaultCallInDefaultLambda.kt")
public void testDefaultCallInDefaultLambda() throws Exception {
@@ -1853,6 +1859,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
}
@Test
@TestMetadata("reordering.kt")
public void testReordering() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -1970,6 +1982,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
}
@Test
@TestMetadata("defaultAfterBoundReference.kt")
public void testDefaultAfterBoundReference() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
}
@Test
@TestMetadata("differentInvokeSignature.kt")
public void testDifferentInvokeSignature() throws Exception {
@@ -1727,6 +1727,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt");
}
@Test
@TestMetadata("defaultAfterCapturing.kt")
public void testDefaultAfterCapturing() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt");
}
@Test
@TestMetadata("defaultCallInDefaultLambda.kt")
public void testDefaultCallInDefaultLambda() throws Exception {
@@ -1841,6 +1847,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt");
}
@Test
@TestMetadata("reordering.kt")
public void testReordering() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -1958,6 +1970,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt");
}
@Test
@TestMetadata("defaultAfterBoundReference.kt")
public void testDefaultAfterBoundReference() throws Exception {
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt");
}
@Test
@TestMetadata("differentInvokeSignature.kt")
public void testDifferentInvokeSignature() throws Exception {