Commit Graph

91 Commits

Author SHA1 Message Date
Maxime Coste
4d39657b9a Add unit tests for <a-x> and <a-X> 2015-08-11 13:28:50 +01:00
Maxime Coste
c61c89fac9 Add a save selections test case 2015-07-11 11:39:41 +01:00
Maxime Coste
28ebe776c0 Refactor select_arguments and slightly change behaviour for non-inner
non inner argument contains the argument, preceeding whitespaces,
and eventual ending comma, except for first arguments (that
contains the whitespaces after the comma), and last argument (that
contains the comma before it).
2015-07-01 23:47:22 +01:00
Viktor Palmkvist
e21ea23c24 Added tests for argument text object 2015-07-01 17:42:10 +02:00
Maxime Coste
8795a56731 Merge overlapping selections before erasing
Overlapping selections on erase confuse the ForwardChangeTracker
and will confuse the user,

Fixes #298
2015-06-28 10:16:39 +01:00
Maxime Coste
373ad05f29 Fix test with new selection desc format 2015-06-27 16:14:15 +01:00
Maxime Coste
1261d45646 Properly test rotate 2015-06-23 20:58:44 +01:00
Maxime Coste
70dfb4ba6b Fix test handling of ' and rotate-content test 2015-06-21 19:36:53 +01:00
Maxime Coste
cf8695cb84 Fix unit tests after gl/gh behaviour change 2015-06-08 22:32:15 +01:00
Maxime Coste
8afa71d965 Fix test script return value check to be more POSIX compliant 2015-05-26 19:30:02 +01:00
Maxime Coste
dfd6182bbb Test suite shows something when kakoune exit code is not 0 2015-05-20 20:09:00 +01:00
Maxime Coste
63bbb6e3df Fix test with change in the selection desc format 2015-04-14 15:53:12 +01:00
Maxime Coste
7eaa6976b9 Use a dummy UI when running tests, so that we do not need a tty 2015-03-24 13:14:02 +00:00
Maxime Coste
0ae628fde7 Add a $ command unit test 2015-03-13 13:50:08 +00:00
Maxime Coste
4be6090107 Fix additional eol inserted when replace piping at end of buffer 2015-03-06 13:57:21 +00:00
Maxime Coste
56dd5f9540 Fix selecting of insert text in SelectionList::insert 2015-02-09 21:09:17 +00:00
Maxime Coste
f4e96e7f2e Fix bug when deleting end of buffer text using multiple selections 2015-01-23 19:12:15 +00:00
Maxime Coste
5b117ae00f Another try to fix pipe-to test on OSX 2015-01-12 20:41:55 +00:00
Maxime Coste
78eb2a46d4 Try an alternative pipe-to method to fix OSX test 2015-01-12 20:31:45 +00:00
Maxime Coste
dbd7bd41bb Try to improve test run script with osx 2014-12-15 13:42:48 +00:00
Maxime Coste
c538778b7e Remove trailing eol 2014-12-15 13:24:21 +00:00
Maxime Coste
1cdba68bcf Try to fix OSX pipe-to test 2014-12-13 18:30:56 +00:00
Maxime Coste
f22c95439f Return the number of failed tests so that failure gets propagated 2014-12-13 13:11:38 +00:00
Maxime Coste
a834f1aa75 Fix pipe-insert test 2014-12-12 13:59:10 +00:00
Maxime Coste
c148966ebb Tweak test run script 2014-12-11 13:43:10 +00:00
Maxime Coste
ea063fd2ef Fix use of mktemp in test script 2014-12-10 19:33:09 +00:00
Maxime Coste
fd84ad5adf Use mktemp -d rather than --directory to fix the test script on osx 2014-12-09 21:07:27 +00:00
Maxime Coste
45d1ec36d1 Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
Maxime Coste
88def85d77 Do not merge overlapping selections in InputMode::Replace
Fixes #237
2014-11-22 21:20:29 +00:00
Maxime Coste
ab640f9fbf Tweak the way we set initial text in testing framework 2014-11-22 21:20:29 +00:00
Maxime Coste
95d36b95db Do not rely on kak being in path in test run script 2014-11-21 13:57:28 +00:00
Maxime Coste
ec09fc3a75 Optimize the test run script 2014-10-28 23:28:10 +00:00
Maxime Coste
a482b1f8d8 Make the test/run script work in a posix shell
Fixes #234
2014-10-27 13:19:23 +00:00
Maxime Coste
ff27b385d2 Refactor the unit test run script to be more idiomatic shell 2014-10-12 12:27:22 +01:00
Maxime Coste
f096417a75 various small fixes in unit test script 2014-10-11 19:50:20 +01:00
Maxime Coste
00318433e1 Fix goto last buffer test 2014-10-11 15:52:53 +01:00
Maxime Coste
709635c20b Display debug buffer on failed test cases 2014-10-11 15:52:24 +01:00
Maxime Coste
ab930ccfa8 concat-{yank,delete} was removed, replace with concat-paste test 2014-10-09 19:08:33 +01:00
Maxime Coste
5c3f8c648c Fix various tests 2014-10-09 19:05:42 +01:00
Maxime Coste
cd0aeefa81 Commit undo group after removign initial selection markers in testing script 2014-10-09 19:04:36 +01:00
Alex Leferry 2
d20d43bf36 add testing framework 2014-06-30 12:22:50 +02:00