Debugger: Add test for KT-14057

This commit is contained in:
Yan Zhulanow
2020-02-06 22:13:28 +09:00
parent bf890a1540
commit 45c97a2c5e
4 changed files with 29 additions and 1 deletions
@@ -1161,6 +1161,11 @@ public class KotlinSteppingTestGenerated extends AbstractKotlinSteppingTest {
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/inlinePropertyAccessors.kt");
}
@TestMetadata("kt14057.kt")
public void testKt14057() throws Exception {
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/kt14057.kt");
}
@TestMetadata("kt15823.kt")
public void testKt15823() throws Exception {
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/custom/kt15823.kt");
@@ -1,4 +1,4 @@
FunctionBreakpoint created at ReadWrite.kt:105
FunctionBreakpoint created at ReadWrite.kt
Run Java
Connected to the target VM
ReadWrite.!EXT!
@@ -0,0 +1,12 @@
package test
import java.io.StringReader
fun main() {
val reader = StringReader("test")
reader.readText()
}
// ADDITIONAL_BREAKPOINT: ReadWrite.kt / public fun Reader.copyTo( / fun
// STEP_OVER: 2
// STEP_INTO: 1
@@ -0,0 +1,11 @@
FunctionBreakpoint created at ReadWrite.kt
Run Java
Connected to the target VM
ReadWrite.!EXT!
ReadWrite.!EXT!
ReadWrite.!EXT!
Reader.!EXT!
resuming ReadWrite.kt:129
Disconnected from the target VM
Process finished with exit code 0