Lines Matching refs:cs
42 for cmd in ['cs find s main', 'cs find 0 main']
46 " Test the output of the :cs command
51 for cmd in ['cs find g test_mf_hash',
52 \ 'cs find 1 test_mf_hash',
53 \ 'cs find 1 test_mf_hash'] " leading space ignored.
59 for cmd in ['cs find d test_mf_hash', 'cs find 2 test_mf_hash']
66 for cmd in ['cs find c test_mf_hash', 'cs find 3 test_mf_hash']
73 for cmd in ['cs find t Bram', 'cs find 4 Bram']
81 for cmd in ['cs find e ^\#includ.', 'cs find 6 ^\#includ.']
103 for cmd in ['cs find f Xmemfile_test.c', 'cs find 7 Xmemfile_test.c']
111 for cmd in ['cs find i assert.h', 'cs find 8 assert.h']
122 call assert_fails('cs find', 'E560:')
123 call assert_fails('cs find x', 'E560:')
132 for cmd in ['cs find a item', 'cs find 9 item']
157 for cmd in ['cs', 'cs help', 'cs xxx']
211 let a = execute('cs find g test_mf_hash')
214 let a = execute('cs find g test_mf_hash')
226 call feedkeys(":cs find s main\<CR>", 't')
260 call feedkeys(":cs \<C-A>\<C-B>\"\<CR>", 'tx')
261 call assert_equal('"cs add find help kill reset show', @:)
266 call feedkeys(":cs find \<C-A>\<C-B>\"\<CR>", 'tx')
267 call assert_equal('"cs find a c d e f g i s t', @:)
269 call feedkeys(":cs kill \<C-A>\<C-B>\"\<CR>", 'tx')
270 call assert_equal('"cs kill -1 0 1', @:)
272 call feedkeys(":cs add Xcscope\<C-A>\<C-B>\"\<CR>", 'tx')
273 call assert_equal('"cs add Xcscope.out Xcscope2.out', @:)
298 " Test ":cs add {dir}" (add the {dir}/cscope.out database)
307 cs add Xcscopedir
315 cs kill -1
317 call assert_fails('cs add Xcscopedir', 'E563:')