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:
committed by
Yan Zhulanow
parent
8bdb54929b
commit
328286ab14
@@ -0,0 +1,29 @@
|
||||
public final class ConstructorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KFunction): void
|
||||
}
|
||||
|
||||
|
||||
public final class K {
|
||||
inner class K/Inner
|
||||
inner class K/Nested
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class K/Inner {
|
||||
synthetic final field this$0: K
|
||||
inner class K/Inner
|
||||
public method <init>(p0: K): void
|
||||
}
|
||||
|
||||
|
||||
public final static class K/Nested {
|
||||
inner class K/Nested
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Secondary {
|
||||
public method <init>(p0: int): void
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final class ExtensionPropertyKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getExt(@org.jetbrains.annotations.NotNull p0: K): double
|
||||
public final static method setExt(@org.jetbrains.annotations.NotNull p0: K, p1: double): void
|
||||
}
|
||||
|
||||
|
||||
public final class K {
|
||||
private field value: long
|
||||
public method <init>(p0: long): void
|
||||
public final method getValue(): long
|
||||
public final method setValue(p0: long): void
|
||||
}
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
public final class JavaFieldGetterSetterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class TestBase {
|
||||
private field id: long
|
||||
public method <init>(): void
|
||||
public final method getId(): long
|
||||
public final method setId(p0: long): void
|
||||
}
|
||||
|
||||
|
||||
public final class TestChild {
|
||||
public method <init>(): void
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public final class JavaMethodKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class TestBase {
|
||||
public method <init>(): void
|
||||
public final method id(): long
|
||||
}
|
||||
|
||||
|
||||
public final class TestChild {
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class FunctionsKt {
|
||||
public final static method bar(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
|
||||
public final static method baz(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KFunction): void
|
||||
}
|
||||
|
||||
|
||||
public final class K {
|
||||
public method <init>(): void
|
||||
public final method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
|
||||
}
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
public final class C {
|
||||
public final static field Companion: C.Companion
|
||||
inner class C/Companion
|
||||
public method <init>(): void
|
||||
public final static @kotlin.jvm.JvmStatic method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
|
||||
}
|
||||
|
||||
|
||||
public final static class C/Companion {
|
||||
inner class C/Companion
|
||||
private method <init>(): void
|
||||
public final @kotlin.jvm.JvmStatic method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
|
||||
}
|
||||
|
||||
|
||||
public final class CompanionObjectFunctionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public final class O {
|
||||
public final static field INSTANCE: O
|
||||
private method <init>(): void
|
||||
public final static @kotlin.jvm.JvmStatic method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
|
||||
}
|
||||
|
||||
|
||||
public final class ObjectFunctionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class MappedClassIsEqualToClassLiteralKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class K {
|
||||
private field value: long
|
||||
public method <init>(p0: long): void
|
||||
public final method getValue(): long
|
||||
public final method setValue(p0: long): void
|
||||
}
|
||||
|
||||
|
||||
public final class MemberPropertyKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public final class A {
|
||||
private @org.jetbrains.annotations.NotNull field bar: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getBar(): java.lang.String
|
||||
public final method setBar(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class PropertyAccessorsKt {
|
||||
private static @org.jetbrains.annotations.NotNull field foo: java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getFoo(): java.lang.String
|
||||
public final static method setFoo(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
public final class PropertyAccessorsWithJvmNameKt {
|
||||
private static @org.jetbrains.annotations.NotNull field state: java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @kotlin.jvm.JvmName @org.jetbrains.annotations.NotNull method getter(): java.lang.String
|
||||
public final static @kotlin.jvm.JvmName method setter(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public enum class A {
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): A
|
||||
public static method values(): A[]
|
||||
}
|
||||
|
||||
|
||||
public final class SyntheticFieldsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class MainKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method test1(): void
|
||||
}
|
||||
|
||||
|
||||
public final class TestKt {
|
||||
public final static method test2(): void
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public final class TopLevelPropertyKt {
|
||||
private static @org.jetbrains.annotations.NotNull field topLevel: java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getTopLevel(): java.lang.String
|
||||
public final static method setTopLevel(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method baz(): java.lang.Object[]
|
||||
}
|
||||
|
||||
|
||||
public final class ArrayKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method bar(): java.util.List[]
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String[], @org.jetbrains.annotations.NotNull p1: java.lang.Integer[], @org.jetbrains.annotations.NotNull p2: java.lang.Object[][]): void
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
public final class A {
|
||||
inner class A/Inner
|
||||
inner class A/Nested
|
||||
public method <init>(p0: double, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.Nullable p2: A): void
|
||||
}
|
||||
|
||||
|
||||
public final class A/Inner {
|
||||
synthetic final field this$0: A
|
||||
inner class A/Inner
|
||||
public method <init>(@java.lang.Synthetic p0: A, @org.jetbrains.annotations.NotNull p1: A.Nested): void
|
||||
}
|
||||
|
||||
|
||||
public final static class A/Nested {
|
||||
inner class A/Nested
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: A): void
|
||||
}
|
||||
|
||||
|
||||
public final class ConstructorsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method foo(@org.jetbrains.annotations.Nullable p0: java.lang.Long): long
|
||||
}
|
||||
|
||||
|
||||
public final class MemberFunctionsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class O {
|
||||
public final static field INSTANCE: O
|
||||
private method <init>(): void
|
||||
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method bar(@org.jetbrains.annotations.NotNull p0: A): java.lang.String
|
||||
}
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method bar(p0: long): int
|
||||
public @org.jetbrains.annotations.NotNull method foo(): java.lang.Integer
|
||||
public synthetic method foo(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public interface I {
|
||||
public abstract @org.jetbrains.annotations.NotNull method foo(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class OverrideAnyWithPrimitiveKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
public final class A {
|
||||
private field foo: java.util.List
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.util.List): void
|
||||
}
|
||||
|
||||
|
||||
public final class O {
|
||||
public final static field INSTANCE: O
|
||||
private static field bar: java.util.List
|
||||
private method <init>(): void
|
||||
private synthetic deprecated final static @kotlin.jvm.JvmStatic method bar$annotations(): void
|
||||
}
|
||||
|
||||
|
||||
public final class ParameterizedTypesKt {
|
||||
public final static method assertGenericType(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KType): void
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method extension(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.util.List
|
||||
public final static @org.jetbrains.annotations.NotNull method topLevel(): java.util.List
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class A {
|
||||
private field foo: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class O {
|
||||
public final static field INSTANCE: O
|
||||
private static field bar: java.lang.String
|
||||
private method <init>(): void
|
||||
private synthetic deprecated final static @kotlin.jvm.JvmStatic method bar$annotations(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PropertyAccessorsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class TopLevelFunctionsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method extension(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
|
||||
public final static method free(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method foo(p0: java.lang.Object): void
|
||||
}
|
||||
|
||||
|
||||
public final class TypeParametersKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public final class UnitKt {
|
||||
private static @org.jetbrains.annotations.NotNull field bar: kotlin.Unit
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(@org.jetbrains.annotations.NotNull p0: kotlin.Unit, @org.jetbrains.annotations.Nullable p1: kotlin.Unit): void
|
||||
public final static @org.jetbrains.annotations.NotNull method getBar(): kotlin.Unit
|
||||
public final static method setBar(@org.jetbrains.annotations.NotNull p0: kotlin.Unit): void
|
||||
}
|
||||
Reference in New Issue
Block a user