Minor. Add tests with returning inline class from SAM adapter
This commit is contained in:
+15
@@ -15543,6 +15543,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/argumentResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnResult.kt")
|
||||
public void ignoreReturnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/returnResult.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -15560,6 +15565,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
public void testJavaSam() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/javaSam.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("javaSamReturnResult.kt")
|
||||
public void testJavaSamReturnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/javaSamReturnResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnIC.kt")
|
||||
public void testReturnIC() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/funInterface/returnIC.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/inlineClasses/functionNameMangling")
|
||||
|
||||
Reference in New Issue
Block a user