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,50 @@
public class A {
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
inner class A/B
inner class A/C
inner class A/D
inner class A/E
inner class A/F
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
}
public class A/B {
synthetic final field this$0: A
inner class A/B
public method <init>(@java.lang.Synthetic p0: A, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
}
public class A/C {
synthetic final field this$0: A
inner class A/C
public method <init>(@java.lang.Synthetic p0: A, @org.jetbrains.annotations.NotNull p1: java.lang.String, p2: double): void
}
public class A/D {
synthetic final field this$0: A
inner class A/D
public method <init>(@java.lang.Synthetic p0: A, p1: int, p2: long, @org.jetbrains.annotations.NotNull p3: java.lang.String): void
}
public class A/E {
synthetic final field this$0: A
inner class A/E
public method <init>(p0: A): void
}
public final class A/F {
synthetic final field this$0: A
inner class A/F
public method <init>(p0: A): void
}
public final class DeepInnerHierarchyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class DeepLocalHierarchyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,36 @@
public class Father {
private final @org.jetbrains.annotations.NotNull field param: java.lang.String
inner class Father/Child
inner class Father/InClass
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getParam(): java.lang.String
}
public final class Father/Child {
synthetic final field this$0: Father
inner class Father/Child
inner class Father/Child/Child2
public method <init>(@java.lang.Synthetic p0: Father, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
}
public final class Father/Child/Child2 {
synthetic final field this$0: Father.Child
inner class Father/Child
inner class Father/Child/Child2
public method <init>(p0: Father.Child): void
}
public abstract class Father/InClass {
synthetic final field this$0: Father
inner class Father/InClass
public method <init>(p0: Father): void
public final @org.jetbrains.annotations.NotNull method work(): java.lang.String
}
public final class InnerExtendsInnerViaSecondaryConstuctorKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,36 @@
public class Father {
private final @org.jetbrains.annotations.NotNull field param: java.lang.String
inner class Father/Child
inner class Father/InClass
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getParam(): java.lang.String
}
public final class Father/Child {
synthetic final field this$0: Father
inner class Father/Child
inner class Father/Child/Child2
public method <init>(@java.lang.Synthetic p0: Father, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
}
public final class Father/Child/Child2 {
synthetic final field this$0: Father.Child
inner class Father/Child
inner class Father/Child/Child2
public method <init>(p0: Father.Child): void
}
public abstract class Father/InClass {
synthetic final field this$0: Father
inner class Father/InClass
public method <init>(p0: Father): void
public final @org.jetbrains.annotations.NotNull method work(): java.lang.String
}
public final class InnerExtendsInnerWithProperOuterCaptureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,22 @@
public final class InnerExtendsOuterKt {
public final static method box(): java.lang.String
}
public class Outer {
private final @org.jetbrains.annotations.NotNull field chars: char[]
inner class Outer/Inner
public method <init>(@org.jetbrains.annotations.NotNull p0: char[]): void
public final @org.jetbrains.annotations.NotNull method getChars(): char[]
public final method value(): java.lang.String
}
public class Outer/Inner {
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
synthetic final field this$0: Outer
inner class Outer/Inner
public method <init>(@java.lang.Synthetic p0: Outer, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final method concat(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
}
@@ -0,0 +1,24 @@
public final class Child {
private final @org.jetbrains.annotations.NotNull field ChildInClass: Father.InClass
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getChildInClass(): Father.InClass
}
public abstract class Father {
inner class Father/InClass
public method <init>(): void
}
public abstract class Father/InClass {
synthetic final field this$0: Father
inner class Father/InClass
public method <init>(p0: Father): void
public abstract @org.jetbrains.annotations.NotNull method work(): java.lang.String
}
public final class Kt11833_1Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,23 @@
public final class Child {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method test(): Father.InClass
}
public abstract class Father {
inner class Father/InClass
public method <init>(): void
}
public abstract class Father/InClass {
synthetic final field this$0: Father
inner class Father/InClass
public method <init>(p0: Father): void
public abstract @org.jetbrains.annotations.NotNull method work(): java.lang.String
}
public final class Kt11833_2Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,18 @@
public final class A {
inner class A/Inner
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method bar(): java.lang.Object
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
public class A/Inner {
synthetic final field this$0: A
inner class A/Inner
public method <init>(p0: A): void
}
public final class LocalClassOuterDiffersFromInnerOuterKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,28 @@
public class Father {
private final @org.jetbrains.annotations.NotNull field param: java.lang.String
inner class Father/Child
inner class Father/InClass
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getParam(): java.lang.String
}
public final class Father/Child {
synthetic final field this$0: Father
inner class Father/Child
public method <init>(@java.lang.Synthetic p0: Father, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method test(): Father.InClass
}
public abstract class Father/InClass {
synthetic final field this$0: Father
inner class Father/InClass
public method <init>(p0: Father): void
public final @org.jetbrains.annotations.NotNull method work(): java.lang.String
}
public final class LocalExtendsInnerKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class LocalExtendsLocalWithClosureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class LocalWithClosureExtendsLocalWithClosureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,12 @@
public class A {
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
public method <init>(): void
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public synthetic method <init>(p0: java.lang.String, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
}
public final class ObjectExtendsClassDefaultArgumentKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,15 @@
public final class ObjectExtendsClassVarargKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public class SomeClass {
private final @org.jetbrains.annotations.NotNull field args: java.lang.String[]
private final field other: int
private final field some: double
public method <init>(p0: double, p1: int, @org.jetbrains.annotations.NotNull p2: java.lang.String[]): void
public final @org.jetbrains.annotations.NotNull method getArgs(): java.lang.String[]
public final method getOther(): int
public final method getSome(): double
public final @org.jetbrains.annotations.NotNull method result(): java.lang.String
}
@@ -0,0 +1,19 @@
public final class A {
inner class A/Inner
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public class A/Inner {
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
synthetic final field this$0: A
inner class A/Inner
public method <init>(@java.lang.Synthetic p0: A, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
}
public final class ObjectExtendsInnerKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,22 @@
public final class A {
inner class A/Inner
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public class A/Inner {
private final field int: int
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
synthetic final field this$0: A
inner class A/Inner
public method <init>(@java.lang.Synthetic p0: A, @org.jetbrains.annotations.NotNull p1: java.lang.String, p2: int): void
public synthetic method <init>(p0: A, p1: java.lang.String, p2: int, p3: int, p4: kotlin.jvm.internal.DefaultConstructorMarker): void
public final method getInt(): int
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
}
public final class ObjectExtendsInnerDefaultArgumentKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ObjectExtendsInnerOfLocalVarargAndDefaultKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ObjectExtendsInnerOfLocalWithCaptureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,10 @@
public 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 final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
}
public final class ObjectExtendsLocalCaptureInSuperCallKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ObjectExtendsLocalWithClosureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,18 @@
public final class A {
inner class A/Inner
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method bar(): java.lang.Object
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
}
public class A/Inner {
synthetic final field this$0: A
inner class A/Inner
public method <init>(p0: A): void
}
public final class ObjectOuterDiffersFromInnerOuterKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}