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:
+14
@@ -1,3 +1,4 @@
|
||||
// FILE: smartStepIntoInterfaceImpl.kt
|
||||
package smartStepIntoInterfaceImpl
|
||||
|
||||
import forTests.MyJavaClass
|
||||
@@ -153,3 +154,16 @@ fun testStepInto() {
|
||||
//Breakpoint!
|
||||
Obj2.staticCallInOverride("a")
|
||||
}
|
||||
|
||||
// FILE: forTests/MyJavaClass.java
|
||||
package forTests;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
public class MyJavaClass {
|
||||
@NotNull
|
||||
public static int staticFun(Object s) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user