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
+33
@@ -0,0 +1,33 @@
|
||||
public class A {
|
||||
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
|
||||
inner class A/B
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class A/B {
|
||||
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
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 final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method aReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method classReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method extReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method extReceiver(@org.jetbrains.annotations.NotNull p0: A): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method newAReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method superReceiver(): A.B
|
||||
}
|
||||
|
||||
|
||||
public final class InstantiateInDerivedKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
public class A {
|
||||
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
|
||||
inner class A/B
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class A/B {
|
||||
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
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 final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
inner class C/X
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class C/X {
|
||||
synthetic final field this$0: C
|
||||
inner class C/X
|
||||
public method <init>(p0: C): void
|
||||
public final @org.jetbrains.annotations.NotNull method classReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method superCCastReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method superCReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method superReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method superXCastReceiver(): A.B
|
||||
public final @org.jetbrains.annotations.NotNull method superXReceiver(): A.B
|
||||
}
|
||||
|
||||
|
||||
public final class InstantiateInDerivedLabeledKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
public final class C {
|
||||
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
|
||||
inner class C/B
|
||||
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 cReceiver(): C.B
|
||||
public final @org.jetbrains.annotations.NotNull method classReceiver(): C.B
|
||||
public final @org.jetbrains.annotations.NotNull method extReceiver(): C.B
|
||||
public final @org.jetbrains.annotations.NotNull method extReceiver1(@org.jetbrains.annotations.NotNull p0: C): C.B
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method newCReceiver(): C.B
|
||||
}
|
||||
|
||||
|
||||
public final class C/B {
|
||||
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
synthetic final field this$0: C
|
||||
inner class C/B
|
||||
public method <init>(@java.lang.Synthetic p0: C, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InstantiateInSameClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
public class A {
|
||||
inner class A/InnerA
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public class A/InnerA {
|
||||
synthetic final field this$0: A
|
||||
inner class A/InnerA
|
||||
public method <init>(p0: A): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
inner class B/InnerB
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B/InnerB {
|
||||
synthetic final field this$0: B
|
||||
inner class B/InnerB
|
||||
public method <init>(p0: B): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt6708Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
public class A {
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
inner class A/B
|
||||
inner class A/C
|
||||
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 {
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
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 final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method testB(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class A/C {
|
||||
synthetic final field this$0: A
|
||||
inner class A/C
|
||||
public method <init>(p0: A): void
|
||||
public final @org.jetbrains.annotations.NotNull method testC(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ProperOuterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
public class A {
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
inner class A/B
|
||||
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 @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method test(): 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 final @org.jetbrains.annotations.NotNull method testB(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ProperSuperLinkingKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user