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 Kt1978Kt {
public final static @org.jetbrains.annotations.NotNull method aa(@org.jetbrains.annotations.NotNull p0: java.lang.String[]): java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,6 @@
public final class whats/the/difference/Kt581Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getIndices(@org.jetbrains.annotations.NotNull p0: int[]): kotlin.ranges.IntRange
public final static @org.jetbrains.annotations.NotNull method iarray(@org.jetbrains.annotations.NotNull p0: int[]): int[]
public final static method lastIndex(@org.jetbrains.annotations.NotNull p0: int[]): int
}
@@ -0,0 +1,14 @@
public final class Kt6192Kt {
public final static @org.jetbrains.annotations.NotNull method barB(@org.jetbrains.annotations.NotNull p0: byte[]): byte[]
public final static @org.jetbrains.annotations.NotNull method barC(@org.jetbrains.annotations.NotNull p0: char[]): char[]
public final static @org.jetbrains.annotations.NotNull method barD(@org.jetbrains.annotations.NotNull p0: double[]): double[]
public final static @org.jetbrains.annotations.NotNull method barF(@org.jetbrains.annotations.NotNull p0: float[]): float[]
public final static @org.jetbrains.annotations.NotNull method barI(@org.jetbrains.annotations.NotNull p0: int[]): int[]
public final static @org.jetbrains.annotations.NotNull method barJ(@org.jetbrains.annotations.NotNull p0: long[]): long[]
public final static @org.jetbrains.annotations.NotNull method barS(@org.jetbrains.annotations.NotNull p0: short[]): short[]
public final static @org.jetbrains.annotations.NotNull method barZ(@org.jetbrains.annotations.NotNull p0: boolean[]): boolean[]
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method concatParameters(@org.jetbrains.annotations.NotNull p0: int[]): java.lang.String
public final static method sumFunOnParameters(p0: int, @org.jetbrains.annotations.NotNull p1: int[], @org.jetbrains.annotations.NotNull p2: kotlin.jvm.functions.Function1): int
public final static method sumInt(p0: int, @org.jetbrains.annotations.NotNull p1: int[]): int
}
@@ -0,0 +1,5 @@
public final class Kt796_797Kt {
public final static @org.jetbrains.annotations.NotNull method array(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.lang.Object[]
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method get(@org.jetbrains.annotations.Nullable p0: java.lang.Object[], @org.jetbrains.annotations.Nullable p1: java.lang.Integer): java.lang.Object
}
@@ -0,0 +1,6 @@
public final class SpreadCopiesArrayKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method copyArray(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.lang.Object[]
public final static @org.jetbrains.annotations.NotNull method copyIntArray(@org.jetbrains.annotations.NotNull p0: int[]): int[]
private final static method reifiedCopyArray(p0: java.lang.Object[]): java.lang.Object[]
}
@@ -0,0 +1,6 @@
public final class VarargInFunParamKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test1(@org.jetbrains.annotations.NotNull p0: int[]): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test2(@org.jetbrains.annotations.NotNull p0: java.lang.String[]): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test3(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.lang.String
}
@@ -0,0 +1,4 @@
public final class TestKt {
public final static method bar(@org.jetbrains.annotations.Nullable p0: java.lang.String[]): int
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class VarargsAndFunctionLiteralsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(p0: int, @org.jetbrains.annotations.NotNull p1: int[], @org.jetbrains.annotations.NotNull p2: kotlin.jvm.functions.Function1): java.lang.String
}