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,32 @@
@kotlin.jvm.JvmSuppressWildcards
public interface A {
public abstract @org.jetbrains.annotations.NotNull method bar(): In
public abstract @org.jetbrains.annotations.NotNull method foo(): OutPair
}
public abstract class B {
public method <init>(): void
public @org.jetbrains.annotations.NotNull method bar(): In
public @org.jetbrains.annotations.NotNull method foo(): OutPair
}
public final class In {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method make(p0: java.lang.Object): java.lang.String
}
public final class MainKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class OutPair {
private final field x: java.lang.Object
private final field y: java.lang.Object
public method <init>(p0: java.lang.Object, p1: java.lang.Object): void
public final method getX(): java.lang.Object
public final method getY(): java.lang.Object
}
@@ -0,0 +1,31 @@
public interface A {
public abstract @org.jetbrains.annotations.NotNull method bar(): In
public abstract @org.jetbrains.annotations.NotNull method foo(): OutPair
}
public abstract class B {
public method <init>(): void
public @org.jetbrains.annotations.NotNull method bar(): In
public @org.jetbrains.annotations.NotNull method foo(): OutPair
}
public final class In {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method make(p0: java.lang.Object): java.lang.String
}
public final class MainKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class OutPair {
private final field x: java.lang.Object
private final field y: java.lang.Object
public method <init>(p0: java.lang.Object, p1: java.lang.Object): void
public final method getX(): java.lang.Object
public final method getY(): java.lang.Object
}
@@ -0,0 +1,21 @@
public final class Inv {
private final field x: java.lang.Object
public method <init>(p0: java.lang.Object): void
public final method getX(): java.lang.Object
}
public final class MainKt {
public final static @org.jetbrains.annotations.NotNull method bar(@org.jetbrains.annotations.NotNull p0: Inv): java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(): Inv
}
public final class Pair {
private final field x: java.lang.Object
private final field y: java.lang.Object
public method <init>(p0: java.lang.Object, p1: java.lang.Object): void
public final method getX(): java.lang.Object
public final method getY(): java.lang.Object
}
@@ -0,0 +1,5 @@
public final class ExtensionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
public final static @org.jetbrains.annotations.NotNull method getBar(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.String
}
@@ -0,0 +1,4 @@
public final class MapPutKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: java.lang.Object): void
}
@@ -0,0 +1,19 @@
public final class A {
private field x: int
public method <init>(p0: int): void
public @org.jetbrains.annotations.NotNull method clone(): A
public synthetic method clone(): java.lang.Object
public final method component1(): int
public synthetic static method copy$default(p0: A, p1: int, p2: int, p3: java.lang.Object): A
public final @org.jetbrains.annotations.NotNull method copy(p0: int): A
public method equals(p0: java.lang.Object): boolean
public final method getX(): int
public method hashCode(): int
public final method setX(p0: int): void
public method toString(): java.lang.String
}
public final class CloneCallsConstructorKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,19 @@
public final class A {
private field x: int
public method <init>(p0: int): void
public @org.jetbrains.annotations.NotNull method clone(): A
public synthetic method clone(): java.lang.Object
public final method component1(): int
public synthetic static method copy$default(p0: A, p1: int, p2: int, p3: java.lang.Object): A
public final @org.jetbrains.annotations.NotNull method copy(p0: int): A
public method equals(p0: java.lang.Object): boolean
public final method getX(): int
public method hashCode(): int
public final method setX(p0: int): void
public method toString(): java.lang.String
}
public final class CloneCallsSuperKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,19 @@
public final class A {
private field x: int
public method <init>(p0: int): void
public @org.jetbrains.annotations.NotNull method clone(): A
public synthetic method clone(): java.lang.Object
public final method component1(): int
public synthetic static method copy$default(p0: A, p1: int, p2: int, p3: java.lang.Object): A
public final @org.jetbrains.annotations.NotNull method copy(p0: int): A
public method equals(p0: java.lang.Object): boolean
public final method getX(): int
public method hashCode(): int
public final method setX(p0: int): void
public method toString(): java.lang.String
}
public final class CloneCallsSuperAndModifiesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class CloneHashSetKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,33 @@
public class A {
public method <init>(): void
public @org.jetbrains.annotations.NotNull method clone(): A
public synthetic method clone(): java.lang.Object
}
public class B {
private @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public synthetic method clone(): A
public @org.jetbrains.annotations.NotNull method clone(): B
public synthetic method clone(): java.lang.Object
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public final method setS(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public class C {
private @org.jetbrains.annotations.NotNull field l: java.util.ArrayList
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.util.ArrayList): void
public synthetic method clone(): A
public synthetic method clone(): B
public @org.jetbrains.annotations.NotNull method clone(): C
public synthetic method clone(): java.lang.Object
public final @org.jetbrains.annotations.NotNull method getL(): java.util.ArrayList
public final method setL(@org.jetbrains.annotations.NotNull p0: java.util.ArrayList): void
}
public final class CloneHierarchyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,18 @@
public final class 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 @org.jetbrains.annotations.NotNull method clone(): java.lang.Object
public final @org.jetbrains.annotations.NotNull method component1(): java.lang.String
public synthetic static method copy$default(p0: A, p1: java.lang.String, p2: int, p3: java.lang.Object): A
public final @org.jetbrains.annotations.NotNull method copy(@org.jetbrains.annotations.NotNull p0: java.lang.String): A
public method equals(p0: java.lang.Object): boolean
public final @org.jetbrains.annotations.NotNull method externalClone(): A
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
public method hashCode(): int
public method toString(): java.lang.String
}
public final class CloneableClassWithoutCloneKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}