Maxime Coste
52d3b60aaa
Clamp selection generated in selection_list_from_string
...
Fixes #733
2016-07-13 19:25:32 +01:00
Maxime Coste
e288d84408
Add a regression test for #704
...
Fixes #704
2016-07-11 19:46:50 +01:00
Maxime Coste
532ae5a1a6
Do not go backward to when selecting to end of line from the end of line
...
Fixes #699
2016-06-22 19:56:40 +01:00
Maxime Coste
fef37e6a92
Do not preserve registers by default when exec/eval in a non draft context
...
Fixes #700
2016-06-20 19:40:49 +01:00
Maxime Coste
dd41a46c4c
Correctly set c++ locale on startup
...
Fixes #595
2016-05-10 22:06:02 +01:00
Maxime Coste
63ac752916
Improve test script
2016-05-10 13:51:00 +01:00
Maxime Coste
1160c51dc4
Improve test runscript to avoid false positives when an output is not generated
2016-05-10 13:43:19 +01:00
Maxime Coste
39762f0cf0
preserve diff leading whitespaces when displayin them in the test runner
2016-05-10 09:38:47 +01:00
Maxime Coste
abac6a9436
Use boost::wregex implementation and manually utf8 decode into it
...
That way we get proper unicode support in regular expressions as long
as the current locale treats wchar_t as unicode codepoints.
Fixes #638
Fixes #595
Fixes #162
2016-05-10 09:38:21 +01:00
Maxime Coste
25a31534ec
Fix splitting selecting the first buffer char when there is a match at buffer begin
2016-04-30 10:37:31 +01:00
Maxime Coste
d3bcf8c21e
Fix handling of expected to fail tests
2016-04-27 09:48:35 +01:00
Maxime Coste
8cae7097f4
Fix test runner use of sed -r
2016-04-27 09:47:49 +01:00
Maxime Coste
b0060ed79e
Fix modified range computation when erasing multiple times past current buffer end
...
Fixes #654
2016-04-13 21:21:00 +01:00
Maxime Coste
b1b6267137
Fix regions display test
2016-04-11 13:58:42 +01:00
Maxime Coste
736ba7dabf
Add a spaces to tabs test
2016-03-30 19:41:21 +01:00
Maxime Coste
5332378419
Fix spaces_to_tabs implementation accessing past end
...
Fixes #643
2016-03-30 19:27:36 +01:00
Maxime Coste
38f146d849
Fix another bug in Buffer::replace implementation
2016-03-17 12:38:09 +00:00
Maxime Coste
f8f530e6ac
Add a replace-line unit test
2016-03-17 12:07:38 +00:00
Maxime Coste
757bbe9e56
Add a reload test
2016-03-17 11:38:07 +00:00
Maxime Coste
544ec7e385
Update test run script, was not writing test name in some cases
2016-03-17 11:37:35 +00:00
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