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 A {
private @org.jetbrains.annotations.NotNull field result: java.lang.String
public method <init>(): void
private final method getFoo(p0: int): java.lang.String
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final @org.jetbrains.annotations.NotNull method run(): java.lang.String
private final method setFoo(p0: int, p1: java.lang.String): void
public final method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
public final class AccessorForPrivateSetterKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,26 @@
public final class A {
private final field bool: boolean
private final field byte: byte
private final field char: char
private final field double: double
private final field float: float
private final field int: int
private final field long: long
private final field short: short
public method <init>(): void
public final method getBool(): boolean
public final method getByte(): byte
public final method getChar(): char
public final method getDouble(): double
public final method getFloat(): float
public final method getInt(): int
public final method getLong(): long
public final method getShort(): short
public final method invoke(): void
}
public final class GenericValForPrimitiveTypeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method getValProp(p0: java.lang.Object): java.lang.Object
}
@@ -0,0 +1,4 @@
public final class GenericValMultipleUpperBoundsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getValProp(@org.jetbrains.annotations.NotNull p0: java.lang.Number): java.lang.Number
}
@@ -0,0 +1,35 @@
public final class A {
private field bool: boolean
private field byte: byte
private field char: char
private field double: double
private field float: float
private field int: int
private field long: long
private field short: short
public method <init>(): void
public final method getBool(): boolean
public final method getByte(): byte
public final method getChar(): char
public final method getDouble(): double
public final method getFloat(): float
public final method getInt(): int
public final method getLong(): long
public final method getShort(): short
public final method invoke(): void
public final method setBool(p0: boolean): void
public final method setByte(p0: byte): void
public final method setChar(p0: char): void
public final method setDouble(p0: double): void
public final method setFloat(p0: float): void
public final method setInt(p0: int): void
public final method setLong(p0: long): void
public final method setShort(p0: short): void
}
public final class GenericVarForPrimitiveTypeKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method getVarProp(p0: java.lang.Object): java.lang.Object
public final static method setVarProp(p0: java.lang.Object, p1: java.lang.Object): void
}
@@ -0,0 +1,10 @@
public final class InClassKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getFoo(p0: int): java.lang.String
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
}
@@ -0,0 +1,19 @@
public final class InClassLongTypeInReceiverKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
private @org.jetbrains.annotations.NotNull field doubleStorage: java.lang.String
private @org.jetbrains.annotations.NotNull field longStorage: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getBar(p0: long): java.lang.String
public final @org.jetbrains.annotations.NotNull method getDoubleStorage(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getFoo(p0: double): java.lang.String
public final @org.jetbrains.annotations.NotNull method getLongStorage(): java.lang.String
public final method setBar(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final method setDoubleStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setFoo(p0: double, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final method setLongStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
}
@@ -0,0 +1,10 @@
public final class InClassWithGetterKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getFoo(p0: int): java.lang.String
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
}
@@ -0,0 +1,10 @@
public final class InClassWithPrivateGetterKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
public method <init>(): void
private final method getFoo(p0: int): java.lang.String
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
}
@@ -0,0 +1,14 @@
public final class InClassWithPrivateSetterKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
private @org.jetbrains.annotations.NotNull field storage: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getFoo(p0: int): java.lang.String
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
private final method setFoo(p0: int, p1: java.lang.String): void
public final method setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
}
@@ -0,0 +1,14 @@
public final class InClassWithSetterKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
private @org.jetbrains.annotations.NotNull field storage: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getFoo(p0: int): java.lang.String
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
public final method setFoo(p0: int, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final method setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
}
@@ -0,0 +1,21 @@
public final class Kt9897Kt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
public final static field INSTANCE: Test
private static field l: long
private static @org.jetbrains.annotations.NotNull field z: java.lang.String
private method <init>(): void
public final method changeLong(): long
public final @org.jetbrains.annotations.NotNull method changeObject(): java.lang.String
public final method getL(): long
public final method getSomeProperty(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final method getSomeProperty(p0: long): long
public final @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
public final method setL(p0: long): void
public final method setSomeProperty(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int): void
public final method setSomeProperty(p0: long, p1: long): void
public final method setZ(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,15 @@
public final class Kt9897_topLevelKt {
private static field l: long
private static @org.jetbrains.annotations.NotNull field z: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method changeLong(): long
public final static @org.jetbrains.annotations.NotNull method changeObject(): java.lang.String
public final static method getL(): long
public final static method getSomeProperty(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final static method getSomeProperty(p0: long): long
public final static @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
public final static method setL(p0: long): void
public final static method setSomeProperty(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int): void
public final static method setSomeProperty(p0: long, p1: long): void
public final static method setZ(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,4 @@
public final class TopLevelKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getFoo(p0: int): java.lang.String
}
@@ -0,0 +1,13 @@
public final class TopLevelLongTypeInReceiverKt {
private static @org.jetbrains.annotations.NotNull field barStorage: java.lang.String
private static @org.jetbrains.annotations.NotNull field fooStorage: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getBar(p0: long): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getBarStorage(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getFoo(p0: double): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getFooStorage(): java.lang.String
public final static method setBar(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final static method setBarStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final static method setFoo(p0: double, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final static method setFooStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}