Minor, add debug stepping test for KT-44745
This commit is contained in:
committed by
Space Team
parent
59f9d0afd9
commit
45bf70c9f9
+6
@@ -139,6 +139,12 @@ public class FirLightTreeSteppingTestGenerated extends AbstractFirLightTreeStepp
|
|||||||
runTest("compiler/testData/debug/stepping/constructors.kt");
|
runTest("compiler/testData/debug/stepping/constructors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("continue.kt")
|
||||||
|
public void testContinue() throws Exception {
|
||||||
|
runTest("compiler/testData/debug/stepping/continue.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("dataClass.kt")
|
@TestMetadata("dataClass.kt")
|
||||||
public void testDataClass() throws Exception {
|
public void testDataClass() throws Exception {
|
||||||
|
|||||||
+6
@@ -139,6 +139,12 @@ public class FirPsiSteppingTestGenerated extends AbstractFirPsiSteppingTest {
|
|||||||
runTest("compiler/testData/debug/stepping/constructors.kt");
|
runTest("compiler/testData/debug/stepping/constructors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("continue.kt")
|
||||||
|
public void testContinue() throws Exception {
|
||||||
|
runTest("compiler/testData/debug/stepping/continue.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("dataClass.kt")
|
@TestMetadata("dataClass.kt")
|
||||||
public void testDataClass() throws Exception {
|
public void testDataClass() throws Exception {
|
||||||
|
|||||||
+64
@@ -0,0 +1,64 @@
|
|||||||
|
// WITH_STDLIB
|
||||||
|
// FILE: test.kt
|
||||||
|
|
||||||
|
val strings = arrayOf("1a", "1b", "2", "3")
|
||||||
|
|
||||||
|
fun box() {
|
||||||
|
for (s in strings) {
|
||||||
|
if (s == "1a" || s == "1b") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
if (s == "2") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
println(s)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXPECTATIONS JVM JVM_IR
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:8 box
|
||||||
|
// test.kt:9 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:8 box
|
||||||
|
// test.kt:9 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:8 box
|
||||||
|
// test.kt:11 box
|
||||||
|
// test.kt:12 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:8 box
|
||||||
|
// test.kt:11 box
|
||||||
|
// test.kt:14 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:16 box
|
||||||
|
|
||||||
|
// EXPECTATIONS JS_IR
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:4 <get-strings>
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:8 box
|
||||||
|
// test.kt:9 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:8 box
|
||||||
|
// test.kt:9 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:8 box
|
||||||
|
// test.kt:11 box
|
||||||
|
// test.kt:12 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:8 box
|
||||||
|
// test.kt:11 box
|
||||||
|
// test.kt:14 box
|
||||||
|
// test.kt:7 box
|
||||||
|
// test.kt:16 box
|
||||||
+6
@@ -139,6 +139,12 @@ public class IrSteppingWithBytecodeInlinerTestGenerated extends AbstractIrSteppi
|
|||||||
runTest("compiler/testData/debug/stepping/constructors.kt");
|
runTest("compiler/testData/debug/stepping/constructors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("continue.kt")
|
||||||
|
public void testContinue() throws Exception {
|
||||||
|
runTest("compiler/testData/debug/stepping/continue.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("dataClass.kt")
|
@TestMetadata("dataClass.kt")
|
||||||
public void testDataClass() throws Exception {
|
public void testDataClass() throws Exception {
|
||||||
|
|||||||
+6
@@ -139,6 +139,12 @@ public class IrSteppingWithIrInlinerTestGenerated extends AbstractIrSteppingWith
|
|||||||
runTest("compiler/testData/debug/stepping/constructors.kt");
|
runTest("compiler/testData/debug/stepping/constructors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("continue.kt")
|
||||||
|
public void testContinue() throws Exception {
|
||||||
|
runTest("compiler/testData/debug/stepping/continue.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("dataClass.kt")
|
@TestMetadata("dataClass.kt")
|
||||||
public void testDataClass() throws Exception {
|
public void testDataClass() throws Exception {
|
||||||
|
|||||||
+6
@@ -139,6 +139,12 @@ public class SteppingTestGenerated extends AbstractSteppingTest {
|
|||||||
runTest("compiler/testData/debug/stepping/constructors.kt");
|
runTest("compiler/testData/debug/stepping/constructors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("continue.kt")
|
||||||
|
public void testContinue() throws Exception {
|
||||||
|
runTest("compiler/testData/debug/stepping/continue.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("dataClass.kt")
|
@TestMetadata("dataClass.kt")
|
||||||
public void testDataClass() throws Exception {
|
public void testDataClass() throws Exception {
|
||||||
|
|||||||
+6
@@ -139,6 +139,12 @@ public class IrJsSteppingTestGenerated extends AbstractIrJsSteppingTest {
|
|||||||
runTest("compiler/testData/debug/stepping/constructors.kt");
|
runTest("compiler/testData/debug/stepping/constructors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("continue.kt")
|
||||||
|
public void testContinue() throws Exception {
|
||||||
|
runTest("compiler/testData/debug/stepping/continue.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("dataClass.kt")
|
@TestMetadata("dataClass.kt")
|
||||||
public void testDataClass() throws Exception {
|
public void testDataClass() throws Exception {
|
||||||
|
|||||||
Reference in New Issue
Block a user