472ec72eb9
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
17 lines
332 B
Kotlin
Vendored
17 lines
332 B
Kotlin
Vendored
// FILE: javaSamConstructor.kt
|
|
package javaSamConstructor
|
|
|
|
import forTests.MyJavaClass
|
|
|
|
fun main(args: Array<String>) {
|
|
//Breakpoint!
|
|
MyJavaClass { /* do nothing*/ }
|
|
}
|
|
|
|
// FILE: forTests/MyJavaClass.java
|
|
package forTests;
|
|
|
|
public class MyJavaClass {
|
|
public MyJavaClass() {}
|
|
public MyJavaClass(Runnable runnable) {}
|
|
} |