summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/htest.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)Tal Einat2019-08-041-3/+10
| | | Convert mouse y to line number in the sidebar rather than the text.
* bpo-37628: Fix IDLE config sample sizes (#14958)Tal Einat2019-07-271-1/+1
| | | | The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
* bpo-17535: IDLE editor line numbers (GH-14030)Tal Einat2019-07-231-0/+14
|
* bpo-37325: Fix focus traversal for 2 IDLE dialogs (#14209)Terry Jan Reedy2019-06-181-2/+3
| | | Tab now moves focus across and down for Help Source and Custom Run.
* bpo-5680: IDLE: Customize running a module (GH-13763)Cheryl Sabella2019-06-181-0/+9
| | | The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu.
* IDLE: Fix typos in docs and comments (GH-13749)Xtreak2019-06-031-1/+1
|
* bpo-35598: IDLE: Update config_key.py with PEP8 names (GH-11330)Cheryl Sabella2018-12-281-2/+1
| | | A few other changes make the code easier to follow.
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵Serhiy Storchaka2018-11-051-4/+4
| | | | | | | | | | (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings.
* bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)Tal Einat2018-09-251-1/+1
|
* bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests ↵Tal Einat2018-08-051-0/+3
| | | | | | | | (GH-7683) * make CallTip and ToolTip sub-classes of a common abstract base class * remove ListboxToolTip (unused and ugly) * greatly increase test coverage * tested on Windows, Linux and macOS
* bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)Terry Jan Reedy2018-06-271-0/+1
| | | | | | | | | Import pyshell first in htest to call SetProcessDpiAwareness on Windows before tkinter.Tk() is called for the htest. Apparently, 'root.destroy()' undoes a previous 'root = Tk()'. Since IDLE unittests always destroy roots, a unittest before an htest does not require anything more to work right. Since part of the purpose of human-viewed tests is to determine that widgets look right, it is important that they look the same for testing as when running IDLE.
* bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881)Terry Jan Reedy2018-06-231-10/+0
| | | | In configdialog, the custom tabbedpages widget was replaced by ttk.notebook several months ago.
* bpo-31459: Rename IDLE's module browser from Class Browser to Module ↵Cheryl Sabella2017-09-231-1/+1
| | | | | | | | | | | Browser. (#3704) The original module-level class and method browser became a module browser, with the addition of module-level functions, years ago. Nested classes and functions were added yesterday. For back- compatibility, the virtual event <<open-class-browser>>, which appears on the Keys tab of the Settings dialog, is not changed. Patch by Cheryl Sabella.
* bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. ↵csabella2017-06-291-10/+10
| | | | | | | (#2283) Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances of the latter two can be placed with other widgets within a multiframe window. Patch by Cheryl Sabella.
* Issue #27620: Make htest box respond to <Return> and <Escape>.Terry Jan Reedy2016-07-281-6/+12
|
* Issue #27620: Escape key closes Query box as cancelled.Terry Jan Reedy2016-07-261-3/+3
|
* Issue #27477: Convert IDLE search dialogs to using ttk widgets.Terry Jan Reedy2016-07-111-0/+7
|
* Issue #27380: IDLE: add query.HelpSource class and tests.Terry Jan Reedy2016-07-081-13/+17
| | | | Remove modules that are combined in new module.
* Issue 27437: Add query.ModuleName and use it for file => Load Module.Terry Jan Reedy2016-07-031-2/+3
| | | | Users can now edit bad entries instead of starting over.
* Issue #27380: IDLE: add base Query dialog, with ttk widgets and subclassTerry Jan Reedy2016-06-271-12/+11
| | | | | | SectionName. These split class GetCfgSectionNameDialog from configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2. More Query subclasses are planned.
* Issue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled.Terry Jan Reedy2016-06-211-1/+2
| | | | | Fix code and tests that fail with this restriction. Fix htests to not create a second and redundant root and mainloop.
* Issue #27239: Continue refactoring idlelib.macosx and adding macosx tests.Terry Jan Reedy2016-06-121-2/+0
|
* Issue *24750: Switch all scrollbars in IDLE to ttk versions.Terry Jan Reedy2016-06-101-1/+2
| | | | Where needed, add minimal tests to cover changes.
* Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed.Terry Jan Reedy2016-06-081-2/+2
|
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-33/+33
| | | | | | | | | | | | | | | | This follows the previous patch that changed idlelib file names. Class names that matched old module names are not changed. Change idlelib imports in turtledemo.__main__. Exception: config-extensions.def. Previously, extension section names, file names, and class names had to match. Changing section names would create cross-version conflicts in config-extensions.cfg (user customizations). Instead map old names to new file names at point of import in editor.EditorWindow.load_extension. Patch extensively tested with test_idle, idle_test.htest.py, a custom import-all test, running IDLE in a console to catch messages, and testing each menu item. Based on a patch by Al Sweigart.
* Issue #25507: revert incorrect movement of idleConf import in c548ad75160c.Terry Jan Reedy2016-01-271-0/+3
| | | | Augment htest to include all major IOBinding functions.
* Issue #25507: move test-specific imports to test function (idlelib.IOBinding).Terry Jan Reedy2015-10-301-3/+5
|
* Issue #24782: Finish converting the Configure Extension dialog into a newTerry Jan Reedy2015-10-141-10/+2
| | | | tab in the IDLE Preferences dialog. Code patch by Mark Roseman.
* Issue #16893: Replace help.txt with idle.html for Idle doc display.Terry Jan Reedy2015-09-201-7/+7
| | | | | | | | The new idlelib/idle.html is copied from Doc/build/html/idle.html. It looks better than help.txt and will better document Idle as released. The tkinter html viewer that works for this file was written by Rose Roseman. The new code is in idlelib/help.py, a new file for help menu classes. The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
* Issue #3068: Add Idle extension configuration dialog to Options menu.Terry Jan Reedy2014-10-231-0/+9
| | | | Original patch by Tal Einat.
* Issue #22186: Fix typos in Lib/.Berker Peksag2014-10-191-1/+1
| | | | Patch by Févry Thibault.
* Issue #22629: Revise idle_test.htest, mostly docstring. Start revision ofTerry Jan Reedy2014-10-171-18/+47
| | | | htests to add # htest # marker for coveragepy and stop tcl errors.
* Issue #21477: Update htest docstring and remove extraneous differences betweenTerry Jan Reedy2014-06-011-9/+18
| | | | 2.7 and 3.4. Original patch by Saimadhav Heblikar.
* Issue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.Terry Jan Reedy2014-05-291-8/+57
| | | | Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
* Issue #21477: Add htests for Search and Replace dialogs.Terry Jan Reedy2014-05-271-6/+20
| | | | Patch by Saimadhav Heblikar.
* Issue #21477: Idle htest: modify run; add more tests.Terry Jan Reedy2014-05-251-36/+73
| | | | Patch by Saimadhav Heblikar. 2.7 version will follow.
* Issue #21477: Idle htest: merge and modify run and runall; add many tests.Terry Jan Reedy2014-05-241-23/+191
| | | | Patch by Saimadhav Heblikar
* Issue #21477: idle htests - lower case function names, other cleanups.Terry Jan Reedy2014-05-191-20/+19
|
* Issue #18104: revise docstrings, remove obsolete comments.Terry Jan Reedy2014-05-161-29/+32
|
* whitespaceTerry Jan Reedy2014-05-121-1/+0
|
* Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to beginTerry Jan Reedy2014-05-121-0/+91
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.