Refactor debugger tests
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
This commit is contained in:
+15
-1
@@ -1,3 +1,4 @@
|
||||
// FILE: fileWithError.kt
|
||||
package fileWithError
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
@@ -8,4 +9,17 @@ fun main(args: Array<String>) {
|
||||
// ADDITIONAL_BREAKPOINT: fileWithInternal.kt:Breakpoint
|
||||
|
||||
// EXPRESSION: 1
|
||||
// RESULT: 1: I
|
||||
// RESULT: 1: I
|
||||
|
||||
// FILE: lib/fileWithInternal.kt
|
||||
package fileWithInternal
|
||||
|
||||
fun test() {
|
||||
// Breakpoint
|
||||
val a = fileWithInternal2.MyInternal()
|
||||
}
|
||||
|
||||
// FILE: lib/fileWithInternal2.kt
|
||||
package fileWithInternal2
|
||||
|
||||
internal class MyInternal
|
||||
Reference in New Issue
Block a user