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,3 +1,4 @@
|
||||
// FILE: javaFun.kt
|
||||
package javaFun
|
||||
|
||||
import forTests.MyJavaClass
|
||||
@@ -7,3 +8,17 @@ fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
klass.testFun()
|
||||
}
|
||||
|
||||
// FILE: forTests/MyJavaClass.java
|
||||
package forTests;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
public class MyJavaClass {
|
||||
public void testFun() {
|
||||
int i = 1;
|
||||
}
|
||||
|
||||
public MyJavaClass() {}
|
||||
}
|
||||
Reference in New Issue
Block a user