Add tests for default inline suspend lambdas
Broken on JVM and JVM_IR
This commit is contained in:
+10
@@ -3947,6 +3947,16 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/defaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInlineLambda.kt")
|
||||
public void testDefaultInlineLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultInlineLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInlineReference.kt")
|
||||
public void testDefaultInlineReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultInlineReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueCrossinline.kt")
|
||||
public void testDefaultValueCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultValueCrossinline.kt");
|
||||
|
||||
Generated
+10
@@ -3947,6 +3947,16 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/defaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInlineLambda.kt")
|
||||
public void testDefaultInlineLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultInlineLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInlineReference.kt")
|
||||
public void testDefaultInlineReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultInlineReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueCrossinline.kt")
|
||||
public void testDefaultValueCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultValueCrossinline.kt");
|
||||
|
||||
Generated
+10
@@ -3947,6 +3947,16 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/defaultParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInlineLambda.kt")
|
||||
public void testDefaultInlineLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultInlineLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInlineReference.kt")
|
||||
public void testDefaultInlineReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultInlineReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueCrossinline.kt")
|
||||
public void testDefaultValueCrossinline() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/suspend/defaultParameter/defaultValueCrossinline.kt");
|
||||
|
||||
Reference in New Issue
Block a user