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
+11
-1
@@ -1,3 +1,4 @@
|
||||
// FILE: kotlinSamFunction.kt
|
||||
package kotlinSamFunction
|
||||
|
||||
import forTests.MyJavaClass
|
||||
@@ -12,4 +13,13 @@ fun main(args: Array<String>) {
|
||||
val klass = KotlinSubclass()
|
||||
//Breakpoint!
|
||||
klass.other { /* do nothing*/ }
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: forTests/MyJavaClass.java
|
||||
package forTests;
|
||||
|
||||
public class MyJavaClass {
|
||||
public void other(Runnable runnable) {
|
||||
runnable.run();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user