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:
committed by
Yan Zhulanow
parent
8bdb54929b
commit
328286ab14
@@ -0,0 +1,3 @@
|
||||
public final class ArrayElementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class AssignPlusOnSmartCastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
public final class A {
|
||||
public final static field INSTANCE: A
|
||||
private static field x: int
|
||||
private method <init>(): void
|
||||
public final method get(p0: int, p1: int, p2: int): int
|
||||
public final method getX(): int
|
||||
public final method set(p0: int, p1: int, p2: int, p3: int): void
|
||||
public final method setX(p0: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class ClassNaryGetSetKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
public final class AByte {
|
||||
private field value: byte
|
||||
public method <init>(p0: byte): void
|
||||
public final method get(p0: int): byte
|
||||
public final method getValue(): byte
|
||||
public final method set(p0: int, p1: byte): void
|
||||
public final method setValue(p0: byte): void
|
||||
}
|
||||
|
||||
|
||||
public final class ADouble {
|
||||
private field value: double
|
||||
public method <init>(p0: double): void
|
||||
public final method get(p0: int): double
|
||||
public final method getValue(): double
|
||||
public final method set(p0: int, p1: double): void
|
||||
public final method setValue(p0: double): void
|
||||
}
|
||||
|
||||
|
||||
public final class AFloat {
|
||||
private field value: float
|
||||
public method <init>(p0: float): void
|
||||
public final method get(p0: int): float
|
||||
public final method getValue(): float
|
||||
public final method set(p0: int, p1: float): void
|
||||
public final method setValue(p0: float): void
|
||||
}
|
||||
|
||||
|
||||
public final class AInt {
|
||||
private field value: int
|
||||
public method <init>(p0: int): void
|
||||
public final method get(p0: int): int
|
||||
public final method getValue(): int
|
||||
public final method set(p0: int, p1: int): void
|
||||
public final method setValue(p0: int): void
|
||||
}
|
||||
|
||||
|
||||
public final class ALong {
|
||||
private field value: long
|
||||
public method <init>(p0: long): void
|
||||
public final method get(p0: int): long
|
||||
public final method getValue(): long
|
||||
public final method set(p0: int, p1: long): void
|
||||
public final method setValue(p0: long): void
|
||||
}
|
||||
|
||||
|
||||
public final class AShort {
|
||||
private field value: short
|
||||
public method <init>(p0: short): void
|
||||
public final method get(p0: int): short
|
||||
public final method getValue(): short
|
||||
public final method set(p0: int, p1: short): void
|
||||
public final method setValue(p0: short): void
|
||||
}
|
||||
|
||||
|
||||
public final class ClassWithGetSetKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class ExtOnLongKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method get(p0: long, p1: int): long
|
||||
public final static method set(p0: long, p1: int, p2: long): void
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final class A {
|
||||
private field value: java.lang.Object
|
||||
public method <init>(p0: java.lang.Object): void
|
||||
public final method get(p0: int): java.lang.Object
|
||||
public final method getValue(): java.lang.Object
|
||||
public final method set(p0: int, p1: java.lang.Object): void
|
||||
public final method setValue(p0: java.lang.Object): void
|
||||
}
|
||||
|
||||
|
||||
public final class GenericClassWithGetSetKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public final class ExtProvider {
|
||||
public final static field INSTANCE: ExtProvider
|
||||
private method <init>(): void
|
||||
public final method get(p0: long, p1: int): long
|
||||
public final method set(p0: long, p1: int, p2: long): void
|
||||
}
|
||||
|
||||
|
||||
public final class MemberExtOnLongKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class MutableListElementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class NullableKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class PostfixIncrementDoubleSmartCastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class Another {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public interface Base
|
||||
|
||||
|
||||
public final class Derived {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PostfixIncrementOnClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method inc(@org.jetbrains.annotations.NotNull p0: Base): Derived
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public class Base {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Derived {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PostfixIncrementOnClassSmartCastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method inc(@org.jetbrains.annotations.NotNull p0: Derived): Derived
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class PostfixIncrementOnShortSmartCastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class PostfixIncrementOnSmartCastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class MyClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PostfixNullableClassIncrementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method inc(@org.jetbrains.annotations.Nullable p0: MyClass): MyClass
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class PostfixNullableIncrementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method inc(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.Nullable method init(): java.lang.Integer
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class Another {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public interface Base
|
||||
|
||||
|
||||
public final class Derived {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PrefixIncrementOnClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method inc(@org.jetbrains.annotations.NotNull p0: Base): Derived
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public class Base {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Derived {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PrefixIncrementOnClassSmartCastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method inc(@org.jetbrains.annotations.NotNull p0: Derived): Derived
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class PrefixIncrementOnSmartCastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public final class MyClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PrefixNullableClassIncrementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method inc(@org.jetbrains.annotations.Nullable p0: MyClass): MyClass
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class PrefixNullableIncrementKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method inc(@org.jetbrains.annotations.Nullable p0: java.lang.Integer): java.lang.Integer
|
||||
public final static @org.jetbrains.annotations.Nullable method init(): java.lang.Integer
|
||||
}
|
||||
Reference in New Issue
Block a user