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 class A {
private final field length: int
public method <init>(): void
public final method charAt(p0: int): char
public method get(p0: int): char
public method getLength(): int
public final method length(): int
public @org.jetbrains.annotations.NotNull method subSequence(p0: int, p1: int): java.lang.CharSequence
}
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,41 @@
public final class ListImpl {
public method <init>(): void
public method getSize(): int
}
public abstract class MyList {
public method <init>(): void
public synthetic method add(p0: int, p1: java.lang.Object): void
public method add(p0: int, p1: java.lang.String): void
public synthetic method add(p0: java.lang.Object): boolean
public method add(p0: java.lang.String): boolean
public method addAll(p0: int, p1: java.util.Collection): boolean
public method addAll(p0: java.util.Collection): boolean
public method clear(): void
public final method contains(p0: java.lang.Object): boolean
public abstract method contains(p0: java.lang.String): boolean
public abstract method getSize(): int
public final method indexOf(p0: java.lang.Object): int
public abstract method indexOf(p0: java.lang.String): int
public final method lastIndexOf(p0: java.lang.Object): int
public abstract method lastIndexOf(p0: java.lang.String): int
public method listIterator(): java.util.ListIterator
public method listIterator(p0: int): java.util.ListIterator
public synthetic method remove(p0: int): java.lang.Object
public method remove(p0: int): java.lang.String
public method remove(p0: java.lang.Object): boolean
public method removeAll(p0: java.util.Collection): boolean
public method retainAll(p0: java.util.Collection): boolean
public synthetic method set(p0: int, p1: java.lang.Object): java.lang.Object
public method set(p0: int, p1: java.lang.String): java.lang.String
public final method size(): int
public method subList(p0: int, p1: int): java.util.List
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,4 @@
public final class InSetWithSmartCastKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method contains(@org.jetbrains.annotations.NotNull p0: java.util.Set, p1: int): boolean
}
@@ -0,0 +1,10 @@
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class X {
public method <init>(): void
public final method charAt(p0: int): char
public method get(p0: int): char
}
@@ -0,0 +1,15 @@
public abstract class AImpl {
public method <init>(): void
public final method charAt(p0: int): char
public final method length(): int
}
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class X {
public method <init>(): void
}
@@ -0,0 +1,16 @@
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class X {
public method <init>(): void
public final method indexOf(p0: java.lang.Object): int
public method indexOf(p0: java.lang.String): int
public final method lastIndexOf(p0: java.lang.Object): int
public method lastIndexOf(p0: java.lang.String): int
public final method remove(p0: int): java.lang.String
public final method remove(p0: java.lang.Object): boolean
public method remove(p0: java.lang.String): boolean
public method removeAt(p0: int): java.lang.String
}
@@ -0,0 +1,34 @@
public abstract class AImpl {
public method <init>(): void
public final method add(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public final method add(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final @kotlin.jvm.JvmSuppressWildcards method addAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public final method addAll(p0: int, @org.jetbrains.annotations.NotNull p1: java.util.Collection): boolean
public final method clear(): void
public final method contains(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
public final method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public final @org.jetbrains.annotations.NotNull method get(p0: int): java.lang.String
public final method indexOf(@org.jetbrains.annotations.Nullable p0: java.lang.Object): int
public final method isEmpty(): boolean
public final @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public final method lastIndexOf(@org.jetbrains.annotations.Nullable p0: java.lang.Object): int
public final @org.jetbrains.annotations.NotNull method listIterator(): java.util.ListIterator
public final @org.jetbrains.annotations.NotNull method listIterator(p0: int): java.util.ListIterator
public final method remove(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
public final @org.jetbrains.annotations.NotNull method remove(p0: int): java.lang.String
public final method removeAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public final method retainAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public final @org.jetbrains.annotations.NotNull method set(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
public final method size(): int
public final @org.jetbrains.annotations.NotNull method subList(p0: int, p1: int): java.util.List
}
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class X {
public method <init>(): void
}
@@ -0,0 +1,12 @@
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class X {
public method <init>(): void
public method getSize(): int
public final method remove(p0: int): java.lang.Object
public method removeAt(p0: int): java.lang.Object
public final method size(): int
}
@@ -0,0 +1,46 @@
public final class A {
public method <init>(): void
public method add(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public method add(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public synthetic method add(p0: int, p1: java.lang.Object): void
public synthetic method add(p0: java.lang.Object): boolean
public method addAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method addAll(p0: int, @org.jetbrains.annotations.NotNull p1: java.util.Collection): boolean
public method clear(): void
public method contains(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public final method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public synthetic method get(p0: int): java.lang.Object
public @org.jetbrains.annotations.NotNull method get(p0: int): java.lang.String
public method getSize(): int
public method indexOf(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final method indexOf(p0: java.lang.Object): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method lastIndexOf(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final method lastIndexOf(p0: java.lang.Object): int
public @org.jetbrains.annotations.NotNull method listIterator(): java.util.ListIterator
public @org.jetbrains.annotations.NotNull method listIterator(p0: int): java.util.ListIterator
public method remove(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public synthetic method remove(p0: int): java.lang.Object
public final method remove(p0: int): java.lang.String
public final method remove(p0: java.lang.Object): boolean
public method removeAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method retainAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public @org.jetbrains.annotations.NotNull method set(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
public synthetic method set(p0: int, p1: java.lang.Object): java.lang.Object
public final method size(): int
public @org.jetbrains.annotations.NotNull method subList(p0: int, p1: int): java.util.List
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public interface Container {
public abstract @org.jetbrains.annotations.NotNull method removeAt(p0: int): java.lang.String
}
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,26 @@
public final class A {
public method <init>(): void
public method add(p0: java.lang.Object): boolean
public method addAll(p0: java.util.Collection): boolean
public method clear(): void
public method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method remove(p0: java.lang.Object): boolean
public method removeAll(p0: java.util.Collection): boolean
public method retainAll(p0: java.util.Collection): boolean
public final method size(): int
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public interface Sized {
public abstract method getSize(): int
}
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,33 @@
public class KList {
public method <init>(): void
public method add(p0: int, p1: java.lang.Object): void
public method add(p0: java.lang.Object): boolean
public method addAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method addAll(p0: int, @org.jetbrains.annotations.NotNull p1: java.util.Collection): boolean
public method clear(): void
public method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method get(p0: int): java.lang.Object
public method getSize(): int
public method indexOf(p0: java.lang.Object): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method lastIndexOf(p0: java.lang.Object): int
public @org.jetbrains.annotations.NotNull method listIterator(): java.util.ListIterator
public @org.jetbrains.annotations.NotNull method listIterator(p0: int): java.util.ListIterator
public final method remove(p0: int): java.lang.Object
public method remove(p0: java.lang.Object): boolean
public method removeAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method removeAt(p0: int): java.lang.Object
public method retainAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method set(p0: int, p1: java.lang.Object): java.lang.Object
public final method size(): int
public @org.jetbrains.annotations.NotNull method subList(p0: int, p1: int): java.util.List
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public final class TestKt {
public final static method box(): java.lang.String
}
@@ -0,0 +1,40 @@
public class A {
public method <init>(): void
public method add(p0: java.lang.Object): boolean
public method addAll(p0: java.util.Collection): boolean
public method clear(): void
public method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method getSize(): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method remove(p0: java.lang.Object): boolean
public method removeAll(p0: java.util.Collection): boolean
public method retainAll(p0: java.util.Collection): boolean
public final method size(): int
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public final class C {
public method <init>(): void
public method add(p0: int, p1: java.lang.Object): void
public method addAll(p0: int, p1: java.util.Collection): boolean
public method get(p0: int): java.lang.Object
public method indexOf(p0: java.lang.Object): int
public method lastIndexOf(p0: java.lang.Object): int
public @org.jetbrains.annotations.NotNull method listIterator(): java.util.ListIterator
public @org.jetbrains.annotations.NotNull method listIterator(p0: int): java.util.ListIterator
public method remove(p0: int): java.lang.Object
public method set(p0: int, p1: java.lang.Object): java.lang.Object
public @org.jetbrains.annotations.NotNull method subList(p0: int, p1: int): java.util.List
}
public interface L
public final class MainKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,24 @@
public final class MySet {
public method <init>(): void
public synthetic method add(p0: java.lang.Object): boolean
public method add(p0: java.lang.String): boolean
public method addAll(p0: java.util.Collection): boolean
public method clear(): void
public method contains(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public final method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method getSize(): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method remove(p0: java.lang.Object): boolean
public method removeAll(p0: java.util.Collection): boolean
public method retainAll(p0: java.util.Collection): boolean
public final method size(): int
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,32 @@
public class KList {
public method <init>(): void
public method add(p0: int, p1: java.lang.Object): void
public method add(p0: java.lang.Object): boolean
public method addAll(p0: int, p1: java.util.Collection): boolean
public method addAll(p0: java.util.Collection): boolean
public method clear(): void
public method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method get(p0: int): java.lang.Object
public method getSize(): int
public method indexOf(p0: java.lang.Object): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method lastIndexOf(p0: java.lang.Object): int
public @org.jetbrains.annotations.NotNull method listIterator(): java.util.ListIterator
public @org.jetbrains.annotations.NotNull method listIterator(p0: int): java.util.ListIterator
public method remove(p0: int): java.lang.Object
public method remove(p0: java.lang.Object): boolean
public method removeAll(p0: java.util.Collection): boolean
public method retainAll(p0: java.util.Collection): boolean
public method set(p0: int, p1: java.lang.Object): java.lang.Object
public final method size(): int
public @org.jetbrains.annotations.NotNull method subList(p0: int, p1: int): java.util.List
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public final class TestKt {
public final static method box(): java.lang.String
}
@@ -0,0 +1,24 @@
public class KMap {
public method <init>(): void
public method clear(): void
public method containsKey(p0: java.lang.Object): boolean
public method containsValue(p0: java.lang.Object): boolean
public final method entrySet(): java.util.Set
public @org.jetbrains.annotations.Nullable method get(p0: java.lang.Object): java.lang.Object
public @org.jetbrains.annotations.NotNull method getEntries(): java.util.Set
public @org.jetbrains.annotations.NotNull method getKeys(): java.util.Set
public method getSize(): int
public @org.jetbrains.annotations.NotNull method getValues(): java.util.Collection
public method isEmpty(): boolean
public final method keySet(): java.util.Set
public method put(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
public method putAll(p0: java.util.Map): void
public method remove(p0: java.lang.Object): java.lang.Object
public final method size(): int
public final method values(): java.util.Collection
}
public final class TestKt {
public final static method box(): java.lang.String
}
@@ -0,0 +1,42 @@
public class A {
public method <init>(): void
public method add(p0: int): boolean
public method add(p0: int, p1: int): void
public synthetic method add(p0: int, p1: java.lang.Object): void
public synthetic method add(p0: java.lang.Object): boolean
public method addAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method addAll(p0: int, @org.jetbrains.annotations.NotNull p1: java.util.Collection): boolean
public method clear(): void
public method contains(p0: int): boolean
public final method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public @org.jetbrains.annotations.NotNull method get(p0: int): java.lang.Integer
public synthetic method get(p0: int): java.lang.Object
public method getSize(): int
public method indexOf(p0: int): int
public final method indexOf(p0: java.lang.Object): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method lastIndexOf(p0: int): int
public final method lastIndexOf(p0: java.lang.Object): int
public @org.jetbrains.annotations.NotNull method listIterator(): java.util.ListIterator
public @org.jetbrains.annotations.NotNull method listIterator(p0: int): java.util.ListIterator
public method remove(@org.jetbrains.annotations.NotNull p0: java.lang.Integer): boolean
public final method remove(p0: int): int
public synthetic method remove(p0: int): java.lang.Object
public final method remove(p0: java.lang.Object): boolean
public method removeAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public @org.jetbrains.annotations.NotNull method removeAt(p0: int): java.lang.Integer
public method retainAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public @org.jetbrains.annotations.NotNull method set(p0: int, p1: int): java.lang.Integer
public synthetic method set(p0: int, p1: java.lang.Object): java.lang.Object
public final method size(): int
public @org.jetbrains.annotations.NotNull method subList(p0: int, p1: int): java.util.List
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public final class TestKt {
public final static method box(): java.lang.String
}
@@ -0,0 +1,42 @@
public abstract class KList {
public method <init>(): void
public method add(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public method add(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public synthetic method add(p0: int, p1: java.lang.Object): void
public synthetic method add(p0: java.lang.Object): boolean
public method addAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method addAll(p0: int, @org.jetbrains.annotations.NotNull p1: java.util.Collection): boolean
public method clear(): void
public method contains(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public final method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public synthetic method get(p0: int): java.lang.Object
public @org.jetbrains.annotations.NotNull method get(p0: int): java.lang.String
public method getSize(): int
public method indexOf(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final method indexOf(p0: java.lang.Object): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method lastIndexOf(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final method lastIndexOf(p0: java.lang.Object): int
public @org.jetbrains.annotations.NotNull method listIterator(): java.util.ListIterator
public @org.jetbrains.annotations.NotNull method listIterator(p0: int): java.util.ListIterator
public method remove(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public synthetic method remove(p0: int): java.lang.Object
public final method remove(p0: int): java.lang.String
public final method remove(p0: java.lang.Object): boolean
public method removeAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public @org.jetbrains.annotations.NotNull method removeAt(p0: int): java.lang.String
public method retainAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public @org.jetbrains.annotations.NotNull method set(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
public synthetic method set(p0: int, p1: java.lang.Object): java.lang.Object
public final method size(): int
public @org.jetbrains.annotations.NotNull method subList(p0: int, p1: int): java.util.List
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public final class TestKt {
public final static method box(): java.lang.String
}
@@ -0,0 +1,22 @@
public class A {
public method <init>(): void
public method add(p0: java.lang.Object): boolean
public method addAll(p0: java.util.Collection): boolean
public method clear(): void
public method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public method getSize(): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method remove(p0: java.lang.Object): boolean
public method removeAll(p0: java.util.Collection): boolean
public method retainAll(p0: java.util.Collection): boolean
public final method size(): int
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
public final class MainKt {
public final static method box(): java.lang.String
}