IDEA-131578 Folding 'blinks' when navigating to a method - adjust test following review

This commit is contained in:
Dmitry Batrak
2014-10-21 15:24:26 +04:00
parent eab57d8dba
commit a46ba74dbb

View File

@@ -947,12 +947,12 @@ public class Test {
myFixture.performEditorAction(IdeActions.ACTION_EDITOR_SELECT_WORD_AT_CARET)
myFixture.performEditorAction(IdeActions.ACTION_EDITOR_SELECT_WORD_AT_CARET)
myFixture.performEditorAction(IdeActions.ACTION_EDITOR_SELECT_WORD_AT_CARET)
assertEquals """int getField() {
assert """int getField() {
return field;
}""", myFixture.editor.selectionModel.selectedText
}""" == myFixture.editor.selectionModel.selectedText
myFixture.performEditorAction(IdeActions.ACTION_EDITOR_UNSELECT_WORD_AT_CARET)
assertEquals 'return field;', myFixture.editor.selectionModel.selectedText
assert 'return field;' == myFixture.editor.selectionModel.selectedText
}
public void "test expand and collapse regions in selection"() {