[SLC] add tests on private object
^KT-56441
This commit is contained in:
committed by
Space Team
parent
fa231f60ae
commit
8e815e943e
+27
@@ -0,0 +1,27 @@
|
||||
final class PrivateObject /* one.PrivateObject*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String privateProperty;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final one.PrivateObject INSTANCE;
|
||||
|
||||
private static boolean internalProperty;
|
||||
|
||||
private static int publicProperty;
|
||||
|
||||
private PrivateObject();// .ctor()
|
||||
|
||||
private final void privateFun();// privateFun()
|
||||
|
||||
public final boolean getInternalProperty$test_module();// getInternalProperty$test_module()
|
||||
|
||||
public final int getPublicProperty();// getPublicProperty()
|
||||
|
||||
public final void internalFun$test_module();// internalFun$test_module()
|
||||
|
||||
public final void publicFun();// publicFun()
|
||||
|
||||
public final void setInternalProperty$test_module(boolean);// setInternalProperty$test_module(boolean)
|
||||
|
||||
public final void setPublicProperty(int);// setPublicProperty(int)
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
final class PrivateObject /* one.PrivateObject*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final one.PrivateObject INSTANCE;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String privateProperty = "" /* initializer type: java.lang.String */;
|
||||
|
||||
private static boolean internalProperty = false /* initializer type: boolean */;
|
||||
|
||||
private static int publicProperty = 4 /* initializer type: int */;
|
||||
|
||||
private PrivateObject();// .ctor()
|
||||
|
||||
private final void privateFun();// privateFun()
|
||||
|
||||
public final boolean getInternalProperty$light_idea_test_case();// getInternalProperty$light_idea_test_case()
|
||||
|
||||
public final int getPublicProperty();// getPublicProperty()
|
||||
|
||||
public final void internalFun$light_idea_test_case();// internalFun$light_idea_test_case()
|
||||
|
||||
public final void publicFun();// publicFun()
|
||||
|
||||
public final void setInternalProperty$light_idea_test_case(boolean);// setInternalProperty$light_idea_test_case(boolean)
|
||||
|
||||
public final void setPublicProperty(int);// setPublicProperty(int)
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// one.PrivateObject
|
||||
package one
|
||||
|
||||
private object PrivateObject {
|
||||
var publicProperty = 4
|
||||
internal var internalProperty = false
|
||||
private var privateProperty = ""
|
||||
|
||||
fun publicFun() {}
|
||||
internal fun internalFun() {}
|
||||
private fun privateFun() {}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
final class PrivateObject /* one.PrivateObject*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String privateProperty;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final one.PrivateObject INSTANCE;
|
||||
|
||||
private static boolean internalProperty;
|
||||
|
||||
private static int publicProperty;
|
||||
|
||||
private PrivateObject();// .ctor()
|
||||
|
||||
private final void privateFun();// privateFun()
|
||||
|
||||
public final boolean getInternalProperty$main();// getInternalProperty$main()
|
||||
|
||||
public final int getPublicProperty();// getPublicProperty()
|
||||
|
||||
public final void internalFun$main();// internalFun$main()
|
||||
|
||||
public final void publicFun();// publicFun()
|
||||
|
||||
public final void setInternalProperty$main(boolean);// setInternalProperty$main(boolean)
|
||||
|
||||
public final void setPublicProperty(int);// setPublicProperty(int)
|
||||
}
|
||||
Reference in New Issue
Block a user