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,15 @@
|
||||
public final class BaseKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Outer {
|
||||
inner class Outer/Inner
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Inner {
|
||||
inner class Outer/Inner
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
public final class CapturedKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Outer {
|
||||
public final static field Companion: Outer.Companion
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
inner class Outer/Companion
|
||||
private method <init>(p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Companion {
|
||||
inner class Outer/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method test(): Outer
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
public final class CompanionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Outer {
|
||||
public final static field Companion: Outer.Companion
|
||||
inner class Outer/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Companion {
|
||||
inner class Outer/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method foo(): Outer
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
public final class InlineKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Outer {
|
||||
public final static field Companion: Outer.Companion
|
||||
inner class Outer/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Companion {
|
||||
inner class Outer/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method foo$test_module(): Outer
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
public final class InnerKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Outer {
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
inner class Outer/Inner
|
||||
inner class Outer/Nested
|
||||
private method <init>(p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method bar(): Outer.Inner
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Outer/Inner {
|
||||
synthetic final field this$0: Outer
|
||||
inner class Outer/Inner
|
||||
public method <init>(p0: Outer): void
|
||||
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Nested {
|
||||
inner class Outer/Nested
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
public class A {
|
||||
public final static field Companion: A.Companion
|
||||
inner class A/B
|
||||
inner class A/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class A/B {
|
||||
inner class A/B
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class A/Companion {
|
||||
inner class A/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt4860Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public class Outer {
|
||||
private final field x: int
|
||||
public method <init>(): void
|
||||
private method <init>(p0: int): void
|
||||
public final method getX(): int
|
||||
}
|
||||
|
||||
|
||||
public final class SecondaryKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
public final class PrivateConstructor {
|
||||
inner class PrivateConstructor/Nested
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class PrivateConstructor/Nested {
|
||||
private final @org.jetbrains.annotations.NotNull field a: PrivateConstructor
|
||||
inner class PrivateConstructor/Nested
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getA(): PrivateConstructor
|
||||
}
|
||||
|
||||
|
||||
public final class SyntheticKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(@org.jetbrains.annotations.NotNull p0: java.lang.Class): void
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
public class Outer {
|
||||
private final field f: boolean
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
inner class Outer/Another
|
||||
inner class Outer/Inner
|
||||
inner class Outer/Other
|
||||
private method <init>(p0: java.lang.String, p1: boolean): void
|
||||
synthetic method <init>(p0: java.lang.String, p1: boolean, p2: int, p3: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public final method getF(): boolean
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Another {
|
||||
inner class Outer/Another
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Inner {
|
||||
inner class Outer/Inner
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Other {
|
||||
inner class Outer/Other
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class WithArgumentsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
public class Outer {
|
||||
private final field x: int
|
||||
inner class Outer/Inner
|
||||
inner class Outer/Other
|
||||
private method <init>(p0: int): void
|
||||
synthetic method <init>(p0: int, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public final method getX(): int
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Inner {
|
||||
inner class Outer/Inner
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Other {
|
||||
inner class Outer/Other
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class WithDefaultKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
public class Outer {
|
||||
private final @org.jetbrains.annotations.Nullable field p: Outer
|
||||
inner class Outer/First
|
||||
inner class Outer/Other
|
||||
private method <init>(p0: Outer): void
|
||||
public final @org.jetbrains.annotations.Nullable method getP(): Outer
|
||||
}
|
||||
|
||||
|
||||
public final class Outer/First {
|
||||
public final static field INSTANCE: Outer.First
|
||||
inner class Outer/First
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Other {
|
||||
inner class Outer/Other
|
||||
public method <init>(): void
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: Outer): void
|
||||
public synthetic method <init>(p0: Outer, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
|
||||
|
||||
public final class WithLinkedClassesKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
public class Outer {
|
||||
private final @org.jetbrains.annotations.Nullable field p: Outer
|
||||
inner class Outer/Another
|
||||
inner class Outer/Inner
|
||||
inner class Outer/Other
|
||||
private method <init>(p0: Outer): void
|
||||
public final @org.jetbrains.annotations.Nullable method getP(): Outer
|
||||
}
|
||||
|
||||
|
||||
public final class Outer/Another {
|
||||
public final static field INSTANCE: Outer.Another
|
||||
inner class Outer/Another
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Outer/Inner {
|
||||
public final static field INSTANCE: Outer.Inner
|
||||
inner class Outer/Inner
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Outer/Other {
|
||||
public final static field INSTANCE: Outer.Other
|
||||
inner class Outer/Other
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class WithLinkedObjectsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
public class Outer {
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
inner class Outer/Another
|
||||
inner class Outer/Inner
|
||||
inner class Outer/Other
|
||||
private method <init>(p0: java.lang.String, p1: int[]): void
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Another {
|
||||
inner class Outer/Another
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Inner {
|
||||
inner class Outer/Inner
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Outer/Other {
|
||||
inner class Outer/Other
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class WithVarargsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user