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
+16
@@ -0,0 +1,16 @@
|
||||
public final class A {
|
||||
private field x: int
|
||||
public method <init>(): void
|
||||
public final method getX(): int
|
||||
public final method setX(p0: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class AssignmentOperationsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method divAssign(@org.jetbrains.annotations.NotNull p0: A, p1: int): void
|
||||
public final static method minusAssign(@org.jetbrains.annotations.NotNull p0: A, p1: int): void
|
||||
public final static method modAssign(@org.jetbrains.annotations.NotNull p0: A, p1: int): void
|
||||
public final static method plusAssign(@org.jetbrains.annotations.NotNull p0: A, p1: int): void
|
||||
public final static method timesAssign(@org.jetbrains.annotations.NotNull p0: A, p1: int): void
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class BooleanKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(p0: boolean, p1: boolean): java.lang.String
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public interface A
|
||||
|
||||
|
||||
public final class B {
|
||||
private final field x: int
|
||||
public method <init>(p0: int): void
|
||||
public method compareTo(@org.jetbrains.annotations.NotNull p0: A): int
|
||||
public synthetic method compareTo(p0: java.lang.Object): int
|
||||
public final method getX(): int
|
||||
}
|
||||
|
||||
|
||||
public final class ComparableKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(@org.jetbrains.annotations.NotNull p0: A, @org.jetbrains.annotations.NotNull p1: A): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class DoubleIntKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(p0: double, p1: int): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class DoubleLongKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(p0: double, p1: long): java.lang.String
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class ExtensionArrayKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(@org.jetbrains.annotations.NotNull p0: java.lang.Integer[], @org.jetbrains.annotations.NotNull p1: java.lang.Integer[]): java.lang.String
|
||||
public final static method compareTo(@org.jetbrains.annotations.NotNull p0: java.lang.Integer[], @org.jetbrains.annotations.NotNull p1: java.lang.Integer[]): int
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final class A {
|
||||
private final field x: int
|
||||
public method <init>(p0: int): void
|
||||
public final method getX(): int
|
||||
}
|
||||
|
||||
|
||||
public final class ExtensionObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(@org.jetbrains.annotations.NotNull p0: A, @org.jetbrains.annotations.NotNull p1: A): java.lang.String
|
||||
public final static method compareTo(@org.jetbrains.annotations.NotNull p0: A, @org.jetbrains.annotations.NotNull p1: A): int
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class IntDoubleKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(p0: int, p1: double): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class IntLongKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(p0: int, p1: long): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class LongDoubleKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(p0: long, p1: double): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class LongIntKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method checkLess(p0: long, p1: int): java.lang.String
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
public final class IncDecOnObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method dec(@org.jetbrains.annotations.NotNull p0: X): X
|
||||
public final static @org.jetbrains.annotations.NotNull method inc(@org.jetbrains.annotations.NotNull p0: X): X
|
||||
}
|
||||
|
||||
|
||||
public final class X {
|
||||
private field value: long
|
||||
public method <init>(p0: long): void
|
||||
public final method getValue(): long
|
||||
public final method setValue(p0: long): void
|
||||
}
|
||||
|
||||
|
||||
public final class Z {
|
||||
private field counter: int
|
||||
private @org.jetbrains.annotations.NotNull field prop: X
|
||||
public method <init>(): void
|
||||
public final method getCounter(): int
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): X
|
||||
public final method setCounter(p0: int): void
|
||||
public final method setProp(@org.jetbrains.annotations.NotNull p0: X): void
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
public final class ClassB {
|
||||
private final @org.jetbrains.annotations.NotNull field value: Intf
|
||||
private final @org.jetbrains.annotations.NotNull field x: kotlin.jvm.functions.Function0
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): Intf
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): kotlin.jvm.functions.Function0
|
||||
}
|
||||
|
||||
|
||||
public interface Intf {
|
||||
public abstract @org.jetbrains.annotations.NotNull method getAValue(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Kt14201Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: A): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ClassB {
|
||||
private final @org.jetbrains.annotations.NotNull field x: A
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method call(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): A
|
||||
public final @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: B): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Kt14201_2Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
public final class Kt4152Kt {
|
||||
private static field dec: int
|
||||
private static field inc: int
|
||||
private static field propDec: int
|
||||
private static field propInc: int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getDec(): int
|
||||
public final static method getInc(): int
|
||||
public final static method getPropDec(): int
|
||||
public final static method getPropInc(): int
|
||||
public final static method setDec(p0: int): void
|
||||
public final static method setInc(p0: int): void
|
||||
public final static method setPropDec(p0: int): void
|
||||
public final static method setPropInc(p0: int): void
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class Kt4987Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
public final class Map1 {
|
||||
public final static field INSTANCE: Map1
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method get(p0: int, p1: int): Map2
|
||||
}
|
||||
|
||||
|
||||
public final class Map2 {
|
||||
public final static field INSTANCE: Map2
|
||||
private method <init>(): void
|
||||
public final method get(p0: int, p1: int): int
|
||||
public final method set(p0: int, p1: int, p2: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class NestedMapsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final class A {
|
||||
public final static field INSTANCE: A
|
||||
private method <init>(): void
|
||||
public final method get(p0: int): int
|
||||
public final method set(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.Object): void
|
||||
public final method set(p0: int, p1: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class OverloadedSetKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user