Improve proto comparison test with changes of annotation list
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
annotation class Ann1
|
||||
annotation class Ann2
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
class AnnotationListBecomeNotEmpty
|
||||
|
||||
class AnnotationListBecomeEmpty
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
class AnnotationAdded
|
||||
|
||||
@Ann1
|
||||
class AnnotationRemoved
|
||||
|
||||
@Ann2
|
||||
class AnnotationReplaced
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
annotation class Ann1
|
||||
annotation class Ann2
|
||||
|
||||
class AnnotationListBecomeNotEmpty
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
class AnnotationListBecomeEmpty
|
||||
|
||||
@Ann1
|
||||
class AnnotationAdded
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
class AnnotationRemoved
|
||||
|
||||
@Ann1
|
||||
class AnnotationReplaced
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
changes in test/Ann1: NONE
|
||||
changes in test/Ann2: NONE
|
||||
changes in test/AnnotationAdded: NONE
|
||||
changes in test/AnnotationListBecomeEmpty: CLASS_SIGNATURE
|
||||
changes in test/AnnotationListBecomeNotEmpty: CLASS_SIGNATURE
|
||||
changes in test/AnnotationRemoved: NONE
|
||||
changes in test/AnnotationReplaced: NONE
|
||||
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
package test
|
||||
|
||||
import kotlin.annotation.*
|
||||
|
||||
annotation class ClassWithClassAnnotationListChanged
|
||||
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
package test
|
||||
|
||||
@Deprecated("") class ClassWithClassAnnotationListChanged
|
||||
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
changes in test/ClassWithClassAnnotationListChanged: CLASS_SIGNATURE
|
||||
Reference in New Issue
Block a user