diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-05-27 07:30:54 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-05-27 07:30:54 (GMT) |
commit | 0a4d13e87e0272085ed920b284f7245f01137cb3 (patch) | |
tree | ed71eb2dca6a3e61b9cc76f065bbcaea44ca25a6 /Lib/idlelib/idle_test | |
parent | aa7886dd3fd56f02a4f5ef239c869e97cbde4a57 (diff) | |
download | cpython-0a4d13e87e0272085ed920b284f7245f01137cb3.zip cpython-0a4d13e87e0272085ed920b284f7245f01137cb3.tar.gz cpython-0a4d13e87e0272085ed920b284f7245f01137cb3.tar.bz2 |
Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r-- | Lib/idlelib/idle_test/htest.py | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py index c5101ff..af9cb3d 100644 --- a/Lib/idlelib/idle_test/htest.py +++ b/Lib/idlelib/idle_test/htest.py @@ -54,9 +54,9 @@ _class_browser_spec = { 'kwds': {}, 'msg': "Inspect names of module, class(with superclass if " "applicable), methods and functions.\nToggle nested items.\n" - "Double clicking on items prints a traceback print a traceback " - "for an exception that is ignored." - } + "Double clicking on items prints a traceback for an exception " + "that is ignored." + } _color_delegator_spec = { 'file': 'ColorDelegator', @@ -181,6 +181,22 @@ _percolator_spec = { "Test for actions like text entry, and removal." } +_replace_dialog_spec = { + 'file': 'ReplaceDialog', + 'kwds': {}, + 'msg': "Click the 'Replace' button.\n" + "Test various replace options in the 'Replace dialog'.\n" + "Click [Close] or [X] to close to the 'Replace Dialog'." + } + +_search_dialog_spec = { + 'file': 'SearchDialog', + 'kwds': {}, + 'msg': "Click the 'Search' button.\n" + "Test various search options in the 'Search dialog'.\n" + "Click [Close] or [X] to close to the 'Search Dialog'." + } + _scrolled_list_spec = { 'file': 'ScrolledList', 'kwds': {}, @@ -227,9 +243,7 @@ _tooltip_spec = { _tree_widget_spec = { 'file': 'TreeWidget', 'kwds': {}, - 'msg': "You should see two canvases side-by-side.\n" - "The left canvas is scrollable.\n" - "The right canvas is not scrollable.\n" + 'msg': "The canvas is scrollable.\n" "Click on folders upto to the lowest level." } |