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
+14
@@ -1,3 +1,4 @@
|
||||
// FILE: stopInInlineUnderSamConversion.kt
|
||||
package stopInInlineUnderSamConversion
|
||||
|
||||
import forTests.SamConversion
|
||||
@@ -19,4 +20,17 @@ fun foo(a: Any) {}
|
||||
|
||||
inline fun inlineCall(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// FILE: forTests/SamConversion.java
|
||||
package forTests;
|
||||
|
||||
public class SamConversion {
|
||||
public interface Runnable {
|
||||
public abstract void run();
|
||||
}
|
||||
|
||||
public static void doAction(Runnable runnable) {
|
||||
runnable.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user