kakoune/test/unit
Maxime Coste ddc5e958e6 Return an optional selection in most selectors, fail rather than keep current
Instead of returning the current selection when a selector fails, return
an empty Optional<Selection>. That means object selections will now
remove the selections that dont match the object.
2017-03-03 20:17:11 +00:00
..
align add testing framework 2014-06-30 12:22:50 +02:00
align-tab Fix align support with aligntab = true 2016-10-28 09:50:25 +01:00
all add testing framework 2014-06-30 12:22:50 +02:00
append add testing framework 2014-06-30 12:22:50 +02:00
append-at-eol Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
around Selecting 'around' word when on spaces after word now selects next word 2016-09-26 23:33:28 +01:00
change add testing framework 2014-06-30 12:22:50 +02:00
clear-selections Fix various tests 2014-10-09 19:05:42 +01:00
codepoint-width test: Fix UTF8 compliant locale detection 2017-02-23 18:46:56 +03:00
concat-paste concat-{yank,delete} was removed, replace with concat-paste test 2014-10-09 19:08:33 +01:00
concat-paste-line Fix test with new selection desc format 2015-06-27 16:14:15 +01:00
convert-spaces-to-tabs Add a spaces to tabs test 2016-03-30 19:41:21 +01:00
convert-tabs-to-spaces Add a spaces to tabs test 2016-03-30 19:41:21 +01:00
deindent add testing framework 2014-06-30 12:22:50 +02:00
delete add testing framework 2014-06-30 12:22:50 +02:00
end Refactor select_arguments and slightly change behaviour for non-inner 2015-07-01 23:47:22 +01:00
end-extending Refactor select_arguments and slightly change behaviour for non-inner 2015-07-01 23:47:22 +01:00
extend-lines Add unit tests for <a-x> and <a-X> 2015-08-11 13:28:50 +01:00
facedesc-invalid-syntax Add two unit tests for invalid syntaxes in the command 2015-12-15 11:13:26 +03:00
find-char-backward add testing framework 2014-06-30 12:22:50 +02:00
find-char-backward-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
find-char-forward add testing framework 2014-06-30 12:22:50 +02:00
find-char-forward-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
goto Fix unit tests after gl/gh behaviour change 2015-06-08 22:32:15 +01:00
goto-extending Fix unit tests after gl/gh behaviour change 2015-06-08 22:32:15 +01:00
indent add testing framework 2014-06-30 12:22:50 +02:00
inner Add unit tests for an arbitrary slash-based selection 2016-07-26 10:42:33 +03:00
insert add testing framework 2014-06-30 12:22:50 +02:00
insert-at-line-start Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
insert-replace Do not merge overlapping selections in InputMode::Replace 2014-11-22 21:20:29 +00:00
keep-cmd Add a $ command unit test 2015-03-13 13:50:08 +00:00
lower-case add testing framework 2014-06-30 12:22:50 +02:00
match-char add testing framework 2014-06-30 12:22:50 +02:00
move Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
next-big-word Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
next-big-word-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
next-match add testing framework 2014-06-30 12:22:50 +02:00
next-match-appending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
next-word add testing framework 2014-06-30 12:22:50 +02:00
next-word-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
object/drop-non-whitespace Return an optional selection in most selectors, fail rather than keep current 2017-03-03 20:17:11 +00:00
open-above add testing framework 2014-06-30 12:22:50 +02:00
open-below add testing framework 2014-06-30 12:22:50 +02:00
paste-after add testing framework 2014-06-30 12:22:50 +02:00
paste-before add testing framework 2014-06-30 12:22:50 +02:00
pipe add testing framework 2014-06-30 12:22:50 +02:00
pipe-to Another try to fix pipe-to test on OSX 2015-01-12 20:41:55 +00:00
previous-big-word Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
previous-big-word-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
previous-word add testing framework 2014-06-30 12:22:50 +02:00
previous-word-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
record-macro Fix tests after macros/marks syntax change 2015-08-20 19:15:44 +01:00
redo Fix various tests 2014-10-09 19:05:42 +01:00
reload Add a reload test 2016-03-17 11:38:07 +00:00
repeat-insert add testing framework 2014-06-30 12:22:50 +02:00
repeat-select Add the missing repeat-select test cases 2016-10-14 00:09:52 +01:00
replace add testing framework 2014-06-30 12:22:50 +02:00
replace-lines Add a replace-line unit test 2016-03-17 12:07:38 +00:00
replay-macro Fix tests after macros/marks syntax change 2015-08-20 19:15:44 +01:00
rotate Properly test rotate 2015-06-23 20:58:44 +01:00
rotate-content Use <a-'> for backward rotate selection and move rotate content to <a-"> 2017-02-01 22:53:42 +00:00
save-selections Fix tests after macros/marks syntax change 2015-08-20 19:15:44 +01:00
search add testing framework 2014-06-30 12:22:50 +02:00
search-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
search-reverse add testing framework 2014-06-30 12:22:50 +02:00
search-reverse-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
search-reverse-rightmost Add reverse search unit tests 2015-12-27 16:24:37 +01:00
select add testing framework 2014-06-30 12:22:50 +02:00
select-line add testing framework 2014-06-30 12:22:50 +02:00
select-line-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
split Fix various tests 2014-10-09 19:05:42 +01:00
split-at-begin Fix splitting selecting the first buffer char when there is a match at buffer begin 2016-04-30 10:37:31 +01:00
start Added tests for argument text object 2015-07-01 17:42:10 +02:00
start-extending Refactor select_arguments and slightly change behaviour for non-inner 2015-07-01 23:47:22 +01:00
switch-case add testing framework 2014-06-30 12:22:50 +02:00
to-char-backward add testing framework 2014-06-30 12:22:50 +02:00
to-char-backward-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
to-char-forward add testing framework 2014-06-30 12:22:50 +02:00
to-char-forward-extending Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
trim-lines Add unit tests for <a-x> and <a-X> 2015-08-11 13:28:50 +01:00
undo add testing framework 2014-06-30 12:22:50 +02:00
undo-after-replace-lines Fix another bug in Buffer::replace implementation 2016-03-17 12:38:09 +00:00
upper-case add testing framework 2014-06-30 12:22:50 +02:00
view add testing framework 2014-06-30 12:22:50 +02:00
yank add testing framework 2014-06-30 12:22:50 +02:00