Rename tests: boxWithJava -> boxAgainstJava
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class Impl: JavaInterface {
|
||||
override fun foo(r: Runnable?) {
|
||||
r?.run()
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val fooMethods = javaClass<Impl>().getMethods().filter { it.getName() == "foo" }
|
||||
if (fooMethods.size() != 1) return fooMethods.toString()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user