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
+15
@@ -0,0 +1,15 @@
|
||||
public final class AccessViaSubclassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public abstract class Base {
|
||||
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Derived {
|
||||
public method <init>(): void
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
public final class A {
|
||||
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private final @org.jetbrains.annotations.NotNull field two$delegate: NumberDecrypter
|
||||
public method <init>(): void
|
||||
public final method getTwo(): int
|
||||
}
|
||||
|
||||
|
||||
public final class DelegatedKt {
|
||||
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private final static @org.jetbrains.annotations.NotNull field four$delegate: NumberDecrypter
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getFour(): int
|
||||
}
|
||||
|
||||
|
||||
public final class NumberDecrypter {
|
||||
public final static field INSTANCE: NumberDecrypter
|
||||
private method <init>(): void
|
||||
public final method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): int
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class Delegate {
|
||||
public final static field INSTANCE: Delegate
|
||||
private static @org.jetbrains.annotations.NotNull field value: java.lang.String
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
|
||||
public final method setValue(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class DelegatedMutableKt {
|
||||
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
|
||||
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 setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public enum class E {
|
||||
public final static field I: E
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): E
|
||||
public static method values(): E[]
|
||||
}
|
||||
|
||||
|
||||
public final class EnumNameOrdinalKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class ExtensionToArrayKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getFirstElement(@org.jetbrains.annotations.NotNull p0: java.lang.String[]): java.lang.String
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
public final class DVal {
|
||||
private final @org.jetbrains.annotations.NotNull field kmember: kotlin.reflect.KProperty1
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KProperty1): void
|
||||
public final @org.jetbrains.annotations.NotNull method getKmember(): kotlin.reflect.KProperty1
|
||||
public final method getValue(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class GenericPropertyKt {
|
||||
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private final static @org.jetbrains.annotations.Nullable field additionalText$delegate: DVal
|
||||
private final static field additionalValue$delegate: DVal
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method getAdditionalText(@org.jetbrains.annotations.NotNull p0: Value): java.lang.String
|
||||
public final static method getAdditionalValue(@org.jetbrains.annotations.NotNull p0: Value): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class Value {
|
||||
private @org.jetbrains.annotations.Nullable field text: java.lang.String
|
||||
private field value: java.lang.Object
|
||||
public method <init>(): void
|
||||
public method <init>(p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.String): void
|
||||
public synthetic method <init>(p0: java.lang.Object, p1: java.lang.String, p2: int, p3: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public final @org.jetbrains.annotations.Nullable method getText(): java.lang.String
|
||||
public final method getValue(): java.lang.Object
|
||||
public final method setText(@org.jetbrains.annotations.Nullable p0: java.lang.String): void
|
||||
public final method setValue(p0: java.lang.Object): void
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getMember(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InvokePropertyReferenceKt {
|
||||
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 @org.jetbrains.annotations.NotNull method getExt(@org.jetbrains.annotations.NotNull p0: A): java.lang.Object
|
||||
public final static @org.jetbrains.annotations.NotNull method getState(): java.lang.String
|
||||
public final static method getTopLevel(): int
|
||||
public final static method setState(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final static method setTopLevel(p0: int): void
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public final class JavaBeanConventionKt {
|
||||
private static field aBcde: int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getABcde(): int
|
||||
public final static method setABcde(p0: int): void
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
public final class A {
|
||||
public final static field Companion: A.Companion
|
||||
private final @org.jetbrains.annotations.NotNull field foo: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field ref: kotlin.reflect.KProperty1
|
||||
inner class A/Companion
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getFoo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final static class A/Companion {
|
||||
inner class A/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getRef(): kotlin.reflect.KProperty1
|
||||
}
|
||||
|
||||
|
||||
public final class KClassInstanceIsInitializedFirstKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final class Foo {
|
||||
private field x: int
|
||||
public method <init>(): void
|
||||
protected final method getX(): int
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): kotlin.reflect.KMutableProperty1
|
||||
protected final method setX(p0: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt12982_protectedPropertyReferenceKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class Foo {
|
||||
private @org.jetbrains.annotations.Nullable field bar: java.lang.Integer
|
||||
public method <init>(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
|
||||
public final @org.jetbrains.annotations.Nullable method component1(): java.lang.Integer
|
||||
public synthetic static method copy$default(p0: Foo, p1: java.lang.Integer, p2: int, p3: java.lang.Object): Foo
|
||||
public final @org.jetbrains.annotations.NotNull method copy(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): Foo
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final @org.jetbrains.annotations.Nullable method getBar(): java.lang.Integer
|
||||
public method hashCode(): int
|
||||
public final method setBar(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
|
||||
public method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Kt14330Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class Kt14330_2Kt {
|
||||
private static @org.jetbrains.annotations.Nullable field recivier: java.lang.Object
|
||||
private static @org.jetbrains.annotations.Nullable field value2: java.lang.Object
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getBar(p0: java.lang.Object): java.lang.Object
|
||||
public final static @org.jetbrains.annotations.Nullable method getRecivier(): java.lang.Object
|
||||
public final static @org.jetbrains.annotations.Nullable method getValue2(): java.lang.Object
|
||||
public final static method setBar(p0: java.lang.Object, p1: java.lang.Object): void
|
||||
public final static method setRecivier(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void
|
||||
public final static method setValue2(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class Kt6870_privatePropertyReferenceKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Test {
|
||||
private field iv: int
|
||||
public method <init>(): void
|
||||
public final method exec(): void
|
||||
public final @org.jetbrains.annotations.NotNull method result(): java.lang.String
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
public final class ListOfStringsMapLengthKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class LocalClassVarKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
public class Base {
|
||||
private final @org.jetbrains.annotations.NotNull field foo: java.lang.String
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method getFoo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Derived {
|
||||
private final @org.jetbrains.annotations.NotNull field foo: java.lang.String
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method getFoo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class OverriddenInSubclassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
public final class Bar {
|
||||
private @org.jetbrains.annotations.NotNull field foo: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getFoo(): java.lang.String
|
||||
private final method setFoo(p0: java.lang.String): void
|
||||
public final method test(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PrivateSetterInsideClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
public class Bar {
|
||||
private @org.jetbrains.annotations.NotNull field foo: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getFoo(): java.lang.String
|
||||
private final method setFoo(p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class Baz {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method ref(): kotlin.reflect.KProperty1
|
||||
}
|
||||
|
||||
|
||||
public final class PrivateSetterOutsideClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class SimpleExtensionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getId(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public final class A {
|
||||
private final field x: int
|
||||
public method <init>(p0: int): void
|
||||
public final method getX(): int
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleMemberKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
public final class SimpleMutableExtensionKt {
|
||||
private static field storage: int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getFoo(p0: int): int
|
||||
public final static method getStorage(): int
|
||||
public final static method setFoo(p0: int, p1: int): void
|
||||
public final static method setStorage(p0: int): void
|
||||
}
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
public final class Box {
|
||||
private @org.jetbrains.annotations.NotNull field value: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method component1(): java.lang.String
|
||||
public synthetic static method copy$default(p0: Box, p1: java.lang.String, p2: int, p3: java.lang.Object): Box
|
||||
public final @org.jetbrains.annotations.NotNull method copy(@org.jetbrains.annotations.NotNull p0: java.lang.String): Box
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
|
||||
public method hashCode(): int
|
||||
public final method setValue(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleMutableMemberKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
public final class Box {
|
||||
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method component1(): java.lang.String
|
||||
public synthetic static method copy$default(p0: Box, p1: java.lang.String, p2: int, p3: java.lang.Object): Box
|
||||
public final @org.jetbrains.annotations.NotNull method copy(@org.jetbrains.annotations.NotNull p0: java.lang.String): Box
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
|
||||
public method hashCode(): int
|
||||
public method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleMutableTopLevelKt {
|
||||
private static @org.jetbrains.annotations.NotNull field pr: Box
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getPr(): Box
|
||||
public final static method setPr(@org.jetbrains.annotations.NotNull p0: Box): void
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class Box {
|
||||
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method component1(): java.lang.String
|
||||
public synthetic static method copy$default(p0: Box, p1: java.lang.String, p2: int, p3: java.lang.Object): Box
|
||||
public final @org.jetbrains.annotations.NotNull method copy(@org.jetbrains.annotations.NotNull p0: java.lang.String): Box
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
|
||||
public method hashCode(): int
|
||||
public method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleTopLevelKt {
|
||||
private final static @org.jetbrains.annotations.NotNull field foo: Box
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getFoo(): Box
|
||||
}
|
||||
Reference in New Issue
Block a user