Corrected test data
This commit is contained in:
+2
@@ -1,5 +1,7 @@
|
||||
// "Create annotation 'foo'" "false"
|
||||
// ERROR: Unresolved reference: foo
|
||||
// ACTION: Make private
|
||||
// ACTION: Make public
|
||||
|
||||
J.<caret>foo(1, "2") fun test() {
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// "Create class 'Foo'" "false"
|
||||
// ACTION: Create function 'Foo'
|
||||
// ACTION: Add parameter to constructor 'Foo'
|
||||
// ACTION: Split property declaration
|
||||
// ACTION: Create secondary constructor
|
||||
// ERROR: Too many arguments for public constructor Foo(a: kotlin.Int) defined in Foo
|
||||
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// "Create class 'Foo'" "false"
|
||||
// ACTION: Create extension function 'Foo'
|
||||
// ACTION: Replace with infix function call
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: Foo
|
||||
|
||||
fun test() {
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// "Create class 'Foo'" "false"
|
||||
// ACTION: Create function 'Foo'
|
||||
// ACTION: Remove parameter 's'
|
||||
// ACTION: Split property declaration
|
||||
// ACTION: Create secondary constructor
|
||||
// ERROR: No value passed for parameter s
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
// "Create function 'bar'" "false"
|
||||
// ACTION: Create annotation 'bar'
|
||||
// ACTION: Make private
|
||||
// ACTION: Make public
|
||||
// ERROR: Unresolved reference: foo
|
||||
// ERROR: Unresolved reference: bar
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// "Create function 'foo'" "false"
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
-1
@@ -1,6 +1,5 @@
|
||||
// "Create extension function 'foo'" "false"
|
||||
// ACTION: Create function 'foo'
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
fun test() {
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// "Create function 'foo'" "false"
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
fun test() {
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// "Create secondary constructor" "false"
|
||||
// ACTION: Add parameter to constructor 'A'
|
||||
// ACTION: Create function 'A'
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: No type arguments expected
|
||||
// ERROR: Too many arguments for public constructor A() defined in A
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// ACTION: Add parameter to constructor 'A'
|
||||
// ACTION: Change 'b' type to 'A'
|
||||
// ACTION: Create function 'A'
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>B</td></tr><tr><td>Found:</td><td>A</td></tr></table></html>
|
||||
// ERROR: Too many arguments for public constructor A() defined in A
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// "Create local variable 'foo'" "false"
|
||||
// ACTION: Create extension property 'foo'
|
||||
// ACTION: Create property 'foo'
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Split property declaration
|
||||
// ACTION: Create extension property 'foo'
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
-1
@@ -1,6 +1,5 @@
|
||||
// "Create extension property 'foo'" "false"
|
||||
// ACTION: Create property 'foo'
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
fun test() {
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// "Create property 'foo'" "false"
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
Reference in New Issue
Block a user