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:
Vendored
+18
-1
@@ -1,3 +1,4 @@
|
||||
// FILE: jcBlock.kt
|
||||
package jcBlock
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
@@ -16,4 +17,20 @@ fun main(args: Array<String>) {
|
||||
// RESULT: 1: I
|
||||
|
||||
// EXPRESSION: elseVal
|
||||
// RESULT: Unresolved reference: elseVal
|
||||
// RESULT: Unresolved reference: elseVal
|
||||
|
||||
// FILE: forTests/javaContext/JavaClass.java
|
||||
package forTests.javaContext;
|
||||
|
||||
public class JavaClass {
|
||||
public void block() {
|
||||
int bodyVal = 1;
|
||||
if (true) {
|
||||
int thenVal = 1;
|
||||
int breakpoint = 1;
|
||||
}
|
||||
else {
|
||||
int elseVal = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user