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,9 @@
public interface A {
public abstract @org.jetbrains.annotations.NotNull method f(): java.lang.String
}
public final class AnonymousObjectInInlinedLambdaKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): A
}
@@ -0,0 +1,3 @@
public final class ClassInLambdaKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class FunctionExpressionInPropertyKt {
private final static @org.jetbrains.annotations.NotNull field property: kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getProperty(): kotlin.jvm.functions.Function0
}
@@ -0,0 +1,11 @@
public final class Kt6368Kt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field a$delegate: kotlin.Lazy
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getA(): java.util.HashMap
}
public interface R {
public abstract @org.jetbrains.annotations.NotNull method result(): java.lang.String
}
@@ -0,0 +1,13 @@
public final class A {
private final @org.jetbrains.annotations.NotNull field prop: java.lang.Runnable
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getProp(): java.lang.Runnable
}
public final class Kt6691_lambdaInSamConstructorKt {
private static @org.jetbrains.annotations.NotNull field lambda: kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getLambda(): kotlin.jvm.functions.Function0
public final static method setLambda(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
}
@@ -0,0 +1,18 @@
public final class LambdaInClassObjectKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class O {
public final static field Companion: O.Companion
private final static @org.jetbrains.annotations.NotNull field f: kotlin.jvm.functions.Function0
inner class O/Companion
public method <init>(): void
}
public final static class O/Companion {
inner class O/Companion
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getF(): kotlin.jvm.functions.Function0
}
@@ -0,0 +1,10 @@
public final class C {
private final @org.jetbrains.annotations.NotNull field l: java.lang.Object
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getL(): java.lang.Object
}
public final class LambdaInConstructorKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class LambdaInFunctionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class LambdaInLambdaKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,8 @@
public class C {
public method <init>(): void
}
public final class LambdaInLocalClassConstructorKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,10 @@
public class C {
private final @org.jetbrains.annotations.NotNull field a: java.lang.Object
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
public final @org.jetbrains.annotations.NotNull method getA(): java.lang.Object
}
public final class LambdaInLocalClassSuperCallKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class LambdaInLocalFunctionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,9 @@
public final class C {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.Object
}
public final class LambdaInMemberFunctionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class LambdaInMemberFunctionInLocalClassKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,16 @@
public final class C {
inner class C/D
public method <init>(): void
}
public final static class C/D {
inner class C/D
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.Object
}
public final class LambdaInMemberFunctionInNestedClassKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,11 @@
public final class LambdaInObjectDeclarationKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class O {
public final static field INSTANCE: O
private final static @org.jetbrains.annotations.NotNull field f: kotlin.jvm.functions.Function0
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getF(): kotlin.jvm.functions.Function0
}
@@ -0,0 +1,8 @@
public interface C {
public abstract @org.jetbrains.annotations.NotNull method getA(): java.lang.Object
}
public final class LambdaInObjectExpressionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,10 @@
public class C {
private final @org.jetbrains.annotations.NotNull field a: java.lang.Object
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
public final @org.jetbrains.annotations.NotNull method getA(): java.lang.Object
}
public final class LambdaInObjectLiteralSuperCallKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class LambdaInPackageKt {
private final static @org.jetbrains.annotations.NotNull field l: java.lang.Object
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getL(): java.lang.Object
}
@@ -0,0 +1,4 @@
public final class LambdaInPropertyGetterKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getL(): java.lang.Object
}
@@ -0,0 +1,8 @@
public final class LambdaInPropertySetterKt {
private static @org.jetbrains.annotations.NotNull field _l: java.lang.Object
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getL(): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method get_l(): java.lang.Object
public final static method setL(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
public final static method set_l(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
}
@@ -0,0 +1,3 @@
public final class LocalClassInTopLevelFunctionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ObjectInLambdaKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}