472ec72eb9
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
24 lines
399 B
Kotlin
Vendored
24 lines
399 B
Kotlin
Vendored
// FILE: javaFun.kt
|
|
package javaFun
|
|
|
|
import forTests.MyJavaClass
|
|
|
|
fun main(args: Array<String>) {
|
|
val klass = MyJavaClass()
|
|
//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() {}
|
|
} |