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,8 @@
public final class ExecutionOrderKt {
private static @org.jetbrains.annotations.NotNull field result: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getFun(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function2): kotlin.jvm.functions.Function2
public final static method getReceiver(): int
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final static method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,11 @@
public final class Kt1061Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class X {
public final static field INSTANCE: X
private final static @org.jetbrains.annotations.NotNull field doit: kotlin.jvm.functions.Function1
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getDoit(): kotlin.jvm.functions.Function1
}
@@ -0,0 +1,11 @@
public final class Kt1249Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class TestClass {
private final @org.jetbrains.annotations.NotNull field body: kotlin.jvm.functions.Function0
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
public final @org.jetbrains.annotations.NotNull method getBody(): kotlin.jvm.functions.Function0
public final method run(): void
}
@@ -0,0 +1,12 @@
public final class Foo {
private final @org.jetbrains.annotations.NotNull field filter: kotlin.jvm.functions.Function1
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
public final method bar(p0: java.lang.Object): boolean
public final @org.jetbrains.annotations.NotNull method getFilter(): kotlin.jvm.functions.Function1
}
public final class Kt1290Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): boolean
}
@@ -0,0 +1,24 @@
public interface Expr {
inner class Expr/DefaultImpls
public abstract method ttFun(): int
}
public final class Expr/DefaultImpls {
inner class Expr/DefaultImpls
public static method ttFun(p0: Expr): int
}
public final class Kt1776Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method sometest(@org.jetbrains.annotations.NotNull p0: Expr): int
}
public final class Num {
private final field value: int
public method <init>(p0: int): void
public final method getValue(): int
public method ttFun(): int
}
@@ -0,0 +1,3 @@
public final class Kt1953Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,11 @@
public final class A {
private final field sb: java.lang.StringBuilder
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
public final method unaryPlus(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class Kt1953_classKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,26 @@
public final class Doggy {
public method <init>(): void
public method play(): void
}
public final class Kt3285Kt {
private static @org.jetbrains.annotations.NotNull field sayResult: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getSayResult(): java.lang.String
public final static method noiseMaker(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
public final static method setSayResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class NoiseMaker {
public method <init>(): void
public final method say(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public abstract class Pet {
public method <init>(): void
public abstract method play(): void
public final method playWith(@org.jetbrains.annotations.NotNull p0: NoiseMaker, p1: java.lang.Object): void
}
@@ -0,0 +1,15 @@
public final class Foo {
public final static field INSTANCE: Foo
private method <init>(): void
public final method foo(): void
private final method unaryPlus(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class Kt3298Kt {
private static @org.jetbrains.annotations.NotNull field result: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final static method result(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final static method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,11 @@
public final class Foo {
private final field a: int
public method <init>(): void
public final method getA(): int
}
public final class Kt3646Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): int
}
@@ -0,0 +1,13 @@
public final class A {
public method <init>(): void
}
public final class Kt3969Kt {
private static @org.jetbrains.annotations.NotNull field result: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public synthetic static method inc$default(p0: A, p1: java.lang.String, p2: int, p3: java.lang.Object): A
public final static @org.jetbrains.annotations.NotNull method inc(@org.jetbrains.annotations.NotNull p0: A, @org.jetbrains.annotations.NotNull p1: java.lang.String): A
public final static method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,19 @@
public final class A {
public final static field Companion: A.Companion
inner class A/Companion
public method <init>(): void
}
public final static class A/Companion {
inner class A/Companion
private method <init>(): void
}
public final class Kt4228Kt {
private final static @org.jetbrains.annotations.NotNull field foo: kotlin.jvm.functions.Function1
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getFoo(): kotlin.jvm.functions.Function1
public final static method test(): void
}
@@ -0,0 +1,7 @@
public final class Kt475Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method getLast(@org.jetbrains.annotations.NotNull p0: java.util.ArrayList): java.lang.Object
public final static method getLength(@org.jetbrains.annotations.NotNull p0: java.util.ArrayList): int
public final static method setLast(@org.jetbrains.annotations.NotNull p0: java.util.ArrayList, p1: java.lang.Object): void
public final static method setLength(@org.jetbrains.annotations.NotNull p0: java.util.ArrayList, p1: int): void
}
@@ -0,0 +1,4 @@
public final class Kt5467Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
@@ -0,0 +1,27 @@
public interface kt606/ChannelPipeline {
public abstract method print(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
}
public interface kt606/ChannelPipelineFactory {
public abstract @org.jetbrains.annotations.NotNull method getPipeline(): kt606.ChannelPipeline
}
public final class kt606/DefaultChannelPipeline {
public method <init>(): void
public method print(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
}
public final class kt606/Kt606Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class kt606/StandardPipelineFactory {
private final @org.jetbrains.annotations.NotNull field config: kotlin.jvm.functions.Function1
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
public final @org.jetbrains.annotations.NotNull method getConfig(): kotlin.jvm.functions.Function1
public @org.jetbrains.annotations.NotNull method getPipeline(): kt606.ChannelPipeline
}
@@ -0,0 +1,12 @@
public final class Kt865Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Template {
private final @org.jetbrains.annotations.NotNull field collected: java.util.ArrayList
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getCollected(): java.util.ArrayList
public final method test(): void
public final method unaryPlus(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,3 @@
public final class Nested2Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class SharedKt {
public final static method assert(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0): void
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method mustBe(p0: java.lang.Object, p1: java.lang.Object): void
}
@@ -0,0 +1,5 @@
public final class SimpleKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method first(@org.jetbrains.annotations.NotNull p0: java.lang.StringBuilder): char
public final static method foo(): char
}
@@ -0,0 +1,10 @@
public final class Test {
public method <init>(): void
public final method box(): int
private final method self(@org.jetbrains.annotations.NotNull p0: java.lang.Object): Test$self$1
}
public final class ThisMethodInObjectLiteralKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,18 @@
public final class Handler {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getPath(@org.jetbrains.annotations.NotNull p0: Request): java.lang.String
public final @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: Request): java.lang.String
public final method times(p0: int, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0): void
}
public final class Request {
private final @org.jetbrains.annotations.NotNull field path: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getPath(): java.lang.String
}
public final class VirtualKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class WhenFailKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(@org.jetbrains.annotations.NotNull p0: java.lang.StringBuilder): int
public final static method takeFirst(@org.jetbrains.annotations.NotNull p0: java.lang.StringBuilder): char
}