472ec72eb9
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
35 lines
542 B
Kotlin
Vendored
35 lines
542 B
Kotlin
Vendored
// FILE: stopInWrongClass.kt
|
|
package stopInWrongClass
|
|
|
|
class AA {
|
|
fun test() {
|
|
// Should be on the same line with Breakpoint 1
|
|
foo()
|
|
}
|
|
|
|
fun other() {
|
|
//Breakpoint!
|
|
foo()
|
|
}
|
|
}
|
|
|
|
fun main(args: Array<String>) {
|
|
// Shouldn't stop inside test()
|
|
AA().test()
|
|
AA().other()
|
|
}
|
|
|
|
// ADDITIONAL_BREAKPOINT: stopInWrongClass.Other.kt: Breakpoint 1
|
|
|
|
// FILE: stopInWrongClass.Other.kt
|
|
package stopInWrongClass
|
|
|
|
class A {
|
|
fun test() {
|
|
// Breakpoint 1
|
|
foo()
|
|
}
|
|
}
|
|
|
|
fun foo() {
|
|
} |