Minor. Add test

This commit is contained in:
Ilmir Usmanov
2020-06-29 16:23:18 +02:00
parent da12532669
commit 28e6028af4
8 changed files with 184 additions and 0 deletions
@@ -7068,6 +7068,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/varSpilling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@TestMetadata("fakeInlinerVariables.kt")
public void testFakeInlinerVariables() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/fakeInlinerVariables.kt");
}
@TestMetadata("kt19475.kt")
public void testKt19475_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt", "kotlin.coroutines");
@@ -7078,6 +7078,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/varSpilling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("fakeInlinerVariables.kt")
public void testFakeInlinerVariables() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/fakeInlinerVariables.kt");
}
@TestMetadata("kt19475.kt")
public void testKt19475_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt", "kotlin.coroutines");
@@ -7078,6 +7078,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/varSpilling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@TestMetadata("fakeInlinerVariables.kt")
public void testFakeInlinerVariables() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/varSpilling/fakeInlinerVariables.kt");
}
@TestMetadata("kt19475.kt")
public void testKt19475_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt", "kotlin.coroutines");