Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
// FILE: JavaInterface.java
|
||||
|
||||
interface JavaInterface {
|
||||
void foo(Runnable r);
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
class Impl: JavaInterface {
|
||||
override fun foo(r: Runnable?) {
|
||||
r?.run()
|
||||
@@ -9,4 +17,4 @@ fun box(): String {
|
||||
if (fooMethods.size != 1) return fooMethods.toString()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user