Terry Jan Reedy
af0dce939c
Issue #21982 : Add minimal unittest for configDialog with 46% coverage.
2014-07-14 23:07:21 -04:00
Terry Jan Reedy
e2c409f010
Issue #18592 : Method return signature changes made to SearchDialogBase for
...
test purposes are now reflected in GrepDialog and ReplaceDialog. Docstrings
are improved. Initial patch by Saimadhav Heblikar
2014-07-13 17:27:21 -04:00
Terry Jan Reedy
d6c3163e46
Issue #18592 : Make unittest for SearchDialogBase work on all tk versions.
2014-07-11 00:37:10 -04:00
Terry Jan Reedy
c03c11019d
#21940 : Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
2014-07-11 00:15:54 -04:00
Terry Jan Reedy
228b99e8a4
More idlelib cleanup inspired by pyflakes.
2014-07-01 21:33:26 -04:00
Terry Jan Reedy
6a0fe8db19
Issue #18592 : Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
...
to remove duplication and return info for tests. Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons. Use Python subscripting to get widget options.
2014-06-30 23:52:14 -04:00
Terry Jan Reedy
1530a82223
whitespace
2014-06-30 20:03:23 -04:00
Terry Jan Reedy
72eb0752d4
Issue #18592 : Add unittests for SearchDialogBase. Patch by Phil Webster.
2014-06-30 19:59:57 -04:00
Terry Jan Reedy
fa3b9cc7c8
Issue #21694 : Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
2014-06-17 16:35:14 -04:00
Terry Jan Reedy
7c5318f583
Issue #21686 : add unittest for idlelib.HyperParser. Original patch by Saimadhav
...
Heblikar.
2014-06-16 19:00:54 -04:00
Terry Jan Reedy
1d6a0c47db
Closes Issue 21659: Improve Idle calltips for *args, **kwargs in 2.7, where actual
...
names are not available. Initial patch by Serhiy Storchaka.
2014-06-09 20:02:18 -04:00
Terry Jan Reedy
2ce98f8c86
whitespace
2014-06-08 14:57:18 -04:00
Terry Jan Reedy
76cdcf747f
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar. (2 head merge)
2014-06-08 14:47:16 -04:00
Benjamin Peterson
7e1eb5c713
backed out 86ba41b7bb46 ( #18910 ) for test breakage
2014-06-07 17:57:36 -07:00
Terry Jan Reedy
ffd6576ad7
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar.
2014-06-07 04:27:45 -04:00
Terry Jan Reedy
5d1049cbe8
Issue #18910 : test_textView - since all tests require 'gui', make root global.
...
Subclass TextViewer to add mock methods instead of monkey-patching it.
2014-06-06 17:43:14 -04:00
Zachary Ware
90bcdd71a5
Issue #18292 : s/tkinter/Tkinter/
2014-06-05 15:57:44 -05:00
Terry Jan Reedy
649570a9e7
whitespace
2014-06-05 03:53:42 -04:00
Terry Jan Reedy
562495ab61
Issue #18910 : Add unittest for textView. Patch by Phil Webster.
2014-06-05 03:38:28 -04:00
Terry Jan Reedy
6e66cb03b7
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:49 -04:00
Terry Jan Reedy
8ba9e450c9
Issue #18409 : Idle: add unittest for AutoComplete. Patch by Phil Webster.
2014-06-03 20:54:15 -04:00
Zachary Ware
9ce635f7bd
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:16 -05:00
Terry Jan Reedy
f74805b2cb
Issue #21477 : Update htest docstring and remove extraneous differences between
...
2.7 and 3.4. Original patch by Saimadhav Heblikar.
2014-06-01 00:30:28 -04:00
Terry Jan Reedy
76916e8404
Issue #21477 : Add htests for GrepDialog, UndoDelegator, and configDialog.
...
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
2014-05-29 01:46:16 -04:00
Terry Jan Reedy
d0d4f2d0c6
Issue #21477 : Add htests for Search and Replace dialogs.
...
Patch by Saimadhav Heblikar.
2014-05-27 03:30:44 -04:00
Terry Jan Reedy
985ef28054
Issue #21477 : Idle htest: modify run; add more tests.
...
Patch by Saimadhav Heblikar. 2.7 backport of 90829, d7eea8f608c2.
2014-05-27 02:47:38 -04:00
Terry Jan Reedy
62012fc719
Issue #21477 : Idle htest: merge and modify run and runall; add many tests.
...
Patch by Saimadhav Heblikar
2014-05-24 18:48:03 -04:00
Terry Jan Reedy
4345846161
Issue #21477 : idle htests - lower case function names, other cleanups.
2014-05-19 00:12:00 -04:00
Terry Jan Reedy
fb371afaac
Issue #18104 : revise docstrings, remove obsolete comments.
2014-05-15 20:49:57 -04:00
Terry Jan Reedy
c5945966ae
whitespace
2014-05-11 23:37:26 -04:00
Terry Jan Reedy
00b0bd55b4
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:20 -04:00
Terry Jan Reedy
0edf52a2c2
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
...
reformat width in the configuration menu.
2014-04-22 01:10:57 -04:00
Terry Jan Reedy
44fad467b9
Issue #20567 : Delete class attribute gui widgets in idle tests.
...
Code patch by Serhiy Storchaka
2014-02-27 18:47:23 -05:00
Ezio Melotti
ac3dfc63b5
#20634 : fix typo in IDLE README noticed by Saimadhav Heblikar.
2014-02-15 13:01:08 +02:00
Terry Jan Reedy
3ac26c1bd2
Idle test: 2nd try at suppressing compile time warning (hint by Nick Coghlan).
2014-01-30 21:37:24 -05:00
Terry Jan Reedy
0a600cf235
Idlelib & buildbots: suppress py3 deprecation message even if enabled.
2014-01-29 14:42:32 -05:00
Terry Jan Reedy
e7ec1be8c7
Idlelib.calltips: add test of starred first parameters. They should not be
...
removed even for bound methods. (Inspect.signature does, see 20401.)
2014-01-26 21:34:25 -05:00
Terry Jan Reedy
e7a72a194d
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 19:55:07 -05:00
Terry Jan Reedy
82c48e098a
Issue #16638 : Include up to 5 docstring header lines (before first blank) in
...
Idle calltips. This is needed for builtins, such 3.x bytes (which is why 5).
Based on patch by Serhiy Storchaka.
2014-01-21 20:45:03 -05:00
Terry Jan Reedy
21334e72fd
Issue #16630 : Make Idle calltips work even when __getattr__ raises.
...
Initial patch by Roger Serwy.
2014-01-21 15:36:36 -05:00
Terry Jan Reedy
0e2793c413
Issue #16655 : Explain why Idle's test_calltips has 'fragile' tests of builtins.
...
I do not expect a problem in 2.7, but backported this anyway, 'in case'.
2014-01-21 03:07:43 -05:00
Terry Jan Reedy
598295c63c
Issue #21222 : Whitespace
2014-01-21 00:31:07 -05:00
Terry Jan Reedy
02fd1fd7fd
Issue #20122 : Idlelib: Move tests in 3.x CallTips.py to test_calltips.py.
...
For 2.7 backport, fix get_arg_spec as needed to make expanded tests pass.
2014-01-21 00:26:10 -05:00
Terry Jan Reedy
4c42735a99
Issue #18489 : Add complete, gui-free tests for idlelib.SearchEngine.
...
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
2013-08-31 16:27:08 -04:00
Ezio Melotti
5dd99ebbc2
#18741 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:07:38 +03:00
Terry Jan Reedy
1703df6c93
Issue #18732 : Remove unused* parameter output_sep from IdleHistory.History
...
and paired splits and joins that do nothing when output_sep is its default \n.
*It in unused in that the class in only instantiated once, with the default.
Make a few other changes in .fetch and its test.
2013-08-15 16:19:07 -04:00
Terry Jan Reedy
74b3290c10
Issue #18226 : Fix ImportError and subsequent TypeError in 2.7 backport.
...
Running py27\PCbuild> python_d -m test.regrtest -ugui test_idle
ignores the exceptions and gives no indication of a problem (fixed in 3.3).
2013-08-15 15:07:58 -04:00
Terry Jan Reedy
8ce36dd7aa
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
...
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Issue #18425 : Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
2013-08-15 14:31:55 -04:00
Terry Jan Reedy
3d35489169
Issue #18226 : Add docstrings and unittests for idlelib/FormatParagraph.py.
...
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
2013-08-10 16:56:20 -04:00
Terry Jan Reedy
9ba8d6bf34
Make all idle test case names end with 'Test'.
2013-07-30 01:37:36 -04:00