Maxime Coste
de1433d30a
Avoid the spurious newline insertion when replacing at end of buffer
...
Add a Buffer::replace method to handle the replacements properly
Fixes #633
2016-03-16 13:48:11 +00:00
Maxime Coste
79782fb903
Do not use echo -n in test runner, -n is not standard
2016-03-08 23:55:15 +00:00
Maxime Coste
ead6865350
Add an initial highlighting test
2016-03-08 13:42:27 +00:00
Maxime Coste
114f9c876d
Detect if the debug buffer exists before displaying it in test runner
2016-03-08 00:25:14 +00:00
Maxime Coste
4d4f18a78a
Select ui at launch through the -ui <ui_name> switch
2016-03-07 21:44:50 +00:00
Maxime Coste
f16bb36f41
Add a regression test for #612
2016-03-03 13:57:46 +00:00
Maxime Coste
24d4ee870f
Fix test runner to consider Kakoune returning non 0 as a failure
2016-03-03 13:57:46 +00:00
O. Perret
b2a54b8416
Add reverse search unit tests
2015-12-27 16:24:37 +01:00
Frank LENORMAND
eba673e7f5
Add two unit tests for invalid syntaxes in the command
2015-12-15 11:13:26 +03:00
Frank LENORMAND
bc3d04f111
Fix populating the stderr file, strip the coordinates of the error from it
2015-12-15 11:13:04 +03:00
Frank LENORMAND
6129f1b049
Adapt the changes to a smarter way of testing kak for failures
2015-12-14 15:35:23 +03:00
Frank LENORMAND
d63238ed9d
Allow unit tests to test for errors.
2015-12-12 12:06:16 +03:00
Enrico Lumetti
62f73b6a7c
Display unit tests in alphabetical order
2015-12-07 16:40:18 +01:00
Maxime Coste
20bd4173e2
Support auto disabling of unit tests with an optional enabled script
...
Restore the unicode test case using that.
2015-11-16 21:17:23 +00:00
Maxime Coste
c3a4fc9405
Revert "Add an unicode to upper case test", needs an utf8 locale
...
This reverts commit 6aa892ef49
.
2015-11-16 13:56:12 +00:00
Maxime Coste
6aa892ef49
Add an unicode to upper case test
2015-11-15 13:32:48 +00:00
Maxime Coste
832e9155fa
Code cleanup in the test running script
2015-10-17 11:33:09 +01:00
Maxime Coste
e0049bb587
Fix backward search searching from on char before the corret one.
...
Fixes #406
2015-09-14 14:28:45 +01:00
Maxime Coste
ec88e394b0
Fix tests after macros/marks syntax change
2015-08-20 19:15:44 +01:00
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