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
+3
@@ -0,0 +1,3 @@
|
||||
public final class KKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class KKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class KKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public final class CannotCallEnumConstructorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public enum class 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[]
|
||||
}
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
public final class A {
|
||||
private field foo: java.lang.String
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class CounterTest {
|
||||
private field baz: java.lang.String
|
||||
private field generic: java.lang.Object
|
||||
public method <init>(p0: java.lang.Object): void
|
||||
}
|
||||
|
||||
|
||||
public final class DisallowNullValueForNotNullFieldKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
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
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class D {
|
||||
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 component1(): java.lang.String
|
||||
public synthetic static method copy$default(p0: D, p1: java.lang.String, p2: int, p3: java.lang.Object): D
|
||||
public final @org.jetbrains.annotations.NotNull method copy(@org.jetbrains.annotations.NotNull p0: java.lang.String): D
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
public method hashCode(): int
|
||||
public method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class EqualsHashCodeToStringKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class ExceptionHappenedKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method fail(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
public class A {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class FakeOverrideKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public class A {
|
||||
private final field t: java.lang.Object
|
||||
public method <init>(p0: java.lang.Object): void
|
||||
public final method foo(): java.lang.Object
|
||||
public final method getT(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class FakeOverrideSubstitutedKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
public final class A {
|
||||
private field bar: 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 getBar(): kotlin.reflect.KMutableProperty1
|
||||
}
|
||||
|
||||
|
||||
public final class IncorrectNumberOfArgumentsKt {
|
||||
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 method check(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KCallable, @org.jetbrains.annotations.NotNull p1: java.lang.Object[]): void
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
public final class O {
|
||||
public final static field INSTANCE: O
|
||||
private static field baz: java.lang.String
|
||||
private method <init>(): void
|
||||
private synthetic deprecated final static @kotlin.jvm.JvmStatic method baz$annotations(): void
|
||||
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method getBaz(): kotlin.reflect.KMutableProperty
|
||||
public final @org.jetbrains.annotations.NotNull method getGetBaz(): kotlin.reflect.KFunction
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
public final class A {
|
||||
inner class A/Inner
|
||||
inner class A/Nested
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final 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 static class A/Nested {
|
||||
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
inner class A/Nested
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InnerClassConstructorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
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 bar(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class C/Companion {
|
||||
inner class C/Companion
|
||||
private method <init>(): void
|
||||
public final @kotlin.jvm.JvmStatic method bar(): void
|
||||
}
|
||||
|
||||
|
||||
public final class JvmStaticKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Obj {
|
||||
public final static field INSTANCE: Obj
|
||||
private method <init>(): void
|
||||
public final static @kotlin.jvm.JvmStatic method foo(): void
|
||||
}
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
public final class JvmStaticInObjectIncorrectReceiverKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Obj {
|
||||
public final static field INSTANCE: Obj
|
||||
private method <init>(): void
|
||||
public final static @kotlin.jvm.JvmStatic method bar(): void
|
||||
public final static @kotlin.jvm.JvmStatic method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method get(@org.jetbrains.annotations.NotNull p0: java.lang.String): kotlin.reflect.KCallable
|
||||
public final static @kotlin.jvm.JvmStatic method sly(@org.jetbrains.annotations.NotNull p0: Obj): void
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class LocalClassMemberKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method foo(p0: java.lang.Object): void
|
||||
}
|
||||
|
||||
|
||||
public final class MemberOfGenericClassKt {
|
||||
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 setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class A {
|
||||
private field result: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class PrivatePropertyKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method getP2(p0: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final method getMp2(p0: int): int
|
||||
public final method setMp2(p0: int, p1: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class PropertyAccessorsKt {
|
||||
private static field globalCounter: int
|
||||
private static field mp0: int
|
||||
private final static field p0: int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getGlobalCounter(): int
|
||||
public final static method getMp0(): int
|
||||
public final static method getMp1(p0: int): int
|
||||
public final static method getP0(): int
|
||||
public final static method getP1(p0: int): int
|
||||
public final static method setGlobalCounter(p0: int): void
|
||||
public final static method setMp0(p0: int): void
|
||||
public final static method setMp1(p0: int, p1: int): void
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class Foo {
|
||||
private final @org.jetbrains.annotations.NotNull field id: 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: Foo, p1: java.lang.String, p2: int, p3: java.lang.Object): Foo
|
||||
public final @org.jetbrains.annotations.NotNull method copy(@org.jetbrains.annotations.NotNull p0: java.lang.String): Foo
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final method getId(): int
|
||||
public final @org.jetbrains.annotations.NotNull method getId(): java.lang.String
|
||||
public method hashCode(): int
|
||||
public method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class PropertyGetterAndGetFunctionDifferentReturnTypeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method bar(): void
|
||||
}
|
||||
|
||||
|
||||
public final class O {
|
||||
public final static field INSTANCE: O
|
||||
private method <init>(): void
|
||||
public final static @kotlin.jvm.JvmStatic method baz(): void
|
||||
}
|
||||
|
||||
|
||||
public final class ReturnUnitKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(): void
|
||||
public final static @org.jetbrains.annotations.Nullable method nullableUnit(p0: boolean): kotlin.Unit
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleConstructorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method foo(p0: int, p1: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleMemberFunctionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public final class SimpleTopLevelFunctionsKt {
|
||||
private static @org.jetbrains.annotations.NotNull field state: java.lang.String
|
||||
public final static method bar(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
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): int
|
||||
public final static @org.jetbrains.annotations.NotNull method getState(): java.lang.String
|
||||
public final static method setState(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
Reference in New Issue
Block a user