Lines Matching refs:add
5 " To execute only specific test functions, add a second argument. It will be
37 " If an error cannot be detected properly with an assert function add the
39 " call add(v:errors, 'test foo failed: Cannot find xyz')
47 " When debugging a test it can be useful to add messages to v:errors:
48 " call add(v:errors, "this happened")
162 call add(v:errors, 'typedef not found in alloc.h')
166 call add(v:errors, 'Alloc ID ' . a:name . ' not defined')
200 …call add(v:errors, 'Caught exception in SetUp() before ' . a:test . ': ' . v:exception . ' @ ' . v…
210 call add(s:messages, ' Skipped')
211 call add(s:skipped, 'SKIPPED ' . a:test . ': ' . g:skipped_reason)
219 call add(s:messages, ' Skipped')
220 call add(s:skipped, 'SKIPPED ' . a:test . ': ' . substitute(v:exception, '^\S*\s\+', '', ''))
222 … call add(v:errors, 'Caught exception in ' . a:test . ': ' . v:exception . ' @ ' . v:throwpoint)
234 …call add(v:errors, 'Caught exception in TearDown() after ' . a:test . ': ' . v:exception . ' @ ' .…
285 call add(s:messages, message)
293 call add(s:errors_expected, 'Found errors in ' . g:testfunc . ':')
297 call add(s:errors, 'Found errors in ' . g:testfunc . ':')
307 call add(v:errors, 'Test caused Vim to exit: ' . a:test)
350 … call add(s:messages, "Filtered " .. s:filtered .. " tests with $TEST_FILTER and $TEST_SKIP_PAT")
360 call add(s:messages, message)
364 call add(s:messages, message)
370 call add(s:messages, message)
404 call add(s:messages, ' Skipped')
405 …call add(s:skipped, 'SKIPPED ' . expand('%') . ': ' . substitute(v:exception, '^\S*\s\+', '', ''))
408 call add(s:errors, 'Caught exception: ' . v:exception . ' @ ' . v:throwpoint)
434 " Split the list at commas and add () to make it match g:testfunc.
441 call add(s:messages, g:testfunc .. ' matches $TEST_SKIP_PAT')
465 call add(s:messages, 'Found errors in ' . g:testfunc . ':')
468 call add(total_errors, 'Run ' . g:run_nr . ':')
472 call add(total_errors, 'Flaky test failed too often, giving up')
477 call add(s:messages, 'Flaky test failed, running it again')