Rename tests: boxWithJava -> boxAgainstJava

This commit is contained in:
Alexander Udalov
2014-06-25 03:42:42 +04:00
parent 544cf4f28d
commit 09863445bb
163 changed files with 125 additions and 125 deletions
@@ -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"
}