Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcProperty.kt
T
Yan Zhulanow 472ec72eb9 Refactor debugger tests
1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
2019-10-08 19:13:56 +09:00

31 lines
572 B
Kotlin
Vendored

// FILE: test.kt
package jcProperty
fun main(args: Array<String>) {
val javaClass = forTests.javaContext.JavaClass()
//Breakpoint!
javaClass.property()
}
// STEP_INTO: 1
// EXPRESSION: this.javaProperty
// RESULT: 1: I
// EXPRESSION: javaProperty
// RESULT: 1: I
// EXPRESSION: javaPrivateProperty
// RESULT: 1: I
// FILE: forTests/javaContext/JavaClass.java
package forTests.javaContext;
public class JavaClass {
public int javaProperty = 1;
private int javaPrivateProperty = 1;
public void property() {
int breakpoint = 1;
}
}