Move test from js to common part

This commit is contained in:
Roman Artemev
2018-12-11 16:10:41 +03:00
committed by romanart
parent b6c975739c
commit 2b436b493c
8 changed files with 53 additions and 14 deletions
@@ -893,11 +893,6 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/coroutines/debugStatement.kt");
}
@TestMetadata("inlineLambdaNonLocalReturn.kt")
public void testInlineLambdaNonLocalReturn() throws Exception {
runTest("js/js.translator/testData/box/coroutines/inlineLambdaNonLocalReturn.kt");
}
@TestMetadata("localVarOptimization.kt")
public void testLocalVarOptimization() throws Exception {
runTest("js/js.translator/testData/box/coroutines/localVarOptimization.kt");
@@ -893,11 +893,6 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/coroutines/debugStatement.kt");
}
@TestMetadata("inlineLambdaNonLocalReturn.kt")
public void testInlineLambdaNonLocalReturn() throws Exception {
runTest("js/js.translator/testData/box/coroutines/inlineLambdaNonLocalReturn.kt");
}
@TestMetadata("localVarOptimization.kt")
public void testLocalVarOptimization() throws Exception {
runTest("js/js.translator/testData/box/coroutines/localVarOptimization.kt");
@@ -5286,6 +5286,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendFunction.kt", "kotlin.coroutines");
}
@TestMetadata("inlineSuspendLambdaNonLocalReturn.kt")
public void testInlineSuspendLambdaNonLocalReturn_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendLambdaNonLocalReturn.kt", "kotlin.coroutines");
}
@TestMetadata("inlinedTryCatchFinally.kt")
public void testInlinedTryCatchFinally_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlinedTryCatchFinally.kt", "kotlin.coroutines");
@@ -5446,6 +5446,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendFunction.kt", "kotlin.coroutines");
}
@TestMetadata("inlineSuspendLambdaNonLocalReturn.kt")
public void testInlineSuspendLambdaNonLocalReturn_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendLambdaNonLocalReturn.kt", "kotlin.coroutines.experimental");
}
@TestMetadata("inlineSuspendLambdaNonLocalReturn.kt")
public void testInlineSuspendLambdaNonLocalReturn_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineSuspendLambdaNonLocalReturn.kt", "kotlin.coroutines");
}
@TestMetadata("inlinedTryCatchFinally.kt")
public void testInlinedTryCatchFinally_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlinedTryCatchFinally.kt", "kotlin.coroutines.experimental");