JVM_IR indy-SAM on functional expression
This commit is contained in:
+52
@@ -20035,6 +20035,58 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/unboundFunctionReferenceEquality.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FunctionExpressionArgument {
|
||||
@Test
|
||||
public void testAllFilesPresentInFunctionExpressionArgument() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedSamArgument.kt")
|
||||
public void testCapturedSamArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/capturedSamArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturingLambda.kt")
|
||||
public void testCapturingLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/capturingLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambda1.kt")
|
||||
public void testExtensionLambda1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/extensionLambda1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambda2.kt")
|
||||
public void testExtensionLambda2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/extensionLambda2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericSam1.kt")
|
||||
public void testGenericSam1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/genericSam1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericSam2.kt")
|
||||
public void testGenericSam2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/genericSam2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+52
@@ -20035,6 +20035,58 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/unboundFunctionReferenceEquality.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FunctionExpressionArgument {
|
||||
@Test
|
||||
public void testAllFilesPresentInFunctionExpressionArgument() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedSamArgument.kt")
|
||||
public void testCapturedSamArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/capturedSamArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturingLambda.kt")
|
||||
public void testCapturingLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/capturingLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambda1.kt")
|
||||
public void testExtensionLambda1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/extensionLambda1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambda2.kt")
|
||||
public void testExtensionLambda2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/extensionLambda2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericSam1.kt")
|
||||
public void testGenericSam1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/genericSam1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericSam2.kt")
|
||||
public void testGenericSam2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/genericSam2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionExpressionArgument/simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user