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,12 @@
public final class A {
private final @org.jetbrains.annotations.NotNull field bar: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getBar(): java.lang.String
}
public final class CallableReferencesEqualToCallablesFromAPIKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method checkEqual(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: java.lang.Object): void
}
@@ -0,0 +1,23 @@
public final class A {
public final static field Companion: A.Companion
inner class A/Companion
inner class A/Nested
public method <init>(): void
}
public final static class A/Companion {
inner class A/Companion
private method <init>(): void
}
public final static class A/Nested {
inner class A/Nested
public method <init>(): void
}
public final class ClassToStringKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,31 @@
public final class ExtensionPropertyReceiverToStringKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty1): void
public final static @org.jetbrains.annotations.NotNull method getA1(@org.jetbrains.annotations.NotNull p0: java.lang.Integer[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getA2(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getA3(@org.jetbrains.annotations.NotNull p0: java.lang.String[][]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getA4(@org.jetbrains.annotations.NotNull p0: boolean[][]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getL(@org.jetbrains.annotations.NotNull p0: java.util.List): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getM(@org.jetbrains.annotations.NotNull p0: java.util.Map): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getN1(@org.jetbrains.annotations.Nullable p0: java.lang.Object): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getN2(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getN3(@org.jetbrains.annotations.Nullable p0: java.lang.Object[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getN4(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getN5(@org.jetbrains.annotations.Nullable p0: java.lang.Object[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(@org.jetbrains.annotations.NotNull p0: boolean[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(@org.jetbrains.annotations.NotNull p0: byte[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(@org.jetbrains.annotations.NotNull p0: char[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(@org.jetbrains.annotations.NotNull p0: double[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(@org.jetbrains.annotations.NotNull p0: float[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(@org.jetbrains.annotations.NotNull p0: int[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(@org.jetbrains.annotations.NotNull p0: long[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(@org.jetbrains.annotations.NotNull p0: short[]): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(p0: boolean): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(p0: byte): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(p0: char): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(p0: double): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(p0: float): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(p0: int): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(p0: long): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method getX(p0: short): java.lang.Object
}
@@ -0,0 +1,18 @@
public final class A {
public method <init>(): void
public final method mem(): void
}
public final class B {
public method <init>(): void
public final method mem(): void
}
public final class FunctionEqualsHashCodeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method checkEqual(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: java.lang.Object): void
public final static method intExt(p0: int): int
public final static method top(): int
}
@@ -0,0 +1,13 @@
public final class test/A {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method mem(): java.lang.String
}
public final class test/FunctionToStringKt {
public final static method assertToString(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.Object): void
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method ext(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final static @org.jetbrains.annotations.NotNull method ext2(@org.jetbrains.annotations.Nullable p0: kotlin.ranges.IntRange): java.lang.Integer[]
public final static method top(): int
}
@@ -0,0 +1,11 @@
public final class A {
public method <init>(): void
public final method foo(p0: int): double
public final @org.jetbrains.annotations.NotNull method getId(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
public final method setId(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
}
public final class MemberExtensionToStringKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,12 @@
public final class A {
private final field baz: int
public method <init>(): void
public final method bar(p0: int): void
public final method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int): void
public final method getBaz(): int
}
public final class ParametersEqualsHashCodeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,11 @@
public final class A {
public method <init>(): void
public final method bar(): void
}
public final class ParametersToStringKt {
public final static method baz(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
}
@@ -0,0 +1,27 @@
public final class A {
private @org.jetbrains.annotations.NotNull field mem: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getMem(): java.lang.String
public final method setMem(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class B {
private @org.jetbrains.annotations.NotNull field mem: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getMem(): java.lang.String
public final method setMem(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class PropertyEqualsHashCodeKt {
private static field top2: int
private final static field top: int
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method checkEqual(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: java.lang.Object): void
public final static method getCharExt(p0: char): int
public final static method getIntExt(p0: int): int
public final static method getTop(): int
public final static method getTop2(): int
public final static method setTop2(p0: int): void
}
@@ -0,0 +1,27 @@
public final class test/A {
private final @org.jetbrains.annotations.NotNull field mem: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getMem(): java.lang.String
}
public final class test/B {
private @org.jetbrains.annotations.NotNull field mem: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getMem(): java.lang.String
public final method setMem(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class test/PropertyToStringKt {
private static field top2: int
private final static field top: int
public final static method assertToString(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.Object): void
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method getExt(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final static method getExt2(@org.jetbrains.annotations.Nullable p0: kotlin.ranges.IntRange): int
public final static method getTop(): int
public final static method getTop2(): int
public final static method setExt2(@org.jetbrains.annotations.Nullable p0: kotlin.ranges.IntRange, p1: int): void
public final static method setTop2(p0: int): void
}
@@ -0,0 +1,11 @@
public final class A {
public method <init>(): void
public final method typeParam(p0: java.lang.Object): java.lang.Object
}
public final class TypeEqualsHashCodeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method nullable(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
public final static method unit(@org.jetbrains.annotations.NotNull p0: kotlin.Unit): void
}
@@ -0,0 +1,11 @@
public final class A {
public method <init>(): void
public final @org.jetbrains.annotations.Nullable method bar(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
}
public final class TypeToStringKt {
public final static method baz(@org.jetbrains.annotations.NotNull p0: A, @org.jetbrains.annotations.NotNull p1: A): void
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(@org.jetbrains.annotations.Nullable p0: java.lang.String, p1: int, @org.jetbrains.annotations.NotNull p2: java.lang.Integer[], @org.jetbrains.annotations.NotNull p3: int[], @org.jetbrains.annotations.NotNull p4: java.util.List): void
}