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,18 @@
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
synthetic final class a/MultifileClass__MultifileClassKt {
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
public final class b/CallerKt {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
}
public final class test/BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,22 @@
public final class _1Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull field constOK: java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getValOK(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getVarOK(): java.lang.String
public final static method setVarOK(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
synthetic final class a/MultifileClass___2Kt {
private final static @org.jetbrains.annotations.NotNull field valOK: java.lang.String
private static @org.jetbrains.annotations.NotNull field varOK: java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getValOK(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getVarOK(): java.lang.String
public final static method setVarOK(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,15 @@
public final class _1Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@java.lang.annotation.Retention
public annotation class a/A
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull field OK: java.lang.String
private synthetic deprecated final static @a.A method OK$annotations(): void
}
synthetic final class a/MultifileClass___2Kt
@@ -0,0 +1,19 @@
public final class a/A {
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
public final static @org.jetbrains.annotations.NotNull method zee(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
synthetic final class a/A__FooKt {
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
}
synthetic final class a/A__ZeeKt {
public final static @org.jetbrains.annotations.NotNull method zee(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class test/BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,35 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method getK(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getO(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getX(): java.lang.Void
}
synthetic final class a/MultifileClass__IrrelevantKt {
private final static @org.jetbrains.annotations.NotNull field X: java.lang.Void
public final static @org.jetbrains.annotations.NotNull method getX(): java.lang.Void
}
synthetic final class a/MultifileClass__Part1Kt {
private final static @org.jetbrains.annotations.NotNull field O: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getO(): java.lang.String
}
synthetic final class a/MultifileClass__Part2Kt {
private final static @org.jetbrains.annotations.NotNull field K: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getK(): java.lang.String
}
synthetic final class a/MultifileClass__Part3Kt {
private final static @org.jetbrains.annotations.NotNull field OK: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
}
@@ -0,0 +1,19 @@
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Util {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
synthetic final class Util__BarKt {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
}
synthetic final class Util__FooKt {
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
@@ -0,0 +1,23 @@
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Util {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method barx(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foox(): java.lang.String
}
synthetic final class Util__BarKt {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foox(): java.lang.String
}
synthetic final class Util__FooKt {
public final static @org.jetbrains.annotations.NotNull method barx(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
@@ -0,0 +1,21 @@
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Util {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
synthetic final class Util__BarKt {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
private final static method barx$Util__BarKt(): java.lang.String
}
synthetic final class Util__FooKt {
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
private final static method foox$Util__FooKt(): java.lang.String
}
@@ -0,0 +1,13 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method ok(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
public final static @org.jetbrains.annotations.NotNull method ok(): java.lang.String
}
@@ -0,0 +1,16 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method getOk(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method okInline(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static @org.jetbrains.annotations.NotNull field ok: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getOk(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method okInline(): java.lang.String
}
@@ -0,0 +1,17 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static field ok: java.lang.String
private final static method getOk$MultifileClass__Part1Kt(): java.lang.String
}
public final class a/OK {
public final static field INSTANCE: a.OK
private final static @org.jetbrains.annotations.NotNull field okRef: kotlin.reflect.KProperty0
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getOkRef(): kotlin.reflect.KProperty0
}
@@ -0,0 +1,14 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static @org.jetbrains.annotations.NotNull field OK: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
}
@@ -0,0 +1,23 @@
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Util {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method barx(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foox(): java.lang.String
}
synthetic final class Util__BarKt {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foox(): java.lang.String
}
synthetic final class Util__FooKt {
public final static @org.jetbrains.annotations.NotNull method barx(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
@@ -0,0 +1,39 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull field K: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getO(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getX1(): java.lang.Void
public final static @org.jetbrains.annotations.NotNull method getX2(): java.lang.Void
}
synthetic final class a/MultifileClass__IrrelevantPartKt {
private final static @org.jetbrains.annotations.NotNull field X1: java.lang.Void
public final static @org.jetbrains.annotations.NotNull method getX1(): java.lang.Void
}
synthetic final class a/MultifileClass__Part1Kt {
private final static @org.jetbrains.annotations.NotNull field O: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getO(): java.lang.String
}
synthetic final class a/MultifileClass__Part2Kt
synthetic final class a/MultifileClass__Part3Kt {
private final static @org.jetbrains.annotations.NotNull field OK: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
}
synthetic final class a/MultifileClass__ReallyIrrelevantPartKt {
private final static @org.jetbrains.annotations.NotNull field X2: java.lang.Void
public final static @org.jetbrains.annotations.NotNull method getX2(): java.lang.Void
}
@@ -0,0 +1,15 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field OK$delegate: kotlin.Lazy
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
}
@@ -0,0 +1,15 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method ok(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static field OK: java.lang.String
private final static method getOK$MultifileClass__Part1Kt(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method ok(): java.lang.String
}
@@ -0,0 +1,14 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static @org.jetbrains.annotations.NotNull field OK: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getOK(): java.lang.String
}
@@ -0,0 +1,25 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method ok(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method overlapping(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static method overlapping$MultifileClass__Part1Kt(): java.lang.String
}
synthetic final class a/MultifileClass__Part2Kt {
public final static @org.jetbrains.annotations.NotNull method ok(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method overlapping(): java.lang.String
}
synthetic final class a/MultifileClass__Part3Kt {
private final static method overlapping$MultifileClass__Part3Kt(): java.lang.String
}
@@ -0,0 +1,26 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull method getOverlapping(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static field overlapping: java.lang.String
private final static method getOverlapping$MultifileClass__Part1Kt(): java.lang.String
}
synthetic final class a/MultifileClass__Part2Kt {
private final static @org.jetbrains.annotations.NotNull field overlapping: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getOverlapping(): java.lang.String
}
synthetic final class a/MultifileClass__Part3Kt {
private final static field overlapping: java.lang.String
private final static method getOverlapping$MultifileClass__Part3Kt(): java.lang.String
}
@@ -0,0 +1,17 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MC {
public final static @org.jetbrains.annotations.NotNull field K: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getO(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method ok(): java.lang.String
}
synthetic final class a/MC__Part1Kt {
private final static @org.jetbrains.annotations.NotNull field O: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getO(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method ok(): java.lang.String
}
@@ -0,0 +1,17 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class a/MultifileClass {
public final static @org.jetbrains.annotations.NotNull field K: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getO(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method ok(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static @org.jetbrains.annotations.NotNull field O: java.lang.String
public final static @org.jetbrains.annotations.NotNull method getO(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method ok(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
}
@@ -0,0 +1,16 @@
public final class BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
synthetic final class a/MultifileClass__Part1Kt {
private final static field reallyOk: java.lang.String
private final static method getReallyOk$MultifileClass__Part1Kt(): java.lang.String
}
public final class a/OK {
private final @org.jetbrains.annotations.NotNull field ok: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getOk(): java.lang.String
}
@@ -0,0 +1,21 @@
public final class test/TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class test/Util {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
synthetic final class test/Util__BarKt {
private final static field x: java.lang.String
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
}
synthetic final class test/Util__FooKt {
private final static field x: java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
@@ -0,0 +1,23 @@
public final class test/Bar {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
}
synthetic final class test/Bar__PartKt {
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
}
public final class test/BoxKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class test/Foo {
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
synthetic final class test/Foo__PartKt {
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}