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,4 @@
public final class GenericNullKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: java.lang.Number): void
}
@@ -0,0 +1,12 @@
public final class A {
private final field t: int
public method <init>(p0: int): void
public final method getT(): int
}
public final class Kt1572Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method testKt1572(): boolean
public final static method testPrimitives(): boolean
}
@@ -0,0 +1,9 @@
public final class A {
public method <init>(): void
public final method foo(): void
}
public final class Kt232Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class Kt245Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): void
}
@@ -0,0 +1,28 @@
public final class C {
private final field x: int
public method <init>(p0: int): void
public final method getX(): int
}
public final class D {
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
}
public final class E {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method bar(): E
public final method foo(): int
}
public final class Kt247Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method t1(): boolean
public final static method t2(): boolean
public final static method t3(): void
public final static method t4(): void
}
@@ -0,0 +1,4 @@
public final class Kt3430Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method f(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function2): int
}
@@ -0,0 +1,12 @@
public final class Kt4733Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
public method <init>(): void
public final method getFoo(p0: int): int
public final method getFoo(p0: long): long
public final @org.jetbrains.annotations.Nullable method testInt(): java.lang.Integer
public final @org.jetbrains.annotations.Nullable method testLong(): java.lang.Long
}
@@ -0,0 +1,5 @@
public final class PrimitiveKt {
public final static method bar(p0: long): long
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: int): int
}
@@ -0,0 +1,4 @@
public final class SafeCallOnLongKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method f(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function2): long
}