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

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -0,0 +1,3 @@
public final class CloneHashSetKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}

View File

@@ -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
}

View File

@@ -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
}