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
+21
@@ -0,0 +1,21 @@
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field p: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field prop: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
private final @org.jetbrains.annotations.NotNull field p: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field prop: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ExceptionInFieldInitializerKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
public final class A {
|
||||
private @org.jetbrains.annotations.NotNull field cond1: java.lang.String
|
||||
private @org.jetbrains.annotations.NotNull field cond2: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field p: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field prop1: java.lang.Object
|
||||
private final field prop2: boolean
|
||||
private final @org.jetbrains.annotations.NotNull field prop: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
|
||||
public final method cond1(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
|
||||
public final method cond2(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
|
||||
public final @org.jetbrains.annotations.NotNull method getCond1(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getCond2(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getProp1(): java.lang.Object
|
||||
public final method getProp2(): boolean
|
||||
public final method setCond1(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final method setCond2(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class IfElseKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
public final class A {
|
||||
private final field p: int
|
||||
private @org.jetbrains.annotations.NotNull field prop: A
|
||||
public method <init>(p0: int): void
|
||||
public final method getP(): int
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): A
|
||||
public final @org.jetbrains.annotations.NotNull method inc(): A
|
||||
public final method setProp(@org.jetbrains.annotations.NotNull p0: A): void
|
||||
}
|
||||
|
||||
|
||||
public final class IncrementKt {
|
||||
private static @org.jetbrains.annotations.NotNull field globalA: A
|
||||
private static @org.jetbrains.annotations.NotNull field holder: java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getGlobalA(): A
|
||||
public final static @org.jetbrains.annotations.NotNull method getHolder(): java.lang.String
|
||||
public final static method setGlobalA(@org.jetbrains.annotations.NotNull p0: A): void
|
||||
public final static method setHolder(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateConstantCompareKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateFalseKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateFalseVarKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateFalseVarChainKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class NegateObjectCompKt {
|
||||
private final static @org.jetbrains.annotations.Nullable field p: java.lang.Integer
|
||||
private final static @org.jetbrains.annotations.Nullable field z: java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method getP(): java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.Nullable method getZ(): java.lang.Integer
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class NegateObjectComp2Kt {
|
||||
private final static @org.jetbrains.annotations.Nullable field p: java.lang.Integer
|
||||
private final static @org.jetbrains.annotations.Nullable field z: java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method getP(): java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.Nullable method getZ(): java.lang.Integer
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateTrueKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class NegateTrueVarKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class NoOptimizationKt {
|
||||
private static field holder: int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getHolder(): int
|
||||
public final static @org.jetbrains.annotations.NotNull method not(@org.jetbrains.annotations.NotNull p0: A): A
|
||||
public final static method not(@org.jetbrains.annotations.NotNull p0: B): boolean
|
||||
public final static method setHolder(p0: int): void
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public final class SafeAssignKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Shape {
|
||||
private @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
public final method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
public final class SafeAssignComplexKt {
|
||||
private static @org.jetbrains.annotations.NotNull field holder: java.lang.String
|
||||
private static @org.jetbrains.annotations.Nullable field mainShape: Shape
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getHolder(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method getMainShape(): Shape
|
||||
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method getShape(): Shape
|
||||
public final static method setHolder(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final static method setMainShape(@org.jetbrains.annotations.Nullable p0: Shape): void
|
||||
}
|
||||
|
||||
|
||||
public final class Shape {
|
||||
private @org.jetbrains.annotations.Nullable field innerShape: Shape
|
||||
private @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.Nullable method getInnerShape(): Shape
|
||||
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
public final @org.jetbrains.annotations.Nullable method getShape2(): Shape
|
||||
public final method setInnerShape(@org.jetbrains.annotations.Nullable p0: Shape): void
|
||||
public final method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method calc(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class SafeCallAndArrayKt {
|
||||
public final static @org.jetbrains.annotations.Nullable method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field _kind: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field p: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method get_kind(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ToStringKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public final class A {
|
||||
private final field p: int
|
||||
public method <init>(): void
|
||||
public final method getP(): int
|
||||
}
|
||||
|
||||
|
||||
public final class TryCatchExpressionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field _kind: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field p: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method get_kind(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class WhenKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user