Add proto comparison tests where members annotations are changed
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
annotation class Ann1
|
||||
annotation class Ann2
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
fun annotationListBecameNotEmpty() {}
|
||||
|
||||
fun annotationListBecameEmpty() {}
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
fun annotationAdded() {}
|
||||
|
||||
@Ann1
|
||||
fun annotationRemoved() {}
|
||||
|
||||
@Ann2
|
||||
fun annotationReplaced() {}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
annotation class Ann1
|
||||
annotation class Ann2
|
||||
|
||||
fun annotationListBecameNotEmpty() {}
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
fun annotationListBecameEmpty() {}
|
||||
|
||||
@Ann1
|
||||
fun annotationAdded() {}
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
fun annotationRemoved() {}
|
||||
|
||||
@Ann1
|
||||
fun annotationReplaced() {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/MainKt: FUNCTION_LIST
|
||||
CHANGES in test/MainKt: MEMBERS
|
||||
[annotationAdded, annotationListBecameEmpty, annotationListBecameNotEmpty, annotationRemoved, annotationReplaced]
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/MainKt: FUNCTION_LIST
|
||||
CHANGES in test/MainKt: MEMBERS
|
||||
[annotationListBecameEmpty, annotationListBecameNotEmpty]
|
||||
Reference in New Issue
Block a user