Update testData for changed diagnostic messages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// "Make 'A' abstract" "false"
|
||||
// ACTION: Implement members
|
||||
// ERROR: Class 'A' must be declared abstract or implement abstract member public abstract fun foo(): Unit defined in E
|
||||
// ERROR: Class 'A' is not abstract and does not implement abstract member public abstract fun foo(): Unit defined in E
|
||||
|
||||
enum class E {
|
||||
<caret>A;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// ACTION: Make private
|
||||
// ACTION: Make protected
|
||||
// ACTION: Make 'n' abstract
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
// ERROR: Extension property must have accessors or be abstract
|
||||
class A {
|
||||
<caret>val Int.n: Int
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix" "false"
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ERROR: Property must be initialized
|
||||
// ERROR: Extension property must have accessors or be abstract
|
||||
<caret>val Int.n: Int
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$AddInitializerFix" "false"
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ERROR: Property must be initialized
|
||||
// ERROR: Extension property must have accessors or be abstract
|
||||
<caret>val Int.n: Int
|
||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Class 'Foo' must be declared abstract or implement abstract member public abstract operator fun getValue(thisRef: A<T>, property: KProperty<*>): B defined in kotlin.properties.ReadOnlyProperty
|
||||
// ERROR: Class 'Foo' is not abstract and does not implement abstract member public abstract operator fun getValue(thisRef: A<T>, property: KProperty<*>): B defined in kotlin.properties.ReadOnlyProperty
|
||||
|
||||
open class B
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
import kotlin.properties.ReadOnlyProperty
|
||||
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: Class 'Foo' must be declared abstract or implement abstract member public abstract operator fun getValue(thisRef: A<T>, property: KProperty<*>): B defined in kotlin.properties.ReadOnlyProperty
|
||||
// ERROR: Class 'Foo' is not abstract and does not implement abstract member public abstract operator fun getValue(thisRef: A<T>, property: KProperty<*>): B defined in kotlin.properties.ReadOnlyProperty
|
||||
|
||||
open class B
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// ACTION: Implement members
|
||||
// ACTION: Split property declaration
|
||||
// ACTION: Convert object literal to class
|
||||
// ERROR: Object must be declared abstract or implement abstract member public abstract fun foo(): Unit defined in T
|
||||
// ERROR: Object is not abstract and does not implement abstract member public abstract fun foo(): Unit defined in T
|
||||
interface T {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// ACTION: Implement members
|
||||
// ACTION: Move 'Some' to separate file
|
||||
// ACTION: Rename file to Some.kt
|
||||
// ERROR: Object 'Some' must be declared abstract or implement abstract member public abstract fun foo(): Unit defined in T
|
||||
// ERROR: Object 'Some' is not abstract and does not implement abstract member public abstract fun foo(): Unit defined in T
|
||||
interface T {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Make protected
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
// ERROR: Extension property must have accessors or be abstract
|
||||
class A {
|
||||
<caret>val Int.n: Int
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Move 'A' to separate file
|
||||
// ERROR: Class 'A' must be declared abstract or implement abstract member public abstract fun foo(): Int defined in I
|
||||
// ERROR: Class 'A' is not abstract and does not implement abstract member public abstract fun foo(): Int defined in I
|
||||
interface I {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Move 'A' to separate file
|
||||
// ERROR: Object 'A' must be declared abstract or implement abstract member public abstract val foo: Int defined in I
|
||||
// ERROR: Object 'A' is not abstract and does not implement abstract member public abstract val foo: Int defined in I
|
||||
interface I {
|
||||
val foo: Int
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// "Change function signature..." "true"
|
||||
// ERROR: Class 'B' must be declared abstract or implement abstract member public abstract fun f(a: String): Unit defined in A
|
||||
// ERROR: Class 'B' is not abstract and does not implement abstract member public abstract fun f(a: String): Unit defined in A
|
||||
interface A {
|
||||
fun f(a: Int)
|
||||
fun f(a: String)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Change function signature..." "true"
|
||||
// ERROR: Class 'B' must be declared abstract or implement abstract member public abstract fun f(a: String): Unit defined in A
|
||||
// ERROR: Class 'B' is not abstract and does not implement abstract member public abstract fun f(a: String): Unit defined in A
|
||||
interface A {
|
||||
fun f(a: Int)
|
||||
fun f(a: String)
|
||||
|
||||
Reference in New Issue
Block a user