Corrected test data
This commit is contained in:
@@ -1,31 +1,4 @@
|
|||||||
<problems>
|
<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>
|
<problem>
|
||||||
<file>singleArgument.kt</file>
|
<file>singleArgument.kt</file>
|
||||||
<line>6</line>
|
<line>6</line>
|
||||||
@@ -35,15 +8,6 @@
|
|||||||
<description>Replace 'get' call with index operator</description>
|
<description>Replace 'get' call with index operator</description>
|
||||||
</problem>
|
</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>
|
<problem>
|
||||||
<file>multiArgument.kt</file>
|
<file>multiArgument.kt</file>
|
||||||
<line>6</line>
|
<line>6</line>
|
||||||
@@ -53,33 +17,6 @@
|
|||||||
<description>Replace 'get' call with index operator</description>
|
<description>Replace 'get' call with index operator</description>
|
||||||
</problem>
|
</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>
|
<problem>
|
||||||
<file>functionalArgument.kt</file>
|
<file>functionalArgument.kt</file>
|
||||||
<line>6</line>
|
<line>6</line>
|
||||||
@@ -98,15 +35,6 @@
|
|||||||
<description>Replace 'get' call with index operator</description>
|
<description>Replace 'get' call with index operator</description>
|
||||||
</problem>
|
</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>
|
<problem>
|
||||||
<file>argumentAndFunction.kt</file>
|
<file>argumentAndFunction.kt</file>
|
||||||
<line>6</line>
|
<line>6</line>
|
||||||
|
|||||||
+2
@@ -1,5 +1,7 @@
|
|||||||
// "Create annotation 'foo'" "false"
|
// "Create annotation 'foo'" "false"
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
|
// ACTION: Make private
|
||||||
|
// ACTION: Make public
|
||||||
|
|
||||||
J.<caret>foo(1, "2") fun test() {
|
J.<caret>foo(1, "2") fun test() {
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// "Create class 'Foo'" "false"
|
// "Create class 'Foo'" "false"
|
||||||
// ACTION: Create function 'Foo'
|
// ACTION: Create function 'Foo'
|
||||||
// ACTION: Add parameter to constructor 'Foo'
|
// ACTION: Add parameter to constructor 'Foo'
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ACTION: Create secondary constructor
|
// ACTION: Create secondary constructor
|
||||||
// ERROR: Too many arguments for public constructor Foo(a: kotlin.Int) defined in Foo
|
// ERROR: Too many arguments for public constructor Foo(a: kotlin.Int) defined in Foo
|
||||||
|
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
// "Create class 'Foo'" "false"
|
// "Create class 'Foo'" "false"
|
||||||
// ACTION: Create extension function 'Foo'
|
// ACTION: Create extension function 'Foo'
|
||||||
// ACTION: Replace with infix function call
|
// ACTION: Replace with infix function call
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ERROR: Unresolved reference: Foo
|
// ERROR: Unresolved reference: Foo
|
||||||
|
|
||||||
fun test() {
|
fun test() {
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
// "Create class 'Foo'" "false"
|
// "Create class 'Foo'" "false"
|
||||||
// ACTION: Create function 'Foo'
|
// ACTION: Create function 'Foo'
|
||||||
// ACTION: Remove parameter 's'
|
// ACTION: Remove parameter 's'
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ACTION: Create secondary constructor
|
// ACTION: Create secondary constructor
|
||||||
// ERROR: No value passed for parameter s
|
// ERROR: No value passed for parameter s
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
// "Create function 'bar'" "false"
|
// "Create function 'bar'" "false"
|
||||||
// ACTION: Create annotation 'bar'
|
// ACTION: Create annotation 'bar'
|
||||||
|
// ACTION: Make private
|
||||||
|
// ACTION: Make public
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
// ERROR: Unresolved reference: bar
|
// ERROR: Unresolved reference: bar
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// "Create function 'foo'" "false"
|
// "Create function 'foo'" "false"
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
|
|
||||||
class A<T>(val n: T)
|
class A<T>(val n: T)
|
||||||
|
|||||||
-1
@@ -1,6 +1,5 @@
|
|||||||
// "Create extension function 'foo'" "false"
|
// "Create extension function 'foo'" "false"
|
||||||
// ACTION: Create function 'foo'
|
// ACTION: Create function 'foo'
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
|
|
||||||
fun test() {
|
fun test() {
|
||||||
|
|||||||
-1
@@ -1,5 +1,4 @@
|
|||||||
// "Create function 'foo'" "false"
|
// "Create function 'foo'" "false"
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
|
|
||||||
fun test() {
|
fun test() {
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
// "Create secondary constructor" "false"
|
// "Create secondary constructor" "false"
|
||||||
// ACTION: Add parameter to constructor 'A'
|
// ACTION: Add parameter to constructor 'A'
|
||||||
// ACTION: Create function 'A'
|
// ACTION: Create function 'A'
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ERROR: No type arguments expected
|
// ERROR: No type arguments expected
|
||||||
// ERROR: Too many arguments for public constructor A() defined in A
|
// ERROR: Too many arguments for public constructor A() defined in A
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
// ACTION: Add parameter to constructor 'A'
|
// ACTION: Add parameter to constructor 'A'
|
||||||
// ACTION: Change 'b' type to 'A'
|
// ACTION: Change 'b' type to 'A'
|
||||||
// ACTION: Create function '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: <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
|
// ERROR: Too many arguments for public constructor A() defined in A
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// "Create local variable 'foo'" "false"
|
// "Create local variable 'foo'" "false"
|
||||||
// ACTION: Create extension property 'foo'
|
// ACTION: Create extension property 'foo'
|
||||||
// ACTION: Create property 'foo'
|
// ACTION: Create property 'foo'
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
|
|
||||||
class A
|
class A
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// "Create parameter 'foo'" "false"
|
// "Create parameter 'foo'" "false"
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ACTION: Create extension property 'foo'
|
// ACTION: Create extension property 'foo'
|
||||||
// ACTION: Create property 'foo'
|
// ACTION: Create property 'foo'
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
|
|||||||
-1
@@ -1,6 +1,5 @@
|
|||||||
// "Create extension property 'foo'" "false"
|
// "Create extension property 'foo'" "false"
|
||||||
// ACTION: Create property 'foo'
|
// ACTION: Create property 'foo'
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
|
|
||||||
fun test() {
|
fun test() {
|
||||||
|
|||||||
-1
@@ -1,5 +1,4 @@
|
|||||||
// "Create property 'foo'" "false"
|
// "Create property 'foo'" "false"
|
||||||
// ACTION: Split property declaration
|
|
||||||
// ERROR: Unresolved reference: foo
|
// ERROR: Unresolved reference: foo
|
||||||
|
|
||||||
class A<T>(val n: T)
|
class A<T>(val n: T)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// ERROR: Function 'foo' without a body must be abstract
|
// ERROR: Function 'foo' without a body must be abstract
|
||||||
// ACTION: Add function body
|
// ACTION: Add function body
|
||||||
// ACTION: Make 'foo' abstract
|
// ACTION: Make 'foo' abstract
|
||||||
// ACTION: Convert to extension
|
// ACTION: Convert member to extension
|
||||||
// ACTION: Disable 'Convert to extension'
|
// ACTION: Disable 'Convert to extension'
|
||||||
// ACTION: Disable inspection
|
// ACTION: Disable inspection
|
||||||
// ACTION: Disable inspection
|
// ACTION: Disable inspection
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
// "Remove 'val' from parameter" "false"
|
// "Remove 'val' from parameter" "false"
|
||||||
|
// ACTION: Make private
|
||||||
|
// ACTION: Make public
|
||||||
class C(<caret>val x: String) {
|
class C(<caret>val x: String) {
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user