Alex Plate
bdc9b78ec8
Merge branch 'master' into VIM-510
2019-05-14 16:51:55 +03:00
Alex Plate
5b628c2f48
Use constants from TestUtil in VimTestCase
2019-04-30 13:19:12 +03:00
Matt Ellis
e7603a78d0
Add tests for ex entry shortcuts
2019-04-29 09:29:08 +01:00
Alex Plate
215df5cc03
Enter insert mode after select mode while editing template
2019-04-12 19:03:18 +03:00
Alex Plate
6fe6e83cb9
Add mode, submode and caret colour checks to doTest method
2019-04-12 19:03:17 +03:00
Alex Plate
a133a94dbe
Create tests for select mode toggling
2019-04-12 19:03:15 +03:00
Alex Plate
bf5cab0062
Use string templates for <caret> and <selection> in kt files
2019-04-12 19:03:15 +03:00
Alex Plate
284983a4a7
Move listeners to separate class
2019-04-12 19:03:11 +03:00
Alex Plate
26d03d49b1
Create tests for visual put action
2019-04-12 19:03:07 +03:00
Alex Plate
6565ad8e96
Update copyright on test files
2019-02-21 12:56:20 +03:00
Andrey Vlasovskikh
1a96533a3c
Added unit test-friendly version of VimExtensionFacade.getKeyStroke()
2016-01-26 18:14:14 +03:00
Andrey Vlasovskikh
e805852721
Platform prefix initialization is no longer needed
2015-10-30 15:20:36 +03:00
Andrey Vlasovskikh
ae5b1385ea
Merge branch 'matching-comments'
2015-04-24 16:08:54 +03:00
Andrey Vlasovskikh
7d033787eb
Better place for cleaning global variables
2015-04-24 14:31:06 +03:00
Tuomas Tynkkynen
82a9587b4f
Support comments in brace matching
...
In Vim, '%' can be used to jump between the '/*' and '*/' of block
comments. Support this functionality in a language-independent manner.
2015-02-21 15:14:38 +02:00
Andrey Vlasovskikh
499c590f5a
Merge remote-tracking branch 'dezgeg/unit-tests'
2015-01-20 15:36:18 +03:00
Tuomas Tynkkynen
0cc06ad186
Move ChangeActionTest.doTest() to VimTestCase.
...
This method is convenient in other tests as well.
2014-12-12 23:05:28 +02:00
Tuomas Tynkkynen
18cd7547ad
VIM-210 Fix focus issues with the Ex panel
...
Previously, if the editor window had been splitted, under certain
conditions some actions related to the Ex panel would cause the editor
focus to change to a different split.
The required conditions for this bug to occur:
- no docked windows (like the Project sidebar) are open
- 'View -> Navigation bar' is disabled
At least these actions triggered the bug:
- search with /
- successfully executing an Ex command
- dismissing the Ex window with Esc
- Ex commands that opened the output panel (e.g. :!)
All the deleted lines of the form
FileEditorManager.getInstance(project).openFile(vf, true);
seem to be very old, non-functional workarounds for the focus issue.
2014-12-09 13:36:03 +02:00
Andrey Vlasovskikh
26a247c0bf
Revert "Unified tests initialization for IntelliJ 13+ Community and Ultimate"
...
This reverts commit 296ef1bdf9
.
2014-11-28 22:29:15 +03:00
Andrey Vlasovskikh
296ef1bdf9
Unified tests initialization for IntelliJ 13+ Community and Ultimate
2014-11-28 20:22:43 +03:00
Andrey Vlasovskikh
0aedc08cfa
More tests for VIM-511
2014-10-21 20:42:04 +04:00
Andrey Vlasovskikh
3e0e08c5e1
VIM-632 Restored visual block mode that was broken due to multiple carets support
...
Vim actions with multiple carets in modes other than visual block are
not supported yet. It will be a separate feature. The idea behind this
commit is to fix the regression in visual block mode.
Bounds of visual selection are no longer reversed if they are
overlapped, this fixes expanding the block selection in all directions.
IdeaVim no longer uses SelectionModel.hasBlockSelection() since it
always returns 'true' now.
There are a couple of places where we remove secondary carets when
moving the primary caret or re-setting visual mode. It may be
incompatible with the forthcoming support for multi-caret Vim actions.
2014-10-09 18:01:47 +04:00
Andrey Vlasovskikh
391e14a05b
Output sorted map results
2014-04-04 00:09:52 +04:00
Andrey Vlasovskikh
6ea255f125
Reset key mappings for each test
2014-04-02 01:54:26 +04:00
Andrey Vlasovskikh
3b3fa3a455
Split configureByText() and typeText()
2014-03-28 16:38:41 +04:00
Andrey Vlasovskikh
13d3d4e990
Unified running Ex commands in tests with the usual key handling
2014-03-28 16:30:06 +04:00
Andrey Vlasovskikh
95a395ed70
Moved Vim operation groups accessors to VimPlugin
...
VimPlugin now acts as a facade to Vim operations.
2014-03-19 18:29:42 +04:00
Andrey Vlasovskikh
9554eb0990
Extracted VimTestCase.typeText()
2013-08-12 18:40:51 +04:00
Andrey Vlasovskikh
9c04525df8
Extracted VimTestCase.runExCommand()
2013-08-12 18:26:52 +04:00
Andrey Vlasovskikh
c4927372ec
Test for handling digraphs in command mode
2012-12-25 21:04:07 +04:00
Andrey Vlasovskikh
1324c232d7
Fixed compilation of tests for IntelliJ 11
2012-11-29 20:56:36 +04:00
Alexander Zolotov
f3d1ddabb1
Fix tests initialization for community plugin sdk
2012-11-29 19:48:56 +04:00
Andrey Vlasovskikh
59c5afa9ee
Tests cleanup
2012-11-28 16:19:03 +04:00
Andrey Vlasovskikh
1195b3e507
Extracted assertSelection() method
2012-11-27 19:58:59 +04:00
Andrey Vlasovskikh
c51b09acb1
Refactored assertions in motion tests
2012-11-22 20:18:31 +04:00
Andrey Vlasovskikh
b6e7533262
Index of supported commands covered with tests
2012-11-09 23:17:50 +04:00
Andrey Vlasovskikh
0e91f52cbc
Reset key handler before each test
2012-11-09 20:23:35 +04:00
Andrey Vlasovskikh
c502c4a083
Pull typeTextInFile() up to VimTestCase
2012-10-17 16:54:57 +04:00
Andrey Vlasovskikh
87026bda3c
Reuse StringHelper.stringToKeys()
2012-10-17 16:49:21 +04:00
Andrey Vlasovskikh
b26d68984f
VIM-226 Added tests for the bug fixed together with VIM-146
2012-10-12 19:37:02 +04:00
Andrey Vlasovskikh
3a5b8dbf0f
Moved toKeyStrokes() to VimTestCase
2012-10-10 16:46:09 +04:00
Andrey Vlasovskikh
df4ac6d642
Base class for action tests
2012-10-09 21:15:51 +04:00