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,21 @@
|
||||
public final class A {
|
||||
public final static field Companion: A.Companion
|
||||
private static field str: java.lang.String
|
||||
inner class A/Companion
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getMyStr(): java.lang.String
|
||||
public final method setMyStr(): void
|
||||
}
|
||||
|
||||
|
||||
private final static class A/Companion {
|
||||
inner class A/Companion
|
||||
private method <init>(): void
|
||||
private final method getStr(): java.lang.String
|
||||
private final method setStr(p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class AccessorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
public final class A {
|
||||
public final static field Companion: A.Companion
|
||||
private static field str: java.lang.String
|
||||
inner class A/Companion
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getMyStr(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
private final static class A/Companion {
|
||||
inner class A/Companion
|
||||
private method <init>(): void
|
||||
private final method getStr(): java.lang.String
|
||||
private final method setStr(p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class AccessorExceptionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public final class A {
|
||||
private field str: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getMyStr(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ExceptionFieldKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class A {
|
||||
public @org.jetbrains.annotations.NotNull field str: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
||||
public final method setStr(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class ExceptionGetterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
public final class A {
|
||||
public @org.jetbrains.annotations.NotNull field str: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getMyStr(): java.lang.String
|
||||
public @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
||||
public final method setMyStr(): void
|
||||
public method setStr(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public interface Intf {
|
||||
public abstract @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class OverrideKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class A {
|
||||
public @org.jetbrains.annotations.NotNull field str: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getMyStr(): java.lang.String
|
||||
public @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
||||
public method setStr(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public interface Intf {
|
||||
public abstract @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class OverrideExceptionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final class My {
|
||||
private @org.jetbrains.annotations.NotNull field x: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
|
||||
public final method init(): void
|
||||
private final method setX(p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class PrivateSetterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final class My {
|
||||
private @org.jetbrains.annotations.NotNull field x: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
|
||||
public final method init(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): void
|
||||
private final method setX(p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class PrivateSetterFromLambdaKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public final class A {
|
||||
public @org.jetbrains.annotations.NotNull field str: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
||||
public final method setStr(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleVarKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
public final class A {
|
||||
private field privateField: java.lang.String
|
||||
protected @org.jetbrains.annotations.NotNull field protectedField: java.lang.String
|
||||
public @org.jetbrains.annotations.NotNull field publicField: java.lang.String
|
||||
public method <init>(): void
|
||||
protected final @org.jetbrains.annotations.NotNull method getProtectedField(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getPublicField(): java.lang.String
|
||||
protected final method setProtectedField(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final method setPublicField(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class VisibilityKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user