mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.
This commit is contained in:
parent
aa7886dd3f
commit
0a4d13e87e
4 changed files with 73 additions and 15 deletions
|
|
@ -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."
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue