[KT-4124] Fix test compatibility between JS and Java backed for several tests

This commit is contained in:
Alexey Andreev
2016-02-11 18:29:56 +03:00
parent c231ecfe50
commit 20b3361edc
26 changed files with 144 additions and 736 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ val USER_ID_2 =
fun getUserIdFromEnvironment() : Int = throw UnsupportedOperationException()
fun box() : String {
System.out?.println("G: " + GUEST_USER_ID + " U1:" + USER_ID + " U2: " + USER_ID_2)
// Probably, it's an old debugging code. JS backend still does not support this
//System.out?.println("G: " + GUEST_USER_ID + " U1:" + USER_ID + " U2: " + USER_ID_2)
if(USER_ID != 4) return "test0 failed"
if(USER_ID_2 != 4) return "test2 failed"
if(GUEST_USER_ID != 5) return "test3 failed"