Minor, rename codegen tests on platformName and platformStatic

This commit is contained in:
Alexander Udalov
2015-10-23 16:02:27 +03:00
parent 18f3eb87e4
commit ae4c7b5a61
35 changed files with 196 additions and 196 deletions
@@ -0,0 +1,12 @@
import kotlin.jvm.JvmName;
public class FakePlatformName {
@JvmName(name = "fake")
public String foo() {
return "foo";
}
public String fake() {
return "fake";
}
}
@@ -0,0 +1,6 @@
fun box(): String {
val test1 = FakePlatformName().foo()
if (test1 != "foo") return "Failed: FakePlatformName().foo()==$test1"
return "OK"
}