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 interface A {
public abstract @org.jetbrains.annotations.NotNull method foo(): java.util.Collection
}
public abstract class B {
public method <init>(): void
public @org.jetbrains.annotations.NotNull method foo(): java.util.Collection
}
public final class CovariantOverrideKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,35 @@
public interface A {
inner class A/DefaultImpls
public abstract method test1(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
public abstract @org.jetbrains.annotations.NotNull method test2(p0: java.lang.Object): A
}
public final class A/DefaultImpls {
inner class A/DefaultImpls
public static method test1(p0: A, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
public static @org.jetbrains.annotations.NotNull method test2(p0: A, p1: java.lang.Object): A
}
public final class B {
private final field value: java.lang.Object
public method <init>(p0: java.lang.Object): void
public final method getValue(): java.lang.Object
}
public final class KKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class X {
private final field p1: java.lang.Object
private final @org.jetbrains.annotations.NotNull field p2: B
public method <init>(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: B): void
public final method getP1(): java.lang.Object
public final @org.jetbrains.annotations.NotNull method getP2(): B
public method test1(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
public @org.jetbrains.annotations.NotNull method test2(p0: java.lang.Object): A
}
@@ -0,0 +1,20 @@
public final class FunctionLiteralGenericSignatureKt {
private final static @org.jetbrains.annotations.NotNull field extensionFun: kotlin.jvm.functions.Function1
private final static @org.jetbrains.annotations.NotNull field extensionWithArgFun: kotlin.jvm.functions.Function2
private final static @org.jetbrains.annotations.NotNull field funWithIn: kotlin.jvm.functions.Function1
private final static @org.jetbrains.annotations.NotNull field intFun: kotlin.jvm.functions.Function0
private final static @org.jetbrains.annotations.NotNull field listFun: kotlin.jvm.functions.Function1
private final static @org.jetbrains.annotations.NotNull field mutableListFun: kotlin.jvm.functions.Function1
private final static @org.jetbrains.annotations.NotNull field stringParamFun: kotlin.jvm.functions.Function1
private final static @org.jetbrains.annotations.NotNull field unitFun: kotlin.jvm.functions.Function0
public final static method assertGenericSuper(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.Nullable p1: java.lang.Object): void
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getExtensionFun(): kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method getExtensionWithArgFun(): kotlin.jvm.functions.Function2
public final static @org.jetbrains.annotations.NotNull method getFunWithIn(): kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method getIntFun(): kotlin.jvm.functions.Function0
public final static @org.jetbrains.annotations.NotNull method getListFun(): kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method getMutableListFun(): kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method getStringParamFun(): kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method getUnitFun(): kotlin.jvm.functions.Function0
}
@@ -0,0 +1,43 @@
public final class GenericBackingFieldSignatureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class TParam {
public method <init>(): void
}
public final class Test {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.Nullable field classField1: Z
private final @org.jetbrains.annotations.Nullable field classField2: Z
private final @org.jetbrains.annotations.Nullable field classField3: Zout
private final @org.jetbrains.annotations.Nullable field classField4: Zin
private final field constructorProperty: java.lang.Object
private final @org.jetbrains.annotations.Nullable field delegateLazy$delegate: kotlin.Lazy
private final @org.jetbrains.annotations.Nullable field delegateNotNull$delegate: kotlin.properties.ReadWriteProperty
public method <init>(p0: java.lang.Object): void
public final @org.jetbrains.annotations.Nullable method getClassField1(): Z
public final @org.jetbrains.annotations.Nullable method getClassField2(): Z
public final @org.jetbrains.annotations.Nullable method getClassField3(): Zout
public final @org.jetbrains.annotations.Nullable method getClassField4(): Zin
public final method getConstructorProperty(): java.lang.Object
public final @org.jetbrains.annotations.Nullable method getDelegateLazy(): Z
public final @org.jetbrains.annotations.Nullable method getDelegateNotNull(): Z
}
public final class Z {
public method <init>(): void
}
public final class Zin {
public method <init>(): void
}
public final class Zout {
public method <init>(): void
}
@@ -0,0 +1,47 @@
public final class GenericMethodSignatureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: java.lang.Class, p1: int, @org.jetbrains.annotations.NotNull p2: java.lang.Class, @org.jetbrains.annotations.NotNull p3: java.lang.String, @org.jetbrains.annotations.NotNull p4: java.lang.String): java.lang.String
}
public final class Params {
private final @org.jetbrains.annotations.NotNull field expecedParamType: java.lang.String
private final @org.jetbrains.annotations.NotNull field expectedReturnType: java.lang.String
private final field methodIndex: int
private final @org.jetbrains.annotations.NotNull field paramClass: java.lang.Class
public method <init>(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.Class, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getExpecedParamType(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getExpectedReturnType(): java.lang.String
public final method getMethodIndex(): int
public final @org.jetbrains.annotations.NotNull method getParamClass(): java.lang.Class
}
public final class TParam {
public method <init>(): void
}
public final class Test {
public method <init>(): void
public final @org.jetbrains.annotations.Nullable method test1(p0: java.lang.Object): java.lang.Object
public final @org.jetbrains.annotations.Nullable method test2(@org.jetbrains.annotations.NotNull p0: Z): Z
public final @org.jetbrains.annotations.Nullable method test3(@org.jetbrains.annotations.NotNull p0: Z): Z
public final @org.jetbrains.annotations.Nullable method test4(p0: java.lang.Object): Zout
public final @org.jetbrains.annotations.Nullable method test5(p0: java.lang.Object): Zin
}
public final class Z {
public method <init>(): void
}
public final class Zin {
public method <init>(): void
}
public final class Zout {
public method <init>(): void
}
@@ -0,0 +1,22 @@
public interface A {
inner class A/DefaultImpls
public abstract @org.jetbrains.annotations.Nullable method getZ(p0: java.lang.Object): java.lang.Object
public abstract method p(p0: java.lang.Object): java.lang.Object
}
public final class A/DefaultImpls {
inner class A/DefaultImpls
public static @org.jetbrains.annotations.Nullable method getZ(p0: A, p1: java.lang.Object): java.lang.Object
public static method p(p0: A, p1: java.lang.Object): java.lang.Object
}
public final class B {
public method <init>(): void
}
public final class Kt11121Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,38 @@
public final class test/ErrorsJvmClass {
public final static field Companion: test.ErrorsJvmClass.Companion
public final static @kotlin.jvm.JvmField @org.jetbrains.annotations.NotNull field param: test.G
inner class test/ErrorsJvmClass/Companion
public method <init>(): void
}
public final static class test/ErrorsJvmClass/Companion {
inner class test/ErrorsJvmClass/Companion
private method <init>(): void
}
public interface test/ErrorsJvmTrait {
public final static field Companion: test.ErrorsJvmTrait.Companion
inner class test/ErrorsJvmTrait/Companion
}
public final static class test/ErrorsJvmTrait/Companion {
private final static @org.jetbrains.annotations.NotNull field param: test.G
inner class test/ErrorsJvmTrait/Companion
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getParam(): test.G
}
public final class test/G {
private final field s: java.lang.Object
public method <init>(p0: java.lang.Object): void
public final method getS(): java.lang.Object
}
public final class test/Kt5112Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,23 @@
public final class test/A {
public final static field Companion: test.A.Companion
inner class test/A/Companion
public method <init>(): void
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method a(@org.jetbrains.annotations.NotNull p0: test.B): test.B
}
public final static class test/A/Companion {
inner class test/A/Companion
private method <init>(): void
public final @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method a(@org.jetbrains.annotations.NotNull p0: test.B): test.B
}
public class test/B {
public method <init>(): void
}
public final class test/Kt6106Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}