Get rid of deprecated annotations in testData
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Deprecated("") class MyClass() {
|
||||
@Deprecated("") class MyClass() {
|
||||
}
|
||||
|
||||
// TESTED_OBJECT_KIND: class
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class MyClass {
|
||||
Deprecated("") companion object {
|
||||
@Deprecated("") companion object {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Deprecated("") enum class MyEnum {
|
||||
@Deprecated("") enum class MyEnum {
|
||||
FIRST
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class MyClass() {
|
||||
Deprecated("") public class MyInnerClass() {}
|
||||
@Deprecated("") public class MyInnerClass() {}
|
||||
}
|
||||
|
||||
// TESTED_OBJECT_KIND: class
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Deprecated("") public interface MyTrait {
|
||||
@Deprecated("") public interface MyTrait {
|
||||
}
|
||||
|
||||
// TESTED_OBJECT_KIND: class
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class MyClass() { }
|
||||
|
||||
Deprecated("") fun MyClass.test() {}
|
||||
@Deprecated("") fun MyClass.test() {}
|
||||
|
||||
// TESTED_OBJECT_KIND: function
|
||||
// TESTED_OBJECTS: _DefaultPackage, test
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class MyClass() {
|
||||
Deprecated("") fun test() {}
|
||||
@Deprecated("") fun test() {}
|
||||
}
|
||||
|
||||
// TESTED_OBJECT_KIND: function
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class MyClass() {
|
||||
companion object {
|
||||
Deprecated("") fun test() {}
|
||||
@Deprecated("") fun test() {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
class MyClass() {
|
||||
Deprecated("") val test = ""
|
||||
@Deprecated("") val test = ""
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
class MyClass() {
|
||||
Deprecated("") var test = ""
|
||||
@Deprecated("") var test = ""
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Deprecated("") fun test() {}
|
||||
@Deprecated("") fun test() {}
|
||||
|
||||
// TESTED_OBJECT_KIND: function
|
||||
// TESTED_OBJECTS: _DefaultPackage, test
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class MyClass() {
|
||||
Deprecated("") public val test: Int = 0
|
||||
@Deprecated("") public val test: Int = 0
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Deprecated("") val test: Int = 0
|
||||
@Deprecated("") val test: Int = 0
|
||||
|
||||
// TESTED_OBJECT_KIND: property
|
||||
// TESTED_OBJECTS: TopLevelPropertyKt, test
|
||||
|
||||
Reference in New Issue
Block a user