From 65fd8fc174c249d1b3b06fcb69cbf22f8a670b1a Mon Sep 17 00:00:00 2001 From: Victor Petukhov Date: Tue, 6 Jul 2021 18:09:13 +0300 Subject: [PATCH] Add generated files with descriptors for foreign annotation tests --- .../tests/rxjava3Default.txt | 14 ++++++++++++++ .../tests/rxjava3Errors.txt | 14 ++++++++++++++ .../tests/rxjava3Ignore.txt | 14 ++++++++++++++ .../tests/rxjava3Warnings.txt | 14 ++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Default.txt create mode 100644 compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Errors.txt create mode 100644 compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Ignore.txt create mode 100644 compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Warnings.txt diff --git a/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Default.txt b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Default.txt new file mode 100644 index 00000000000..b89c020f176 --- /dev/null +++ b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Default.txt @@ -0,0 +1,14 @@ +package + +public fun main(/*0*/ a: A, /*1*/ a1: A): kotlin.Unit + +public open class A { + public constructor A() + @io.reactivex.rxjava3.annotations.Nullable public final var field: @io.reactivex.rxjava3.annotations.Nullable kotlin.String! + @io.reactivex.rxjava3.annotations.NonNull public open fun bar(): @io.reactivex.rxjava3.annotations.NonNull kotlin.String! + @io.reactivex.rxjava3.annotations.Nullable public open fun baz(/*0*/ @io.reactivex.rxjava3.annotations.NonNull x: @io.reactivex.rxjava3.annotations.NonNull T!): @io.reactivex.rxjava3.annotations.Nullable T! + public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + @io.reactivex.rxjava3.annotations.Nullable public open fun foo(/*0*/ @io.reactivex.rxjava3.annotations.NonNull x: @io.reactivex.rxjava3.annotations.NonNull kotlin.String!, /*1*/ @io.reactivex.rxjava3.annotations.Nullable y: @io.reactivex.rxjava3.annotations.Nullable kotlin.CharSequence!): @io.reactivex.rxjava3.annotations.Nullable kotlin.String! + public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String +} diff --git a/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Errors.txt b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Errors.txt new file mode 100644 index 00000000000..a1d116b7cb4 --- /dev/null +++ b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Errors.txt @@ -0,0 +1,14 @@ +package + +public fun main(/*0*/ a: A, /*1*/ a1: A): kotlin.Unit + +public open class A { + public constructor A() + @io.reactivex.rxjava3.annotations.Nullable public final var field: @io.reactivex.rxjava3.annotations.Nullable kotlin.String? + @io.reactivex.rxjava3.annotations.NonNull public open fun bar(): @io.reactivex.rxjava3.annotations.NonNull kotlin.String + @io.reactivex.rxjava3.annotations.Nullable public open fun baz(/*0*/ @io.reactivex.rxjava3.annotations.NonNull x: @io.reactivex.rxjava3.annotations.NonNull T): @io.reactivex.rxjava3.annotations.Nullable T? + public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + @io.reactivex.rxjava3.annotations.Nullable public open fun foo(/*0*/ @io.reactivex.rxjava3.annotations.NonNull x: @io.reactivex.rxjava3.annotations.NonNull kotlin.String, /*1*/ @io.reactivex.rxjava3.annotations.Nullable y: @io.reactivex.rxjava3.annotations.Nullable kotlin.CharSequence?): @io.reactivex.rxjava3.annotations.Nullable kotlin.String? + public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String +} diff --git a/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Ignore.txt b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Ignore.txt new file mode 100644 index 00000000000..b89c020f176 --- /dev/null +++ b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Ignore.txt @@ -0,0 +1,14 @@ +package + +public fun main(/*0*/ a: A, /*1*/ a1: A): kotlin.Unit + +public open class A { + public constructor A() + @io.reactivex.rxjava3.annotations.Nullable public final var field: @io.reactivex.rxjava3.annotations.Nullable kotlin.String! + @io.reactivex.rxjava3.annotations.NonNull public open fun bar(): @io.reactivex.rxjava3.annotations.NonNull kotlin.String! + @io.reactivex.rxjava3.annotations.Nullable public open fun baz(/*0*/ @io.reactivex.rxjava3.annotations.NonNull x: @io.reactivex.rxjava3.annotations.NonNull T!): @io.reactivex.rxjava3.annotations.Nullable T! + public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + @io.reactivex.rxjava3.annotations.Nullable public open fun foo(/*0*/ @io.reactivex.rxjava3.annotations.NonNull x: @io.reactivex.rxjava3.annotations.NonNull kotlin.String!, /*1*/ @io.reactivex.rxjava3.annotations.Nullable y: @io.reactivex.rxjava3.annotations.Nullable kotlin.CharSequence!): @io.reactivex.rxjava3.annotations.Nullable kotlin.String! + public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String +} diff --git a/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Warnings.txt b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Warnings.txt new file mode 100644 index 00000000000..b89c020f176 --- /dev/null +++ b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/rxjava3Warnings.txt @@ -0,0 +1,14 @@ +package + +public fun main(/*0*/ a: A, /*1*/ a1: A): kotlin.Unit + +public open class A { + public constructor A() + @io.reactivex.rxjava3.annotations.Nullable public final var field: @io.reactivex.rxjava3.annotations.Nullable kotlin.String! + @io.reactivex.rxjava3.annotations.NonNull public open fun bar(): @io.reactivex.rxjava3.annotations.NonNull kotlin.String! + @io.reactivex.rxjava3.annotations.Nullable public open fun baz(/*0*/ @io.reactivex.rxjava3.annotations.NonNull x: @io.reactivex.rxjava3.annotations.NonNull T!): @io.reactivex.rxjava3.annotations.Nullable T! + public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + @io.reactivex.rxjava3.annotations.Nullable public open fun foo(/*0*/ @io.reactivex.rxjava3.annotations.NonNull x: @io.reactivex.rxjava3.annotations.NonNull kotlin.String!, /*1*/ @io.reactivex.rxjava3.annotations.Nullable y: @io.reactivex.rxjava3.annotations.Nullable kotlin.CharSequence!): @io.reactivex.rxjava3.annotations.Nullable kotlin.String! + public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String +}