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,14 @@
public final class ComparablePair {
private final @org.jetbrains.annotations.NotNull field first: java.lang.Comparable
private final @org.jetbrains.annotations.NotNull field second: java.lang.Comparable
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.Comparable, @org.jetbrains.annotations.NotNull p1: java.lang.Comparable): void
public method compareTo(@org.jetbrains.annotations.NotNull p0: ComparablePair): int
public synthetic method compareTo(p0: java.lang.Object): int
public final @org.jetbrains.annotations.NotNull method getFirst(): java.lang.Comparable
public final @org.jetbrains.annotations.NotNull method getSecond(): java.lang.Comparable
}
public final class InComparableRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,6 @@
public final class InExtensionRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method rangeTo(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int): kotlin.ranges.ClosedRange
public final static @org.jetbrains.annotations.NotNull method rangeTo(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): kotlin.ranges.ClosedRange
public final static @org.jetbrains.annotations.NotNull method rangeTo(p0: long, p1: double): kotlin.ranges.ClosedRange
}
@@ -0,0 +1,5 @@
public final class InOptimizableDoubleRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(p0: double, p1: double, p2: double): boolean
public final static method checkUnoptimized(p0: double, @org.jetbrains.annotations.NotNull p1: kotlin.ranges.ClosedRange): boolean
}
@@ -0,0 +1,5 @@
public final class InOptimizableFloatRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(p0: float, p1: float, p2: float): boolean
public final static method checkUnoptimized(p0: float, @org.jetbrains.annotations.NotNull p1: kotlin.ranges.ClosedRange): boolean
}
@@ -0,0 +1,5 @@
public final class InOptimizableIntRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(p0: int, p1: int, p2: int): boolean
public final static method checkUnoptimized(p0: int, @org.jetbrains.annotations.NotNull p1: kotlin.ranges.ClosedRange): boolean
}
@@ -0,0 +1,5 @@
public final class InOptimizableLongRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(p0: long, p1: long, p2: long): boolean
public final static method checkUnoptimized(p0: long, @org.jetbrains.annotations.NotNull p1: kotlin.ranges.ClosedRange): boolean
}
@@ -0,0 +1,27 @@
public final class InRangeWithCustomContainsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method rangeTo(@org.jetbrains.annotations.NotNull p0: Value, @org.jetbrains.annotations.NotNull p1: Value): kotlin.ranges.ClosedRange
}
public final class Value {
private final field x: int
public method <init>(p0: int): void
public method compareTo(@org.jetbrains.annotations.NotNull p0: Value): int
public synthetic method compareTo(p0: java.lang.Object): int
public final method getX(): int
}
public final class ValueRange {
private final @org.jetbrains.annotations.NotNull field endInclusive: Value
private final @org.jetbrains.annotations.NotNull field start: Value
public method <init>(@org.jetbrains.annotations.NotNull p0: Value, @org.jetbrains.annotations.NotNull p1: Value): void
public method contains(@org.jetbrains.annotations.NotNull p0: Value): boolean
public synthetic method contains(p0: java.lang.Comparable): boolean
public @org.jetbrains.annotations.NotNull method getEndInclusive(): Value
public synthetic method getEndInclusive(): java.lang.Comparable
public @org.jetbrains.annotations.NotNull method getStart(): Value
public synthetic method getStart(): java.lang.Comparable
public method isEmpty(): boolean
}
@@ -0,0 +1,5 @@
public final class InRangeWithImplicitReceiverKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method inDoubles(p0: double, p1: double, p2: double): boolean
public final static method inLongs(p0: long, p1: long, p2: long): boolean
}
@@ -0,0 +1,3 @@
public final class InRangeWithNonmatchingArgumentsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class InRangeWithSmartCastKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
public final static method check(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.Nullable p1: java.lang.Object, @org.jetbrains.annotations.Nullable p2: java.lang.Object): boolean
}
@@ -0,0 +1,4 @@
public final class RangeContainsStringKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method contains(@org.jetbrains.annotations.NotNull p0: kotlin.ranges.IntRange, @org.jetbrains.annotations.NotNull p1: java.lang.String): boolean
}
@@ -0,0 +1,3 @@
public final class EmptyDowntoKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class EmptyRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class InexactDownToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class InexactSteppedDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class InexactSteppedRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class InexactToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class MaxValueMinusTwoToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class MaxValueToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class MaxValueToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class OneElementDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class OneElementRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class OpenRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionDownToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionMaxValueMinusTwoToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionMaxValueToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionMaxValueToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionMinValueToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedBackSequenceKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedEmptyBackSequenceKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedEmptyRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedInexactSteppedDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedSimpleSteppedRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleRangeWithNonConstantEndsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleSteppedDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleSteppedRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ForByteProgressionWithIntIncrementKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ForIntInDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ForIntInNonOptimizedDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ForLongInDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ForNullableIntInDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class ForInCollectionImplicitReceiverIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method sumIndices(@org.jetbrains.annotations.NotNull p0: java.util.Collection): int
}
@@ -0,0 +1,3 @@
public final class ForInCollectionIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class ForInNonOptimizedIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method sumIndices(@org.jetbrains.annotations.Nullable p0: java.util.Collection): int
}
@@ -0,0 +1,3 @@
public final class ForInObjectArrayIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ForInPrimitiveArrayIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class ForNullableIntInArrayIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method suppressBoxingOptimization(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
}
@@ -0,0 +1,4 @@
public final class ForNullableIntInCollectionIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method suppressBoxingOptimization(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
}
@@ -0,0 +1,20 @@
public abstract class BaseGeneric {
private final field t: java.lang.Object
public method <init>(p0: java.lang.Object): void
public final method getT(): java.lang.Object
public abstract method iterate(): void
}
public final class Derived {
private field test: int
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): void
public final method getTest(): int
public method iterate(): void
public final method setTest(p0: int): void
}
public final class Kt12983_forInGenericArrayIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,20 @@
public abstract class BaseGeneric {
private final field t: java.lang.Object
public method <init>(p0: java.lang.Object): void
public final method getT(): java.lang.Object
public abstract method iterate(): void
}
public final class Derived {
private field test: int
public method <init>(@org.jetbrains.annotations.NotNull p0: java.util.List): void
public final method getTest(): int
public method iterate(): void
public final method setTest(p0: int): void
}
public final class Kt12983_forInGenericCollectionIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,20 @@
public abstract class BaseGeneric {
private final field t: java.lang.Object
public method <init>(p0: java.lang.Object): void
public final method getT(): java.lang.Object
public abstract method iterate(): void
}
public final class Derived {
private field test: int
public method <init>(@org.jetbrains.annotations.NotNull p0: double[]): void
public final method getTest(): int
public method iterate(): void
public final method setTest(p0: int): void
}
public final class Kt12983_forInSpecificArrayIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,20 @@
public abstract class BaseGeneric {
private final field t: java.lang.Object
public method <init>(p0: java.lang.Object): void
public final method getT(): java.lang.Object
public abstract method iterate(): void
}
public final class Derived {
private field test: int
public method <init>(@org.jetbrains.annotations.NotNull p0: java.util.List): void
public final method getTest(): int
public method iterate(): void
public final method setTest(p0: int): void
}
public final class Kt12983_forInSpecificCollectionIndicesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class Kt13241_ArrayKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(@org.jetbrains.annotations.NotNull p0: java.lang.Object): int
}
@@ -0,0 +1,4 @@
public final class Kt13241_CollectionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(@org.jetbrains.annotations.NotNull p0: java.lang.Object): int
}
@@ -0,0 +1,4 @@
public final class ForInRangeWithImplicitReceiverKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method digitsUpto(p0: int, p1: int): int
}
@@ -0,0 +1,3 @@
public final class ForIntRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class ForNullableIntInRangeWithImplicitReceiverKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method digitsUpto(p0: int, p1: int): int
public final static method suppressBoxingOptimization(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): void
}
@@ -0,0 +1,3 @@
public final class EmptyDowntoKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class EmptyRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class InexactDownToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class InexactSteppedDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class InexactSteppedRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class InexactToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class MaxValueMinusTwoToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class MaxValueToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class MaxValueToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class OneElementDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class OneElementRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class OpenRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionDownToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionMaxValueMinusTwoToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionMaxValueToMaxValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionMaxValueToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ProgressionMinValueToMinValueKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedBackSequenceKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedEmptyBackSequenceKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedEmptyRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedInexactSteppedDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class ReversedSimpleSteppedRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleRangeWithNonConstantEndsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleSteppedDownToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,3 @@
public final class SimpleSteppedRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,5 @@
public final class MultiAssignmentIterationOverIntRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method component1(p0: int): java.lang.String
public final static method component2(p0: int): int
}
@@ -0,0 +1,4 @@
public final class ProgressionExpressionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method sum(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Integer): int
}
@@ -0,0 +1,4 @@
public final class RangeExpressionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method sum(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Integer): int
}
@@ -0,0 +1,4 @@
public final class RangeLiteralKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method sum(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Integer): int
}
@@ -0,0 +1,11 @@
public final class SafeCallRangeToKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method byteRange(@org.jetbrains.annotations.Nullable p0: java.lang.Byte, p1: byte): kotlin.ranges.IntRange
public final static @org.jetbrains.annotations.Nullable method charRange(@org.jetbrains.annotations.Nullable p0: java.lang.Character, p1: char): kotlin.ranges.CharRange
public final static @org.jetbrains.annotations.Nullable method dougleRange(@org.jetbrains.annotations.Nullable p0: java.lang.Double, p1: double): kotlin.ranges.ClosedRange
public final static @org.jetbrains.annotations.Nullable method floatRange(@org.jetbrains.annotations.Nullable p0: java.lang.Float, p1: float): kotlin.ranges.ClosedRange
public final static @org.jetbrains.annotations.Nullable method intRange(@org.jetbrains.annotations.Nullable p0: java.lang.Integer, p1: int): kotlin.ranges.IntRange
public final static @org.jetbrains.annotations.Nullable method longRange(@org.jetbrains.annotations.Nullable p0: java.lang.Long, p1: long): kotlin.ranges.LongRange
public final static @org.jetbrains.annotations.Nullable method shortRange(@org.jetbrains.annotations.Nullable p0: java.lang.Short, p1: short): kotlin.ranges.IntRange
private final static method testSafeRange(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.String, p3: kotlin.jvm.functions.Function2): void
}