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
Vendored
+31
@@ -0,0 +1,31 @@
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Anno {
|
||||
public abstract method x(): int
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
public final static field Companion: C.Companion
|
||||
inner class C/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class C/Companion {
|
||||
inner class C/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class ClassesWithoutConstructorsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface Interface
|
||||
|
||||
|
||||
public final class Obj {
|
||||
public final static field INSTANCE: Obj
|
||||
private method <init>(): void
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class ConstructorNameKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
public final class C {
|
||||
public final static field Companion: C.Companion
|
||||
inner class C/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class C/Companion {
|
||||
inner class C/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public enum class En {
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): En
|
||||
public static method values(): En[]
|
||||
}
|
||||
|
||||
|
||||
public interface I
|
||||
|
||||
|
||||
public final class O {
|
||||
public final static field INSTANCE: O
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class OnlyPrimary {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class OnlySecondary {
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class PrimaryConstructorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class PrimaryWithSecondary {
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public method <init>(p0: int): void
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class TwoSecondaries {
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public method <init>(p0: double): void
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
public class A {
|
||||
public method <init>(): void
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
private method <init>(p0: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
inner class C/Inner
|
||||
inner class C/Nested
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class C/Inner {
|
||||
synthetic final field this$0: C
|
||||
inner class C/Inner
|
||||
public method <init>(p0: C): void
|
||||
}
|
||||
|
||||
|
||||
public final static class C/Nested {
|
||||
inner class C/Nested
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleGetConstructorsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user