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,5 @@
public final class DefaultArgsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public synthetic static method test$default(p0: int, p1: java.lang.Object, p2: int, p3: java.lang.Object): void
public final static method test(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.Object): void
}
@@ -0,0 +1,16 @@
public class A {
public method <init>(): void
public synthetic static method foo$default(p0: A, p1: java.lang.String, p2: int, p3: java.lang.Object): java.lang.String
public @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class B {
public method <init>(): void
public @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class DefaultArgsOverriddenKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class ExtensionTailCallKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: int, p1: int): void
}
@@ -0,0 +1,4 @@
public final class FunctionWithNoTailsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method noTails(): void
}
@@ -0,0 +1,4 @@
public final class FunctionWithNonTailRecursionsKt {
public final static method badTails(p0: int): int
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class FunctionWithoutAnnotationKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method withoutAnnotation(p0: int): int
}
@@ -0,0 +1,4 @@
public final class InfixCallKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int, p1: int): int
}
@@ -0,0 +1,4 @@
public final class InfixRecursiveCallKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: int, p1: int): void
}
@@ -0,0 +1,4 @@
public final class InsideElvisKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method test(p0: int): java.lang.Integer
}
@@ -0,0 +1,20 @@
public final class B {
inner class B/C
public method <init>(): void
public final method h2(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
public final @org.jetbrains.annotations.NotNull method makeC(): B.C
}
public final class B/C {
synthetic final field this$0: B
inner class B/C
public method <init>(p0: B): void
public final method h(p0: int): void
public final method h2(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
}
public final class LabeledThisReferencesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class LoopsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class MultilevelBlocksKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class RealIteratorFoldlKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foldl(@org.jetbrains.annotations.NotNull p0: java.util.Iterator, p1: java.lang.Object, @org.jetbrains.annotations.NotNull p2: kotlin.jvm.functions.Function2): java.lang.Object
}
@@ -0,0 +1,6 @@
public final class RealStringEscapeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public synthetic static method escape$default(p0: java.lang.String, p1: int, p2: java.lang.StringBuilder, p3: int, p4: java.lang.Object): java.lang.String
public final static @org.jetbrains.annotations.NotNull method escape(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int, @org.jetbrains.annotations.NotNull p2: java.lang.StringBuilder): java.lang.String
public final static @org.jetbrains.annotations.Nullable method escapeChar(p0: char): java.lang.String
}
@@ -0,0 +1,5 @@
public final class RealStringRepeatKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public synthetic static method repeat$default(p0: java.lang.String, p1: int, p2: java.lang.StringBuilder, p3: int, p4: java.lang.Object): java.lang.String
public final static @org.jetbrains.annotations.NotNull method repeat(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int, @org.jetbrains.annotations.NotNull p2: java.lang.StringBuilder): java.lang.String
}
@@ -0,0 +1,5 @@
public final class RecursiveCallInLambdaKt {
public final static method bar(@org.jetbrains.annotations.NotNull p0: java.lang.Object): void
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 RecursiveCallInLocalFunctionKt {
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 RecursiveInnerFunctionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(): void
}
@@ -0,0 +1,4 @@
public final class ReturnIfKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class ReturnInCatchKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class ReturnInFinallyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class ReturnInIfInFinallyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class ReturnInParenthesesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: int): void
}
@@ -0,0 +1,4 @@
public final class ReturnInTryKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class SimpleBlockKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class SimpleReturnKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class SimpleReturnWithElseKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): int
}
@@ -0,0 +1,4 @@
public final class SumKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method sum(p0: long, p1: long): long
}
@@ -0,0 +1,4 @@
public final class TailCallInBlockInParenthesesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: int): void
}
@@ -0,0 +1,4 @@
public final class TailCallInParenthesesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method foo(p0: int): void
}
@@ -0,0 +1,4 @@
public final class TailRecursionInFinallyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: boolean): void
}
@@ -0,0 +1,11 @@
public final class A {
public method <init>(): void
public final method f1(p0: int): void
public final method f2(p0: int): void
public final method f3(@org.jetbrains.annotations.NotNull p0: A): void
}
public final class ThisReferencesKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class UnitBlocksKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method test(p0: int): void
}
@@ -0,0 +1,4 @@
public final class WhenWithConditionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method withWhen(p0: int): int
}
@@ -0,0 +1,4 @@
public final class WhenWithInRangeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method withWhen(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.Object): int
}
@@ -0,0 +1,4 @@
public final class WhenWithIsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method withWhen(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.Object): int
}
@@ -0,0 +1,4 @@
public final class WhenWithoutConditionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method withWhen2(p0: int): int
}