Commit Graph

60 Commits

Author SHA1 Message Date
Dave Halter
a54729ef63 Use the official Jedi goto API instead of multiple calls
Fixes #802.
2018-07-04 00:03:11 +02:00
Daniel Hahler
7894b38c0c tests: move .cache to build, rename test/_utils.vim 2018-04-19 21:55:19 +02:00
Dave Halter
65190a1856 A pyimport test failed sometimes on travis
There are sometimes slight differences in installed Python versions (and also Python versions within VIM versions).
2017-10-19 09:20:43 +02:00
Dave Halter
7e6811cb4b Fix call signature tests
Now all tests should be fixed again. Also removed a deprecated call to call_name.
2017-10-19 09:20:43 +02:00
Dave Halter
8d547695e2 Fix goto tests 2017-10-19 09:20:43 +02:00
Dave Halter
d42f56bc82 Buffer names seem to be an empty string sometimes and not None 2017-10-19 09:20:43 +02:00
Dave Halter
1c7c9064b7 test titles don't need underscores 2017-10-19 09:20:43 +02:00
Dave Halter
edde267f6b Fix a pyimport test fail 2017-10-19 09:20:43 +02:00
Dave Halter
641c88111d Fix completion tests. 2017-10-19 09:20:43 +02:00
Daniel Hahler
72c1a332d2 jedi#show_documentation: do not use quotes around bufname 2017-09-29 18:36:04 +02:00
Jacob Niehus
0c2831d9a6 Fix parameters missing from command line call signatures
Parameters (or ellipsis) should show up in call signatures even when the
index of the current argument is unknown.

Closes https://github.com/davidhalter/jedi-vim/pull/499.
2015-11-12 02:03:46 +01:00
Jacob Niehus
13a4a0c0c4 Fix signatures only working in a single buffer 2015-11-07 11:43:56 -07:00
Jacob Niehus
4b32847110 Fix issues with wildignore and tag stack
Closes https://github.com/davidhalter/jedi-vim/pull/483.
Fixes https://github.com/davidhalter/jedi-vim/issues/482.
2015-10-23 00:31:28 +02:00
Dave Halter
95d8eb1b08 Merge pull request #479 from blueyed/fix-cached-signature-call
Handle parenthesis with show_call_signatures' cache
2015-10-18 21:45:18 +02:00
Daniel Hahler
431a0b11e5 Handle parenthesis with show_call_signatures' cache
After `o`, call signatures should show up after `abs(`.
2015-10-18 21:22:11 +02:00
Daniel Hahler
5c868b9a1f Use utf8 ellipsis char instead of 3 dots 2015-10-18 21:16:37 +02:00
Jacob Niehus
62c423bf29 Add test case for truncation of cmdline signatures 2015-10-18 21:16:37 +02:00
Daniel Hahler
afc02a3621 Wrap jedi#configure_call_signatures in augroup 2015-09-10 11:55:03 +02:00
Daniel Hahler
91c2a031df Add tests for smart_auto_mappings 2015-08-19 22:37:32 +02:00
Daniel Hahler
439e50e9d1 Use use_tabs_not_buffers=0 by default
Ref: https://github.com/davidhalter/jedi-vim/issues/408#issuecomment-101997691
2015-06-21 22:06:24 +02:00
Dave Halter
d65c35a69d Problem with multi definitions tokenize tests. Jedi behaves different now, therefore I have disabled the tests. Once we find another example where it actually makes sense to test it, we can reenable the tests. 2015-03-31 00:54:58 +02:00
Dave Halter
cc9837dc23 Trying to fix the issue of non-disappearing call signatures, #276, #278. 2015-03-28 03:00:58 +01:00
Dave Halter
43dcc4809f Test if this helps fixing the online tests that are not working. 2015-03-27 12:25:40 +01:00
Dave Halter
2ee17b3be6 Correct the signatures test again. 2015-03-26 15:21:58 +01:00
Dave Halter
075cd9ce69 call signature escape characters moved from == to =`=, because that's something way less common. 2015-03-25 16:29:06 +01:00
Dave Halter
2ba5656606 Forgot to replace the call signature character in the tests. 2015-03-25 14:57:06 +01:00
Jacob Niehus
fb1eaa611e Add vspec tests for cmdline call signatures 2014-12-06 14:47:45 -07:00
itchyny
6cc1d8c34a replace function names starting with g: to CamelCase (fix #326) 2014-11-30 10:01:04 +09:00
Dave Halter
c32844dfec fix a few jedi-vim tests that have either broken due to the new jedi version or because they were wrong. 2014-05-05 12:17:38 +02:00
LittleQ
b8269d70d4 added tests for checking other goto will perform in only one window, no other split buffer will be opened accidentially 2013-09-15 03:03:59 +08:00
LittleQ
a247e9b1c7 make sure it really opened a split window 2013-09-15 02:19:48 +08:00
LittleQ
aa56af0d9c only need to check the opening direction is correct 2013-09-15 02:06:17 +08:00
David Halter
b618e5b863 signatures disabled tests 2013-08-28 20:36:27 +04:30
David Halter
39eba902c4 test call signatures 2013-08-28 20:33:36 +04:30
David Halter
c3f9f03065 failing signatures tests 2013-08-28 20:01:04 +04:30
David Halter
48d0370387 completion tests 2013-08-28 19:44:56 +04:30
David Halter
8a385ffa54 little corrections 2013-08-28 17:48:47 +04:30
David Halter
d2106d73c6 little test for cycling 2013-08-28 17:46:12 +04:30
David Halter
63f159aa76 show a no documentation warning, fixes #164 2013-08-28 09:43:18 +04:30
David Halter
3154c4ab08 variable loaded_jedi doesn't exist anymore (tests) 2013-08-27 21:31:20 +04:30
David Halter
c7b3ad9e2c documentation tests 2013-08-27 20:34:26 +04:30
David Halter
ed3748a9b9 pyimport completions tests 2013-08-27 20:10:58 +04:30
David Halter
a9c654fe48 added a way to disable completions, as mentioned in #166 2013-08-24 21:22:04 +04:30
David Halter
6c9b115661 testing completion disabling 2013-08-24 21:21:00 +04:30
David Halter
429f402675 fix problem with opening pyimport tabs 2013-08-24 20:42:19 +04:30
David Halter
70d65d6981 try to fix travis problems 2013-08-24 20:36:47 +04:30
David Halter
22149611a3 fix a problem with the quickfix window 2013-08-24 15:45:08 +04:30
David Halter
8672280054 goto definition tests for multiple results (opens quickfix window) 2013-08-24 15:43:21 +04:30
David Halter
c7c266ed29 pyimport tests 2013-08-24 14:34:34 +04:30
David Halter
2b52548b37 use safe vim.eval/vim.command if possible (better tracebacks) 2013-08-24 01:59:41 +04:30