Use box tests to check if the light analysis mode (without analyzing bodies when possible) produces the same result as the complete analysis. See also the next commit in which light analysis mode is applied. Note that no tests were changed.
This commit is contained in:
committed by
Yan Zhulanow
parent
8bdb54929b
commit
328286ab14
+57
@@ -0,0 +1,57 @@
|
||||
public final class BoxPrimitiveTypeInClinitKt {
|
||||
private static field xb: byte
|
||||
private static @org.jetbrains.annotations.Nullable field xbn: java.lang.Byte
|
||||
private static @org.jetbrains.annotations.Nullable field xbnn: java.lang.Byte
|
||||
private static field xd: double
|
||||
private static @org.jetbrains.annotations.Nullable field xdn: java.lang.Double
|
||||
private static @org.jetbrains.annotations.Nullable field xdnn: java.lang.Double
|
||||
private static field xf: float
|
||||
private static @org.jetbrains.annotations.Nullable field xfn: java.lang.Float
|
||||
private static @org.jetbrains.annotations.Nullable field xfnn: java.lang.Float
|
||||
private static field xi: int
|
||||
private static @org.jetbrains.annotations.Nullable field xin: java.lang.Integer
|
||||
private static @org.jetbrains.annotations.Nullable field xinn: java.lang.Integer
|
||||
private static field xl: long
|
||||
private static @org.jetbrains.annotations.Nullable field xln: java.lang.Long
|
||||
private static @org.jetbrains.annotations.Nullable field xlnn: java.lang.Long
|
||||
private static field xs: short
|
||||
private static @org.jetbrains.annotations.Nullable field xsn: java.lang.Short
|
||||
private static @org.jetbrains.annotations.Nullable field xsnn: java.lang.Short
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getXb(): byte
|
||||
public final static @org.jetbrains.annotations.Nullable method getXbn(): java.lang.Byte
|
||||
public final static @org.jetbrains.annotations.Nullable method getXbnn(): java.lang.Byte
|
||||
public final static method getXd(): double
|
||||
public final static @org.jetbrains.annotations.Nullable method getXdn(): java.lang.Double
|
||||
public final static @org.jetbrains.annotations.Nullable method getXdnn(): java.lang.Double
|
||||
public final static method getXf(): float
|
||||
public final static @org.jetbrains.annotations.Nullable method getXfn(): java.lang.Float
|
||||
public final static @org.jetbrains.annotations.Nullable method getXfnn(): java.lang.Float
|
||||
public final static method getXi(): int
|
||||
public final static @org.jetbrains.annotations.Nullable method getXin(): java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.Nullable method getXinn(): java.lang.Integer
|
||||
public final static method getXl(): long
|
||||
public final static @org.jetbrains.annotations.Nullable method getXln(): java.lang.Long
|
||||
public final static @org.jetbrains.annotations.Nullable method getXlnn(): java.lang.Long
|
||||
public final static method getXs(): short
|
||||
public final static @org.jetbrains.annotations.Nullable method getXsn(): java.lang.Short
|
||||
public final static @org.jetbrains.annotations.Nullable method getXsnn(): java.lang.Short
|
||||
public final static method setXb(p0: byte): void
|
||||
public final static method setXbn(@org.jetbrains.annotations.Nullable p0: java.lang.Byte): void
|
||||
public final static method setXbnn(@org.jetbrains.annotations.Nullable p0: java.lang.Byte): void
|
||||
public final static method setXd(p0: double): void
|
||||
public final static method setXdn(@org.jetbrains.annotations.Nullable p0: java.lang.Double): void
|
||||
public final static method setXdnn(@org.jetbrains.annotations.Nullable p0: java.lang.Double): void
|
||||
public final static method setXf(p0: float): void
|
||||
public final static method setXfn(@org.jetbrains.annotations.Nullable p0: java.lang.Float): void
|
||||
public final static method setXfnn(@org.jetbrains.annotations.Nullable p0: java.lang.Float): void
|
||||
public final static method setXi(p0: int): void
|
||||
public final static method setXin(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
|
||||
public final static method setXinn(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
|
||||
public final static method setXl(p0: long): void
|
||||
public final static method setXln(@org.jetbrains.annotations.Nullable p0: java.lang.Long): void
|
||||
public final static method setXlnn(@org.jetbrains.annotations.Nullable p0: java.lang.Long): void
|
||||
public final static method setXs(p0: short): void
|
||||
public final static method setXsn(@org.jetbrains.annotations.Nullable p0: java.lang.Short): void
|
||||
public final static method setXsnn(@org.jetbrains.annotations.Nullable p0: java.lang.Short): void
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public final class C {
|
||||
private final field x: int
|
||||
public method <init>(p0: int): void
|
||||
public method equals(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
|
||||
public final method getX(): int
|
||||
}
|
||||
|
||||
|
||||
public final class CheckCastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class IncrementPropertyKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Slot {
|
||||
private field vitality: int
|
||||
public method <init>(): void
|
||||
public final method getVitality(): int
|
||||
public final method increaseVitality(p0: int): void
|
||||
public final method setVitality(p0: int): void
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public final class InitializationOrderKt {
|
||||
private final static @org.jetbrains.annotations.NotNull field a: kotlin.Unit
|
||||
private final static @org.jetbrains.annotations.NotNull field b: kotlin.Unit
|
||||
private final static @org.jetbrains.annotations.NotNull field c: kotlin.Unit
|
||||
public final static @org.jetbrains.annotations.Nullable method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getA(): kotlin.Unit
|
||||
public final static @org.jetbrains.annotations.NotNull method getB(): kotlin.Unit
|
||||
public final static @org.jetbrains.annotations.NotNull method getC(): kotlin.Unit
|
||||
public final static method log(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
private final method f1(): void
|
||||
public final method foo(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
private final field foo: int
|
||||
public method <init>(): void
|
||||
public final method foo(): void
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
private field foo: int
|
||||
public method <init>(): void
|
||||
public final method foo(): void
|
||||
}
|
||||
|
||||
|
||||
public final class D {
|
||||
private field foo: int
|
||||
public method <init>(): void
|
||||
public final method foo(): void
|
||||
public final method getFoo(): int
|
||||
private final method setFoo(p0: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class InvokespecialKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
public final class pkg/AKt {
|
||||
public final static method main(@org.jetbrains.annotations.NotNull p0: java.lang.String[]): void
|
||||
}
|
||||
|
||||
|
||||
public final class pkg/BKt {
|
||||
public final static method main(@org.jetbrains.annotations.NotNull p0: java.lang.String[]): void
|
||||
}
|
||||
|
||||
|
||||
public final class test/A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class test/_1Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getMain(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.reflect.Method
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class NullablePrimitiveNoFieldInitializerKt {
|
||||
private final static @org.jetbrains.annotations.Nullable field zbyte: java.lang.Byte
|
||||
private final static @org.jetbrains.annotations.Nullable field zchar: java.lang.Character
|
||||
private final static @org.jetbrains.annotations.Nullable field zdouble: java.lang.Double
|
||||
private final static @org.jetbrains.annotations.Nullable field zfloat: java.lang.Float
|
||||
private final static @org.jetbrains.annotations.Nullable field zint: java.lang.Integer
|
||||
private final static @org.jetbrains.annotations.Nullable field zlong: java.lang.Long
|
||||
private final static @org.jetbrains.annotations.Nullable field zshort: java.lang.Short
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method getZbyte(): java.lang.Byte
|
||||
public final static @org.jetbrains.annotations.Nullable method getZchar(): java.lang.Character
|
||||
public final static @org.jetbrains.annotations.Nullable method getZdouble(): java.lang.Double
|
||||
public final static @org.jetbrains.annotations.Nullable method getZfloat(): java.lang.Float
|
||||
public final static @org.jetbrains.annotations.Nullable method getZint(): java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.Nullable method getZlong(): java.lang.Long
|
||||
public final static @org.jetbrains.annotations.Nullable method getZshort(): java.lang.Short
|
||||
}
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
public final class a/BoxKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class a/X {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
final class kotlin/jvm/SomeClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public class pack/SomeClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Foo/PackageQualifiedMethodKt {
|
||||
public final static method bar(): int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class PrivateTopLevelPropAndVarInInnerKt {
|
||||
private static field x: java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method f(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user