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,3 @@
public final class CatchKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,7 @@
public final class ComplexChainKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method cleanup(): void
public final static @org.jetbrains.annotations.NotNull method concat(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
public final static @org.jetbrains.annotations.NotNull method first(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
public final static method throws(): void
}
@@ -0,0 +1,5 @@
public final class DeadTryCatchKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method catchAll(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0): java.lang.String
public final static method tryTwice(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
}
@@ -0,0 +1,4 @@
public final class DifferentTypesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(p0: byte, @org.jetbrains.annotations.NotNull p1: java.lang.String, p2: int, p3: double, p4: long): java.lang.String
}
@@ -0,0 +1,5 @@
public final class ExpectExceptionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method fails(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.Throwable
public final static method throwIt(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,3 @@
public final class FinallyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class InlineTryCatchKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method testIt(): java.lang.String
public final static method tryOrElse(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0): java.lang.Object
}
@@ -0,0 +1,5 @@
public final class InlineTryExprKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method testIt(): java.lang.String
public final static method tryOrElse(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0): java.lang.Object
}
@@ -0,0 +1,5 @@
public final class InlineTryFinallyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method testIt(): java.lang.String
public final static method tryAndThen(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0, @org.jetbrains.annotations.NotNull p2: kotlin.jvm.functions.Function0): java.lang.Object
}
@@ -0,0 +1,16 @@
public final class A {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
private final method x(): void
}
public interface Callable {
public abstract method call(p0: boolean): void
}
public final class Kt8608Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method run(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
}
@@ -0,0 +1,6 @@
public final class Kt9644tryKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method doCall(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.Object
public final static method test1(): void
public final static @org.jetbrains.annotations.NotNull method test2(): java.lang.String
}
@@ -0,0 +1,18 @@
public final class Exception1 {
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class Exception2 {
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class Exception3 {
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class MultipleCatchBlocksKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class SplitTryKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): int
}
@@ -0,0 +1,4 @@
public final class SplitTryCorner1Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method shouldReturnFalse(): boolean
}
@@ -0,0 +1,4 @@
public final class SplitTryCorner2Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method shouldReturn11(): int
}
@@ -0,0 +1,3 @@
public final class TryKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class TryAfterTryKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class TryAndBreakKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): int
public final static method idiv(p0: int, p1: int): int
}
@@ -0,0 +1,5 @@
public final class TryAndContinueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): int
public final static method idiv(p0: int, p1: int): int
}
@@ -0,0 +1,3 @@
public final class TryInsideCatchKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,8 @@
public final class MyException {
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class TryInsideTryKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,6 @@
public final class UnmatchedInlineMarkersKt {
public final static @org.jetbrains.annotations.NotNull method bar(@org.jetbrains.annotations.NotNull p0: 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 catchAll(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0): java.lang.String
public final static method throwIt(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}