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,6 @@
public final class DifferentTypesKt {
public final static @org.jetbrains.annotations.NotNull method bar(p0: int, p1: long, p2: byte, @org.jetbrains.annotations.NotNull p3: java.lang.String): java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foobar(p0: int, p1: long, @org.jetbrains.annotations.NotNull p2: java.lang.String, p3: byte): java.lang.String
}
@@ -0,0 +1,7 @@
public final class PrimitiveMergeKt {
public final static method bar(): boolean
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foobar1(p0: boolean, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: java.lang.String): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foobar2(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: java.lang.String): java.lang.String
}
@@ -0,0 +1,6 @@
public final class SimpleKt {
public final static method bar(p0: int): int
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): int
public final static method foobar(p0: int, p1: int, p2: int): int
}
@@ -0,0 +1,7 @@
public final class UnreachableMarkerKt {
public final static @org.jetbrains.annotations.NotNull method bar(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
public final static @org.jetbrains.annotations.NotNull method bar2(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foobar(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: java.lang.String): java.lang.String
}
@@ -0,0 +1,6 @@
public final class WithLambdaKt {
public final static @org.jetbrains.annotations.NotNull method bar(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foobar(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: java.lang.String): java.lang.String
}