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
+8
@@ -0,0 +1,8 @@
|
||||
public final class JavaClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Klass {
|
||||
public method <init>(): void
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final class CallableReferencesKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method checkEquals(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KCallable, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KCallable): void
|
||||
public final static method checkToString(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KCallable, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class M {
|
||||
private final field bar: int
|
||||
public method <init>(): void
|
||||
public final method foo(): void
|
||||
public final method getBar(): int
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class ClassReferenceKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KClass): void
|
||||
}
|
||||
|
||||
|
||||
public final class M {
|
||||
public method <init>(): void
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
public final class PrimitiveJavaClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.Class): void
|
||||
}
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
public final class Box {
|
||||
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method component1(): java.lang.String
|
||||
public synthetic static method copy$default(p0: Box, p1: java.lang.String, p2: int, p3: java.lang.Object): Box
|
||||
public final @org.jetbrains.annotations.NotNull method copy(@org.jetbrains.annotations.NotNull p0: java.lang.String): Box
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
|
||||
public method hashCode(): int
|
||||
public method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class PropertyGetSetNameKt {
|
||||
private static @org.jetbrains.annotations.NotNull field pr: Box
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getPr(): Box
|
||||
public final static method setPr(@org.jetbrains.annotations.NotNull p0: Box): void
|
||||
}
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
public final class A {
|
||||
private @org.jetbrains.annotations.NotNull field mutable: java.lang.String
|
||||
private final @org.jetbrains.annotations.NotNull field readonly: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getMutable(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getReadonly(): java.lang.String
|
||||
public final method setMutable(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class PropertyInstanceofKt {
|
||||
private static @org.jetbrains.annotations.NotNull field mutable: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field readonly: java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getMutable(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getReadonly(): java.lang.String
|
||||
public final static method setMutable(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
public final class Klass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class ReifiedTypeJavaClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method simpleName(): java.lang.String
|
||||
private final static method simpleName2(): java.lang.String
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
public final class Klass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class SimpleClassLiteralsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user