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
+11
@@ -0,0 +1,11 @@
|
||||
public final class AnonymousInitializerIObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Foo {
|
||||
public final static field INSTANCE: Foo
|
||||
private final static @org.jetbrains.annotations.NotNull field bar: java.lang.String
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getBar(): java.lang.String
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class AnonymousInitializerInClassObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Foo {
|
||||
public final static field Companion: Foo.Companion
|
||||
private final static @org.jetbrains.annotations.NotNull field bar: java.lang.String
|
||||
inner class Foo/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Foo/Companion {
|
||||
inner class Foo/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getBar(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class TestKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class TestKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class TestKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
public final class A {
|
||||
public final static field Companion: A.Companion
|
||||
private static @org.jetbrains.annotations.NotNull field holder: java.lang.String
|
||||
private static field r2: int
|
||||
private static field r3: int
|
||||
private static field r4: int
|
||||
private static field r: int
|
||||
inner class A/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class A/Companion {
|
||||
inner class A/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getHolder(): java.lang.String
|
||||
private final method getR(): int
|
||||
public final method getR2(): int
|
||||
public final method getR3(): int
|
||||
public final method getR4(): int
|
||||
public final method setHolder(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
private final method setR(p0: int): void
|
||||
public final method setR2(p0: int): void
|
||||
public final method setR3(p0: int): void
|
||||
public final method setR4(p0: int): void
|
||||
public final method test(): int
|
||||
public final method test2(): int
|
||||
public final method test3(): int
|
||||
public final method test4(): int
|
||||
}
|
||||
|
||||
|
||||
public final class IncInClassObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
public final class A {
|
||||
public final static field INSTANCE: A
|
||||
private static @org.jetbrains.annotations.NotNull field holder: java.lang.String
|
||||
private static field r2: int
|
||||
private static field r3: int
|
||||
private static field r4: int
|
||||
private static field r: int
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getHolder(): java.lang.String
|
||||
public final method getR2(): int
|
||||
public final method getR3(): int
|
||||
public final method getR4(): int
|
||||
public final method setHolder(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final method setR2(p0: int): void
|
||||
public final method setR3(p0: int): void
|
||||
public final method setR4(p0: int): void
|
||||
public final method test(): int
|
||||
public final method test2(): int
|
||||
public final method test3(): int
|
||||
public final method test4(): int
|
||||
}
|
||||
|
||||
|
||||
public final class IncInObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
public class Bar {
|
||||
private final @org.jetbrains.annotations.NotNull field prop: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Foo {
|
||||
public final static field Companion: Foo.Companion
|
||||
private final static @org.jetbrains.annotations.NotNull field p2: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field p3: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field p4: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field p5: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field p: java.lang.String
|
||||
inner class Foo/Companion
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getP4(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getP5(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final static class Foo/Companion {
|
||||
inner class Foo/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getP2(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getP3(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InheritedPropertyInClassObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
public class Bar {
|
||||
private final @org.jetbrains.annotations.NotNull field prop: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Foo {
|
||||
public final static field INSTANCE: Foo
|
||||
private final static @org.jetbrains.annotations.NotNull field p2: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field p3: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field p: java.lang.String
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getP2(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getP3(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InheritedPropertyInObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class TestKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method test(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
public final class C {
|
||||
public final static field Companion: C.Companion
|
||||
private static field s2: java.lang.String
|
||||
private final static field s: java.lang.String
|
||||
inner class C/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class C/Companion {
|
||||
inner class C/Companion
|
||||
private method <init>(): void
|
||||
public final method bar2(): void
|
||||
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method foo2(): java.lang.String
|
||||
private final method getS(): java.lang.String
|
||||
private final method getS2(): java.lang.String
|
||||
private final method setS2(p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt8089Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class zzz/A {
|
||||
public method <init>(): void
|
||||
public final method test(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class zzz/KotlinKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
public final class anotherPackage/FirstKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class anotherPackage/Second {
|
||||
private final @org.jetbrains.annotations.NotNull field some2: kotlin.jvm.functions.Function0
|
||||
private final @org.jetbrains.annotations.NotNull field some: kotlin.jvm.functions.Function0
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method foo(): kotlin.jvm.functions.Function0
|
||||
public final @org.jetbrains.annotations.NotNull method foo2(): kotlin.jvm.functions.Function0
|
||||
public final @org.jetbrains.annotations.NotNull method getSome(): kotlin.jvm.functions.Function0
|
||||
public final @org.jetbrains.annotations.NotNull method getSome2(): kotlin.jvm.functions.Function0
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class anotherPackage/Kotlin {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method doTest(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class anotherPackage/KotlinKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class anotherPackage/KotlinKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class anotherPackage/Test {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method doTest(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
public final class A {
|
||||
public final static field INSTANCE: A
|
||||
private final static field p: java.lang.String
|
||||
inner class A/B
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class A/B {
|
||||
public final static field INSTANCE: A.B
|
||||
private final static @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
inner class A/B
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class SyntheticAccessorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user