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,31 +1,4 @@
<problems>
<problem>
<file>unnamedAndNamed.kt</file>
<line>6</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/unnamedAndNamed.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>unacceptableVararg.kt</file>
<line>7</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/unacceptableVararg.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>singleNamedArgument.kt</file>
<line>6</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/singleNamedArgument.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>singleArgument.kt</file>
<line>6</line>
@@ -35,15 +8,6 @@
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>namedAndFunction.kt</file>
<line>6</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/namedAndFunction.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>multiArgument.kt</file>
<line>6</line>
@@ -53,33 +17,6 @@
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>missingDefaultArgument.kt</file>
<line>7</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/missingDefaultArgument.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>missingArgument.kt</file>
<line>8</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/missingArgument.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>invalidArgument.kt</file>
<line>8</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/invalidArgument.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>functionalArgument.kt</file>
<line>6</line>
@@ -98,15 +35,6 @@
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>duplicateArguments.kt</file>
<line>9</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/duplicateArguments.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
<description>Replace 'get' call with index operator</description>
</problem>
<problem>
<file>argumentAndFunction.kt</file>
<line>6</line>
@@ -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)
@@ -2,7 +2,7 @@
// ERROR: Function 'foo' without a body must be abstract
// ACTION: Add function body
// ACTION: Make 'foo' abstract
// ACTION: Convert to extension
// ACTION: Convert member to extension
// ACTION: Disable 'Convert to extension'
// ACTION: Disable inspection
// ACTION: Disable inspection
@@ -1,3 +1,5 @@
// "Remove 'val' from parameter" "false"
// ACTION: Make private
// ACTION: Make public
class C(<caret>val x: String) {
}