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,31 @@
public final class A {
public final static field INSTANCE: A
private final static field privateConst: int
public final static field publicConst: int
private method <init>(): void
}
public final class B {
public final static field Companion: B.Companion
private final static field privateConst: int
protected final static field protectedConst: int
public final static field publicConst: int
inner class B/Companion
public method <init>(): void
}
public final static class B/Companion {
inner class B/Companion
private method <init>(): void
}
@kotlin.jvm.JvmName
public final class XYZ {
private final static field privateConst: int
public final static field publicConst: int
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public synthetic static method check$default(p0: java.lang.Class, p1: boolean, p2: int, p3: java.lang.Object): void
public final static method check(@org.jetbrains.annotations.NotNull p0: java.lang.Class, p1: boolean): void
}
@@ -0,0 +1,15 @@
@java.lang.annotation.Retention
public annotation class A {
public abstract method value(): java.lang.String
}
public final class ConstValInAnnotationDefaultKt {
public final static @org.jetbrains.annotations.NotNull field z: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@A
public final class Test {
public method <init>(): void
}
@@ -0,0 +1,19 @@
public final class InterfaceCompanionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public interface KInt {
public final static field Companion: KInt.Companion
public final static @org.jetbrains.annotations.NotNull field a: java.lang.String
public final static @org.jetbrains.annotations.NotNull field b: java.lang.String
inner class KInt/Companion
}
public final static class KInt/Companion {
public final static @org.jetbrains.annotations.NotNull field a: java.lang.String
public final static @org.jetbrains.annotations.NotNull field b: java.lang.String
inner class KInt/Companion
private method <init>(): void
}