Quickfix and intention tests refactoring: refer to intention action by class when checking that it's not available (instead of listing all available actions)

This commit is contained in:
Valentin Kipyatkov
2014-01-23 17:00:26 +04:00
parent 3028cec4cd
commit d01ff28212
75 changed files with 99 additions and 136 deletions
@@ -1,14 +1,8 @@
// "Move else branch to the end" "false"
// "class org.jetbrains.jet.plugin.quickfix.MoveWhenElseBranchFix" "false"
// ERROR: 'else' entry must be the last one in a when-expression
// ERROR: 'else' entry must be the last one in a when-expression
// WARNING: Unreachable code
// WARNING: Unreachable code
// ACTION: Disable 'Eliminate Argument of 'when''
// ACTION: Disable 'Replace 'when' with 'if''
// ACTION: Edit intention settings
// ACTION: Edit intention settings
// ACTION: Eliminate argument of 'when'
// ACTION: Replace 'when' with 'if'
package foo
fun foo() {