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,11 @@
public final class A {
private @org.jetbrains.annotations.NotNull field a: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getA(): java.lang.String
public final method setA(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class AnonymousObjectInInitializerKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,12 @@
public final class A {
private final @org.jetbrains.annotations.NotNull field a: java.lang.String
public method <init>(): void
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public synthetic method <init>(p0: java.lang.String, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
public final @org.jetbrains.annotations.NotNull method getA(): java.lang.String
}
public final class AnonymousObjectInParameterInitializerKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ClosureOfLambdaInLocalClassKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,11 @@
public final class test/A {
private final @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 class test/InExtensionFunctionKt {
public final static @org.jetbrains.annotations.NotNull method a(@org.jetbrains.annotations.NotNull p0: test.A): java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,11 @@
public final class test/A {
private final @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 class test/InExtensionPropertyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getA(@org.jetbrains.annotations.NotNull p0: test.A): java.lang.String
}
@@ -0,0 +1,19 @@
public final class test/A {
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
}
public final class test/C {
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method a(@org.jetbrains.annotations.NotNull p0: test.A): java.lang.String
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public final @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: test.A): java.lang.String
}
public final class test/InLocalExtensionFunctionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,19 @@
public final class test/A {
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
}
public final class test/C {
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getA(@org.jetbrains.annotations.NotNull p0: test.A): java.lang.String
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public final @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: test.A): java.lang.String
}
public final class test/InLocalExtensionPropertyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,11 @@
public final class A {
private final field a: int
public method <init>(): void
public final method calc(): int
public final method getA(): int
}
public final class InnerClassInLocalClassKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class InnerOfLocalCaptureExtensionReceiverKt {
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
}
@@ -0,0 +1,16 @@
public final class a/b/Kt2700Kt {
private final static field a: a.b.Test
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public interface a/b/Test {
inner class a/b/Test/DefaultImpls
public abstract @org.jetbrains.annotations.NotNull method invoke(): java.lang.String
}
public final class a/b/Test/DefaultImpls {
inner class a/b/Test/DefaultImpls
public static @org.jetbrains.annotations.NotNull method invoke(p0: a.b.Test): java.lang.String
}
@@ -0,0 +1,5 @@
public final class Kt2873Kt {
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 method main(@org.jetbrains.annotations.NotNull p0: java.lang.String[]): void
}
@@ -0,0 +1,22 @@
public interface org/example/KotlinCallback {
public abstract method on(p0: java.lang.Object): void
}
public interface org/example/KotlinProcessor {
public abstract method execute(@org.jetbrains.annotations.Nullable p0: org.example.KotlinCallback): void
}
public final class org/example/Kt3210Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public interface org/example/SomeTrait
public final class org/example/Test {
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public method execute(@org.jetbrains.annotations.Nullable p0: org.example.KotlinCallback): void
}
@@ -0,0 +1,9 @@
public final class t/Kt3389Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class t/Reproduce {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class Kt3584Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,21 @@
public final class B {
private @org.jetbrains.annotations.NotNull field x: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final @org.jetbrains.annotations.NotNull method foo2(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
public final method setX(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public class C {
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
}
public final class Kt4174Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,9 @@
public final class A {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method a(): java.lang.String
}
public final class LocalClassKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,10 @@
public final class LocalClassCaptureExtensionReceiverKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Outer {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method id(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
public final @org.jetbrains.annotations.NotNull method result(): java.lang.String
}
@@ -0,0 +1,11 @@
public final class A {
private @org.jetbrains.annotations.NotNull field a: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getA(): java.lang.String
public final method setA(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class LocalClassInInitializerKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,12 @@
public final class A {
private final @org.jetbrains.annotations.NotNull field a: java.lang.String
public method <init>(): void
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public synthetic method <init>(p0: java.lang.String, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
public final @org.jetbrains.annotations.NotNull method getA(): java.lang.String
}
public final class LocalClassInParameterInitializerKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class LocalDataClassKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,18 @@
public final class A {
inner class A/Inner
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final method foo(): int
}
public class A/Inner {
synthetic final field this$0: A
inner class A/Inner
public method <init>(p0: A): void
}
public final class LocalExtendsInnerAndReferencesOuterMemberKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class NoclosureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ObjectKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class OwnClosureOfInnerLocalClassKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class WithclosureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}