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:
Yan Zhulanow
2016-11-03 01:21:23 +03:00
committed by Yan Zhulanow
parent 8bdb54929b
commit 328286ab14
2287 changed files with 51250 additions and 2 deletions
@@ -0,0 +1,4 @@
public final class CastsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.Object
}
@@ -0,0 +1,4 @@
public final class CheckcastAndInstanceOfKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: java.lang.Object, p1: java.lang.Object, @org.jetbrains.annotations.NotNull p2: kotlin.jvm.functions.Function1): java.lang.Object
}
@@ -0,0 +1,3 @@
public final class FoldKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class FoldRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class Kt5493Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class Kt5588Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class Kt5844Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test1(): void
public final static method test2(): void
}
@@ -0,0 +1,6 @@
public final class Kt6047Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method checkByte10(p0: byte): void
public final static method checkDouble1(p0: double): void
public final static method checkLongAB5E(p0: long): void
}
@@ -0,0 +1,3 @@
public final class Kt6842Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class NullCheckKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Object, @org.jetbrains.annotations.NotNull p2: kotlin.jvm.functions.Function1): java.lang.Object
}
@@ -0,0 +1,3 @@
public final class ProgressionsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,14 @@
public final class A {
private final field x: int
private final @org.jetbrains.annotations.Nullable field y: A
public method <init>(p0: int, @org.jetbrains.annotations.Nullable p1: A): void
public final method getX(): int
public final @org.jetbrains.annotations.Nullable method getY(): A
}
public final class SafeCallWithElvisKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(@org.jetbrains.annotations.Nullable p0: A): int
public final static method checkLeftAssoc(@org.jetbrains.annotations.Nullable p0: A): int
}
@@ -0,0 +1,4 @@
public final class SimpleKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.Object
}
@@ -0,0 +1,3 @@
public final class SimpleUninitializedMergeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,15 @@
public final class A {
private @org.jetbrains.annotations.Nullable field x: java.lang.Integer
public method <init>(): void
public method <init>(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
public synthetic method <init>(p0: java.lang.Integer, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
public final @org.jetbrains.annotations.Nullable method getX(): java.lang.Integer
public final method setX(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
}
public final class UnsafeRemovingKt {
public final static @org.jetbrains.annotations.Nullable method acceptingBoxed(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): java.lang.Integer
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method returningBoxed(): java.lang.Integer
}
@@ -0,0 +1,4 @@
public final class VariablesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.Object
}