diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-07-23 15:55:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-07-23 15:55:00 +0200 |
commit | fb60409a3f25efedcf5611a64a80cb2fb660489f (patch) | |
tree | 7e37087598a8165d114d0f91373757531c56c663 /src/testdir | |
parent | 54368f274245cef549f0c479492ac8664fede0dd (diff) | |
download | vim-git-fb60409a3f25efedcf5611a64a80cb2fb660489f.tar.gz |
updated for version 7.4.378v7.4.378
Problem: Title of quickfist list is not kept for setqflist(list, 'r').
Solution: Keep the title. Add a test. (Lcd)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/Make_amiga.mak | 2 | ||||
-rw-r--r-- | src/testdir/Make_dos.mak | 1 | ||||
-rw-r--r-- | src/testdir/Make_ming.mak | 1 | ||||
-rw-r--r-- | src/testdir/Make_os2.mak | 3 | ||||
-rw-r--r-- | src/testdir/Make_vms.mms | 3 | ||||
-rw-r--r-- | src/testdir/Makefile | 1 | ||||
-rw-r--r-- | src/testdir/test_qf_title.in | 18 | ||||
-rw-r--r-- | src/testdir/test_qf_title.ok | 2 |
8 files changed, 29 insertions, 2 deletions
diff --git a/src/testdir/Make_amiga.mak b/src/testdir/Make_amiga.mak index 60d820ab8..46cd6a90d 100644 --- a/src/testdir/Make_amiga.mak +++ b/src/testdir/Make_amiga.mak @@ -40,6 +40,7 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \ test_breakindent.out \ test_listlbr.out \ test_listlbr_utf8.out \ + test_qf_title.out \ test_eval.out \ test_options.out @@ -169,5 +170,6 @@ test_autoformat_join.out: test_autoformat_join.in test_breakindent.out: test_breakindent.in test_listlbr.out: test_listlbr.in test_listlbr_utf8.out: test_listlbr_utf8.in +test_qf_title.out: test_qf_title.in test_eval.out: test_eval.in test_options.out: test_options.in diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak index d715d0776..86176ae48 100644 --- a/src/testdir/Make_dos.mak +++ b/src/testdir/Make_dos.mak @@ -39,6 +39,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \ test_breakindent.out \ test_listlbr.out \ test_listlbr_utf8.out \ + test_qf_title.out \ test_eval.out \ test_options.out diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak index 899351769..cf10301b2 100644 --- a/src/testdir/Make_ming.mak +++ b/src/testdir/Make_ming.mak @@ -59,6 +59,7 @@ SCRIPTS = test3.out test4.out test5.out test6.out test7.out \ test_breakindent.out \ test_listlbr.out \ test_listlbr_utf8.out \ + test_qf_title.out \ test_eval.out \ test_options.out diff --git a/src/testdir/Make_os2.mak b/src/testdir/Make_os2.mak index b37bf2aae..a7f3989f8 100644 --- a/src/testdir/Make_os2.mak +++ b/src/testdir/Make_os2.mak @@ -40,8 +40,9 @@ SCRIPTS = test1.out test3.out test4.out test5.out test6.out \ test_autoformat_join.out \ test_eval.out \ test_breakindent.out \ - test_listlbr_utf8.out \ test_listlbr.out \ + test_listlbr_utf8.out \ + test_qf_title.out \ test_options.out .SUFFIXES: .in .out diff --git a/src/testdir/Make_vms.mms b/src/testdir/Make_vms.mms index 9c6f1189a..9bf395be3 100644 --- a/src/testdir/Make_vms.mms +++ b/src/testdir/Make_vms.mms @@ -4,7 +4,7 @@ # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com> # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> # -# Last change: 2014 May 28 +# Last change: 2014 Jul 23 # # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64. # Edit the lines in the Configuration section below to select. @@ -100,6 +100,7 @@ SCRIPT = test1.out test2.out test3.out test4.out test5.out \ test_breakindent.out \ test_listlbr.out \ test_listlbr_utf8.out \ + test_qf_title.out \ test_eval.out \ test_options.out diff --git a/src/testdir/Makefile b/src/testdir/Makefile index abfef353b..b5f5d1803 100644 --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -37,6 +37,7 @@ SCRIPTS = test1.out test2.out test3.out test4.out test5.out test6.out \ test_breakindent.out \ test_listlbr.out \ test_listlbr_utf8.out \ + test_qf_title.out \ test_eval.out \ test_options.out diff --git a/src/testdir/test_qf_title.in b/src/testdir/test_qf_title.in new file mode 100644 index 000000000..fce0c260e --- /dev/null +++ b/src/testdir/test_qf_title.in @@ -0,0 +1,18 @@ +Tests for quickfix window's title vim: set ft=vim : + +STARTTEST +:so small.vim +:if !has('quickfix') | e! test.ok | wq! test.out | endif +:set efm=%E%f:%l:%c:%m +:cgetexpr ['file:1:1:message'] +:let qflist=getqflist() +:call setqflist(qflist, 'r') +:copen +:let g:quickfix_title=w:quickfix_title +:wincmd p +:$put =g:quickfix_title +:/^Results/,$w test.out +:qa! +ENDTEST + +Results of test_qf_title: diff --git a/src/testdir/test_qf_title.ok b/src/testdir/test_qf_title.ok new file mode 100644 index 000000000..4ebdbeff3 --- /dev/null +++ b/src/testdir/test_qf_title.ok @@ -0,0 +1,2 @@ +Results of test_qf_title: +:setqflist() |