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,14 @@
public final class FinallyAndFinallyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test1(): MyString
}
public final class MyString {
private @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public final @org.jetbrains.annotations.NotNull method plus(@org.jetbrains.annotations.NotNull p0: java.lang.String): MyString
public final method setS(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class Kt3549Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test2(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class Kt3706Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method f(): int
}
@@ -0,0 +1,6 @@
public final class Kt3867Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method fail(): int
public final static @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test2(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class Kt3874Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test2(): java.lang.String
}
@@ -0,0 +1,14 @@
public final class Kt3894Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test1(): MyString
}
public final class MyString {
private @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public final @org.jetbrains.annotations.NotNull method plus(@org.jetbrains.annotations.NotNull p0: java.lang.String): MyString
public final method setS(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class Kt4134Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method io(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.Object
}
@@ -0,0 +1,16 @@
public final class LoopAndFinallyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test1(): MyString
public final static @org.jetbrains.annotations.NotNull method test2(): MyString
public final static @org.jetbrains.annotations.NotNull method test3(): MyString
}
public final class MyString {
private @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public final @org.jetbrains.annotations.NotNull method plus(@org.jetbrains.annotations.NotNull p0: java.lang.String): MyString
public final method setS(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
}
@@ -0,0 +1,9 @@
public final class NotChainCatchKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method runtimeEx(): void
public final static @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test1WithFinally(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test2(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test2WithFinally(): java.lang.String
public final static method unsupportedEx(): void
}
@@ -0,0 +1,7 @@
public final class TryFinallyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method runtimeEx(): void
public final static @org.jetbrains.annotations.NotNull method test1WithFinally(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test2WithFinally(): java.lang.String
public final static method unsupportedEx(): void
}
@@ -0,0 +1,14 @@
public final class MyString {
private @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public final @org.jetbrains.annotations.NotNull method plus(@org.jetbrains.annotations.NotNull p0: java.lang.String): MyString
public final method setS(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
}
public final class TryLoopTryKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test1(): MyString
}