Merge boxWithJava testData into box, delete BoxWithJava test

This commit is contained in:
Alexander Udalov
2016-03-07 16:54:45 +03:00
committed by Alexander Udalov
parent 16a0ddd2fb
commit f8dfaf4599
117 changed files with 723 additions and 815 deletions
@@ -0,0 +1,23 @@
// FILE: FakePlatformName.java
import kotlin.jvm.JvmName;
public class FakePlatformName {
@JvmName(name = "fake")
public String foo() {
return "foo";
}
public String fake() {
return "fake";
}
}
// FILE: FakePlatformName.kt
fun box(): String {
val test1 = FakePlatformName().foo()
if (test1 != "foo") return "Failed: FakePlatformName().foo()==$test1"
return "OK"
}