Corrected test data

This commit is contained in:
Valentin Kipyatkov
2015-05-12 15:19:40 +03:00
parent 841d07f1aa
commit 1ad5ea4f7e
17 changed files with 7 additions and 85 deletions
@@ -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,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,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,6 +1,5 @@
// "Create extension function 'foo'" "false"
// ACTION: Create function 'foo'
// ACTION: Split property declaration
// ERROR: Unresolved reference: foo
fun test() {
@@ -1,5 +1,4 @@
// "Create function 'foo'" "false"
// ACTION: Split property declaration
// ERROR: Unresolved reference: foo
fun test() {
@@ -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,6 +1,5 @@
// "Create extension property 'foo'" "false"
// ACTION: Create property 'foo'
// ACTION: Split property declaration
// ERROR: Unresolved reference: foo
fun test() {
@@ -1,5 +1,4 @@
// "Create property 'foo'" "false"
// ACTION: Split property declaration
// ERROR: Unresolved reference: foo
class A<T>(val n: T)