1
0
forked from VimPlug/jedi
Commit Graph

457 Commits

Author SHA1 Message Date
Takafumi Arakaki
00912e69fe Completely separate test collection and run 2013-03-10 16:34:54 +01:00
Takafumi Arakaki
6a10f79551 Do not destruct test case in run_test 2013-03-10 14:24:05 +01:00
Takafumi Arakaki
418bce909a run_{test_type} functions takes same args now 2013-03-10 13:16:05 +01:00
Takafumi Arakaki
932ce397d6 Separate test collection and run 2013-03-10 12:21:12 +01:00
David Halter
90c800b257 remove repl style comments and use indented blocks instead, #146 2013-03-01 19:52:36 +04:30
David Halter
ee6a261b42 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-03-01 00:35:18 +04:30
David Halter
e3b33fc009 fixed a unicode problem caused by a wrongly placed docstring 2013-03-01 00:32:54 +04:30
David Halter
68a9cecb27 improved run test documentation 2013-03-01 00:31:51 +04:30
David Halter
c808bcef70 little description of regression and refactor 2013-03-01 00:23:13 +04:30
David Halter
669dfda419 run documentation improved 2013-03-01 00:19:05 +04:30
David Halter
855d683d9a switched to __name__ == '__main__' checks for tests 2013-03-01 00:07:36 +04:30
David Halter
1834ef51b1 basic testing docstring for run.py 2013-02-28 23:57:33 +04:30
Takafumi Arakaki
6d2f7558fb Run doctests on Travis CI 2013-02-26 10:45:58 +01:00
Takafumi Arakaki
38fc49022f Include __init__ call signature in Class.doc 2013-02-25 01:50:31 +01:00
Takafumi Arakaki
4ba9fd2b68 Fix Statement.get_code
Parsed Statement.assignment_details must be used.  Otherwise,
incorrect code is returned at the first time Statement.get_code
is called.
2013-02-25 01:43:22 +01:00
Takafumi Arakaki
e1e2ed8fcc Add a test for docstring in call signature 2013-02-24 22:45:10 +01:00
David Halter
6ea64a28bf dev/refactor merge 2013-02-23 20:53:57 +04:30
David Halter
4d7aad4ce8 deleted old crap code 2013-02-23 01:13:21 +04:30
David Halter
c1e805d7b0 fixed invalid list comprehension tests 2013-02-22 23:06:59 +04:30
David Halter
b0c3fd5439 api.Script.get_definition -> definition, to be consistent in the api naming. deprecated api.Script.get_definition 2013-02-21 22:12:51 +04:30
David Halter
f8e0c78f77 Script.get_in_function_call -> Script.function_definition 2013-02-21 22:05:39 +04:30
David Halter
d05018757d completely rewrote helpers.search_function_definition 2013-02-21 19:56:05 +04:30
David Halter
1b7fc1ee50 fixes for goto 2013-02-19 00:21:04 +04:30
David Halter
c3fe5d04dd line_offset to offset in Parser, which is important for exact positioning 2013-02-18 23:17:41 +04:30
Danilo Bargen
ea9a667425 Fixed issue with repr encoding (fixes davidhalter/jedi-vim#94) 2013-02-14 21:10:06 +01:00
Danilo Bargen
3ab2b0a244 Added (failing) regression test for davidhalter/jedi-vim#94 2013-02-14 20:26:31 +01:00
David Halter
de5de41627 fix last failing function tests 2013-02-11 00:06:31 +01:00
David Halter
5be5d08441 heapy debugging in run.py 2013-02-07 10:18:19 +01:00
David Halter
3c1ebc02cc fix last remaining bugs of the big evaluate_representation refactoring 2013-02-05 17:21:23 +01:00
Takafumi Arakaki
0cbbb17a82 Add tests in completion/docstring.py 2013-01-30 21:23:04 +01:00
Takafumi Arakaki
e12212942f Add a failing test for type inference from docstring 2013-01-30 01:01:25 +01:00
David Halter
f3f7eacae3 fix a little problem with import keyword autocompletion 2013-01-14 22:35:32 +01:00
David Halter
35e55fab25 improved import statement keyword autocompletion, #111 2013-01-14 22:32:34 +01:00
David Halter
ac2b0016d5 fix import problems with negative kill_counts, fixes #111 2013-01-14 21:25:48 +01:00
David Halter
d08ee04fbb regression tests for #111 2013-01-14 18:41:09 +01:00
David Halter
7b150630f0 stopiteration works in strange ways in the parser in py2, fixes #70, affects probably davidhalter/jedi-vim#68 2013-01-12 12:15:32 +01:00
David Halter
00f7088c05 test for davidhalter/jedi-vim#70 2013-01-12 00:11:38 +01:00
David Halter
bc6005d833 add a newline to tests 2013-01-09 22:49:25 +01:00
David Halter
b991190f50 python 3 compatibility, which is nicer anyway 2013-01-08 12:58:13 +01:00
David Halter
869572fe64 further improvements of the jedi import in tests 2013-01-08 12:29:17 +01:00
David Halter
3c4e079ecb import jedi in tests and not api 2013-01-08 12:15:50 +01:00
David Halter
b748003b54 inline refactorings support tuples now, #103 2013-01-07 20:30:17 +01:00
David Halter
53a5bf6be8 inline tests 2013-01-07 20:20:02 +01:00
David Halter
f3c2c2aab4 add rename tests# 2013-01-07 14:29:48 +01:00
David Halter
f192259383 use absolute paths as the default for 'Script' 2013-01-07 14:29:34 +01:00
David Halter
5fc1d1130d more extract tests 2013-01-07 14:00:28 +01:00
David Halter
fbd2ed02e5 again py2.5... i should test in the future before pushing to dev... 2013-01-07 01:55:33 +01:00
David Halter
d72d8ad756 py2.5 compatibility 2013-01-07 01:51:12 +01:00
David Halter
8ed550254f add refactoring tests to travis tests 2013-01-07 01:48:48 +01:00
David Halter
50e64cf930 corrected indent of some extract functions 2013-01-07 01:47:33 +01:00