Fix test data for j2k conversion
(cherry picked from commit e3bac5e)
This commit is contained in:
committed by
Dmitry Petrov
parent
4f5f5fc3b9
commit
300aeb83b0
@@ -9,7 +9,7 @@ class A {
|
||||
+ KotlinClass.Companion.getStaticVar()
|
||||
+ KotlinClass.Companion.nullableStaticFun(1)
|
||||
+ KotlinClass.Companion.staticFun(1)
|
||||
+ KotlinApiPackage.nullableGlobalFunction("").length()
|
||||
+ KotlinApiPackage.globalFunction("").length();
|
||||
+ KotlinApiKt.nullableGlobalFunction("").length()
|
||||
+ KotlinApiKt.globalFunction("").length();
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
//file
|
||||
import kotlinApi.KotlinApiPackage;
|
||||
import kotlinApi.KotlinApiKt;
|
||||
|
||||
class C {
|
||||
void foo() {
|
||||
String s = KotlinApiPackage.extensionFunction(1);
|
||||
String s = KotlinApiKt.extensionFunction(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
//file
|
||||
import kotlinApi.KotlinApiPackage;
|
||||
import kotlinApi.KotlinApiKt;
|
||||
|
||||
class C {
|
||||
int foo() {
|
||||
KotlinApiPackage.setExtensionProperty("a", 1);
|
||||
return KotlinApiPackage.getExtensionProperty("b");
|
||||
KotlinApiKt.setExtensionProperty("a", 1);
|
||||
return KotlinApiKt.getExtensionProperty("b");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
//file
|
||||
import kotlinApi.KotlinApiPackage;
|
||||
import kotlinApi.KotlinApiKt;
|
||||
|
||||
class C {
|
||||
void foo() {
|
||||
String s = KotlinApiPackage.globalFunction("x");
|
||||
String s = KotlinApiKt.globalFunction("x");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
//file
|
||||
import kotlinApi.KotlinApiPackage;
|
||||
import kotlinApi.KotlinApiKt;
|
||||
|
||||
class C {
|
||||
void foo() {
|
||||
int v = KotlinApiPackage.<Integer>globalGenericFunction(1);
|
||||
int v = KotlinApiKt.<Integer>globalGenericFunction(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
//file
|
||||
import kotlinApi.KotlinApiPackage;
|
||||
import kotlinApi.KotlinApiKt;
|
||||
|
||||
class C {
|
||||
int foo() {
|
||||
KotlinApiPackage.setGlobalValue1(0);
|
||||
return KotlinApiPackage.getGlobalValue1();
|
||||
KotlinApiKt.setGlobalValue1(0);
|
||||
return KotlinApiKt.getGlobalValue1();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
//file
|
||||
import kotlinApi.KotlinApiPackage;
|
||||
import kotlinApi.KotlinApiKt;
|
||||
|
||||
class C {
|
||||
int foo() {
|
||||
KotlinApiPackage.setGlobalValue2(0);
|
||||
return KotlinApiPackage.getGlobalValue2();
|
||||
KotlinApiKt.setGlobalValue2(0);
|
||||
return KotlinApiKt.getGlobalValue2();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user