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:
Yan Zhulanow
2016-11-03 01:21:23 +03:00
committed by Yan Zhulanow
parent 8bdb54929b
commit 328286ab14
2287 changed files with 51250 additions and 2 deletions
@@ -0,0 +1,4 @@
public final class UnitValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): void
}
@@ -0,0 +1,4 @@
public final class ClosureReturnsNullableUnitKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method isNull(@org.jetbrains.annotations.Nullable p0: kotlin.Unit): boolean
}
@@ -0,0 +1,22 @@
public final class A {
private @org.jetbrains.annotations.NotNull field cond1: java.lang.String
private @org.jetbrains.annotations.NotNull field cond2: java.lang.String
private final @org.jetbrains.annotations.NotNull field p: java.lang.String
private final @org.jetbrains.annotations.Nullable field prop1: java.lang.String
private final @org.jetbrains.annotations.Nullable field prop2: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
public final method cond1(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public final method cond2(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public final @org.jetbrains.annotations.NotNull method getCond1(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getCond2(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
public final @org.jetbrains.annotations.Nullable method getProp1(): java.lang.String
public final @org.jetbrains.annotations.Nullable method getProp2(): java.lang.String
public final method setCond1(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setCond2(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class IfElseKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,7 @@
public final class Kt3634Kt {
private final static @org.jetbrains.annotations.NotNull field c: kotlin.Unit
private final static @org.jetbrains.annotations.NotNull field d: kotlin.Unit
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getC(): kotlin.Unit
public final static @org.jetbrains.annotations.NotNull method getD(): kotlin.Unit
}
@@ -0,0 +1,7 @@
public final class Kt4212Kt {
public final static method bar(): void
public final static @org.jetbrains.annotations.Nullable method baz(): java.lang.Object
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method foo(): java.lang.Object
public final static @org.jetbrains.annotations.Nullable method quux(): kotlin.Unit
}
@@ -0,0 +1,4 @@
public final class Kt4265Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method let(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.Object
}
@@ -0,0 +1,7 @@
public final class NullableUnitKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method deepIsNull(@org.jetbrains.annotations.Nullable p0: kotlin.Unit): boolean
public final static method deepIsNull0(@org.jetbrains.annotations.Nullable p0: kotlin.Unit): boolean
public final static method isNull(@org.jetbrains.annotations.Nullable p0: kotlin.Unit): boolean
public final static method isNullGeneric(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
}
@@ -0,0 +1,4 @@
public final class NullableUnitInWhen1Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): void
}
@@ -0,0 +1,4 @@
public final class NullableUnitInWhen2Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): void
}
@@ -0,0 +1,4 @@
public final class NullableUnitInWhen3Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(): void
}
@@ -0,0 +1,3 @@
public final class UnitClassObjectKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}