JS: enable coroutine tests that don't enter infinite loop anymore
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
// TARGET_BACKEND: JVM
|
|
||||||
|
|
||||||
class Controller {
|
class Controller {
|
||||||
var lastSuspension: Continuation<String>? = null
|
var lastSuspension: Continuation<String>? = null
|
||||||
var result = "fail"
|
var result = "fail"
|
||||||
|
|||||||
-2
@@ -1,5 +1,3 @@
|
|||||||
// TARGET_BACKEND: JVM
|
|
||||||
|
|
||||||
class Controller {
|
class Controller {
|
||||||
var lastSuspension: Continuation<String>? = null
|
var lastSuspension: Continuation<String>? = null
|
||||||
var result = "fail"
|
var result = "fail"
|
||||||
|
|||||||
-2
@@ -1,5 +1,3 @@
|
|||||||
// TARGET_BACKEND: JVM
|
|
||||||
|
|
||||||
class Controller {
|
class Controller {
|
||||||
var lastSuspension: Continuation<String>? = null
|
var lastSuspension: Continuation<String>? = null
|
||||||
var result = "fail"
|
var result = "fail"
|
||||||
|
|||||||
-2
@@ -1,5 +1,3 @@
|
|||||||
// TARGET_BACKEND: JVM
|
|
||||||
|
|
||||||
class Controller {
|
class Controller {
|
||||||
var lastSuspension: Continuation<String>? = null
|
var lastSuspension: Continuation<String>? = null
|
||||||
var result = "fail"
|
var result = "fail"
|
||||||
|
|||||||
-18
@@ -5672,12 +5672,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("illegalState.kt")
|
|
||||||
public void testIllegalState() throws Exception {
|
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/illegalState.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("inlineSuspendFunction.kt")
|
@TestMetadata("inlineSuspendFunction.kt")
|
||||||
public void testInlineSuspendFunction() throws Exception {
|
public void testInlineSuspendFunction() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/inlineSuspendFunction.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/inlineSuspendFunction.kt");
|
||||||
@@ -5932,24 +5926,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("usedInArrayStore.kt")
|
|
||||||
public void testUsedInArrayStore() throws Exception {
|
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInArrayStore.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("usedInMethodCall.kt")
|
@TestMetadata("usedInMethodCall.kt")
|
||||||
public void testUsedInMethodCall() throws Exception {
|
public void testUsedInMethodCall() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInMethodCall.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInMethodCall.kt");
|
||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("usedInPutfield.kt")
|
|
||||||
public void testUsedInPutfield() throws Exception {
|
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInPutfield.kt");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("usedInVarStore.kt")
|
@TestMetadata("usedInVarStore.kt")
|
||||||
public void testUsedInVarStore() throws Exception {
|
public void testUsedInVarStore() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInVarStore.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/intLikeVarSpilling/usedInVarStore.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user