/usr/lib64/python2.7/idlelib/idle_test
NameSizeModeActions
htest.py137790644editdlrm
htest.pyc126000644editdlrm
htest.pyo126000644editdlrm
mock_idle.py15970644editdlrm
mock_idle.pyc28790644editdlrm
mock_idle.pyo28790644editdlrm
mock_tk.py115740644editdlrm
mock_tk.pyc123620644editdlrm
mock_tk.pyo123620644editdlrm
README.txt54920644editdlrm
test_autocomplete.py49220644editdlrm
test_autocomplete.pyc58600644editdlrm
test_autocomplete.pyo58600644editdlrm
test_autoexpand.py41220644editdlrm
test_autoexpand.pyc48060644editdlrm
test_autoexpand.pyo48060644editdlrm
test_calltips.py71400644editdlrm
test_calltips.pyc121310644editdlrm
test_calltips.pyo121310644editdlrm
test_configdialog.py7820644editdlrm
test_configdialog.pyc16550644editdlrm
test_configdialog.pyo16550644editdlrm
test_config_name.py24720644editdlrm
test_config_name.pyc40120644editdlrm
test_config_name.pyo40120644editdlrm
test_delegator.py12940644editdlrm
test_delegator.pyc13190644editdlrm
test_delegator.pyo13190644editdlrm
test_editmenu.py31670644editdlrm
test_editmenu.pyc44390644editdlrm
test_editmenu.pyo44390644editdlrm
test_formatparagraph.py143440644editdlrm
test_formatparagraph.pyc143180644editdlrm
test_formatparagraph.pyo143180644editdlrm
test_grep.py27620644editdlrm
test_grep.pyc37600644editdlrm
test_grep.pyo37600644editdlrm
test_helpabout.py16110644editdlrm
test_helpabout.pyc23630644editdlrm
test_helpabout.pyo23630644editdlrm
test_hyperparser.py56840644editdlrm
test_hyperparser.pyc67340644editdlrm
test_hyperparser.pyo67340644editdlrm
test_idlehistory.py54950644editdlrm
test_idlehistory.pyc81420644editdlrm
test_idlehistory.pyo81420644editdlrm
test_io.py95050644editdlrm
test_io.pyc115330644editdlrm
test_io.pyo115330644editdlrm
test_parenmatch.py38220644editdlrm
test_parenmatch.pyc54560644editdlrm
test_parenmatch.pyo54560644editdlrm
test_pathbrowser.py9400644editdlrm
test_pathbrowser.pyc14850644editdlrm
test_pathbrowser.pyo14850644editdlrm
test_rstrip.py16130644editdlrm
test_rstrip.pyc17730644editdlrm
test_rstrip.pyo17730644editdlrm
test_searchdialogbase.py58630644editdlrm
test_searchdialogbase.pyc68270644editdlrm
test_searchdialogbase.pyo68270644editdlrm
test_searchengine.py114870644editdlrm
test_searchengine.pyc126490644editdlrm
test_searchengine.pyo126490644editdlrm
test_text.py67440644editdlrm
test_text.pyc81480644editdlrm
test_text.pyo81480644editdlrm
test_textview.py28020644editdlrm
test_textview.pyc45310644editdlrm
test_textview.pyo45310644editdlrm
test_warning.py27570644editdlrm
test_warning.pyc32860644editdlrm
test_warning.pyo32860644editdlrm
test_widgetredir.py41770644editdlrm
test_widgetredir.pyc63840644editdlrm
test_widgetredir.pyo63840644editdlrm
__init__.py6500644editdlrm
__init__.pyc9150644editdlrm
__init__.pyo9150644editdlrm
Edit: /usr/lib64/python2.7/idlelib/idle_test/htest.pyo (12600B)
 {fc@sdZddlmZddlmZddlZidd6idd6ed 6d 6d d 6Zid d6id 6dd 6Z idd6id 6dd 6Z idd6id 6dd 6Z idd6idd6ed 6d 6dd 6Z idd6id 6dd 6Z idd6id 6dd 6Zidd6idd6dd6dhd6ed 6d 6d d 6Zid!d6id"d6ed 6d 6d#d 6Zid$d6id%d6d&d'6d(gd)6ed 6d 6d*d 6Zid+d6id 6d,d 6Zid-d6id 6d.d 6Zid/d6id 6d0d 6Zid1d6id 6d2d 6Zid3d6id 6d4d 6Zid5d6id 6d6d 6Zid7d6id 6d8d 6Zid9d6id 6d:d 6Zid;d6id 6d<d 6Zid=d6id 6d>d 6Zid?d6id 6d@d 6ZidAd6id 6dBd 6ZidCd6id 6dDd 6ZidEd6idFd6dGdHdI6ed 6d 6dJd 6ZidKd6id 6dLd 6Z idMd6id 6dNd 6Z!idOd6id 6dPd 6Z"idQd6id 6dRd 6Z#dSZ$e%dTkre$ndS(UsRun human tests of Idle's window, dialog, and popup widgets. run(*tests) Create a master Tk window. Within that, run each callable in tests after finding the matching test spec in this file. If tests is empty, run an htest for each spec dict in this file after finding the matching callable in the module named in the spec. Close the window to skip or end the test. In a tested module, let X be a global name bound to a callable (class or function) whose .__name__ attrubute is also X (the usual situation). The first parameter of X must be 'parent'. When called, the parent argument will be the root window. X must create a child Toplevel window (or subclass thereof). The Toplevel may be a test widget or dialog, in which case the callable is the corresonding class. Or the Toplevel may contain the widget to be tested or set up a context in which a test widget is invoked. In this latter case, the callable is a wrapper function that sets up the Toplevel and other objects. Wrapper function names, such as _editor_window', should start with '_'. End the module with if __name__ == '__main__': from idlelib.idle_test.htest import run run(X) To have wrapper functions and test invocation code ignored by coveragepy reports, put '# htest #' on the def statement header line. def _wrapper(parent): # htest # Also make sure that the 'if __name__' line matches the above. Then have make sure that .coveragerc includes the following. [report] exclude_lines = .*# htest # if __name__ == .__main__.: (The "." instead of "'" is intentional and necessary.) To run any X, this file must contain a matching instance of the following template, with X.__name__ prepended to '_spec'. When all tests are run, the prefix is use to get X. _spec = { 'file': '', 'kwds': {'title': ''}, 'msg': "" } file (no .py): run() imports file.py. kwds: augmented with {'parent':root} and passed to X as **kwds. title: an example kwd; some widgets need this, delete if not. msg: master window hints about testing the widget. Modules and classes not being tested at the moment: PyShell.PyShellEditorWindow Debugger.Debugger AutoCompleteWindow.AutoCompleteWindow OutputWindow.OutputWindow (indirectly being tested with grep test) i(t import_module(t_initializeTkVariantTestsNt aboutDialogtfilesaboutDialog testttitlet_htesttkwdssaTest every button. Ensure Python, TK and IDLE versions are correctly displayed. [Close] to exit.tmsgt CallTipWindowsHTyping '(' should display a calltip. Typing ') should hide the calltip. t ClassBrowsersInspect names of module, class(with superclass if applicable), methods and functions. Toggle nested items. Double clicking on items prints a traceback for an exception that is ignored.tColorDelegatorsThe text is sample Python code. Ensure components like comments, keywords, builtins, string, definitions, and break are correctly colored. The default color scheme is in idlelib/config-highlight.deft configDialogtConfigDialogTestsIDLE preferences dialog. In the 'Fonts/Tabs' tab, changing font face, should update the font face of the text in the area below it. In the 'Highlighting' tab, try different color schemes. Clicking items in the sample program should update the choices above it. In the 'Keys', 'General' and 'Extensions' tabs, test settings of interest. [Ok] to close the dialog.[Apply] to apply the settings and and [Cancel] to revert all changes. Re-run the test to ensure changes made have persisted.tdynOptionMenuWidgetsSelect one of the many options in the 'old option set'. Click the button to change the option set. Select one of the many options in the 'new option set'.t EditorWindows>Test editor functions of interest. Best to close editor first.tconfigSectionNameDialogsGet NamesEnter somethingtmessagetabct used_namessAfter the text entered with [Ok] is stripped, , 'abc', or more that 30 chars are errors. Close 'Get Name' with a valid entry (printed to Shell), [Cancel], or [X]tconfigHelpSourceEditsGet helpsources%Enter menu item name and help file path and more than 30 chars are invalid menu item names. , file does not exist are invalid path items. Test for incomplete web address for help file path. A valid entry will be printed to shell with [0k]. [Cancel] will print None to shelltkeybindingDialogsTest keybindingss find-againtactionttcurrentKeySequencessTest for different key modifier sequences. is invalid. No modifier key is invalid. Shift key with [a-z],[0-9], function key, move key, tab, space is invalid. No validitity checking if advanced key binding entry is used.t GrepDialogsClick the 'Show GrepDialog' button. Test the various 'Find-in-files' functions. The results should be displayed in a new '*Output*' window. 'Right-click'->'Goto file/line' anywhere in the search results should open that file in a new EditorWindow.t IOBindingsTest the following bindings. to open file from dialog. Edit the file. to print the file. to save the file. to save-as another file. to save-copy-as another file. Check that changes were saved by opening the file elsewhere.t MultiCallsThe following actions should trigger a print to console or IDLE Shell. Entering and leaving the text area, key entry, , , , , , and focusing out of the window are sequences to be tested.tMultiStatusBarsjEnsure presence of multi-status bar below text area. Click 'Update Status' to change the multi-status textt ObjectBrowsersDouble click on items upto the lowest level. Attributes of the objects and related information will be displayed side-by-side at each level.t PathBrowsersTest for correct display of all paths in sys.path. Toggle nested items upto the lowest level. Double clicking on an item prints a traceback for an exception that is ignored.t PercolatorsAThere are two tracers which can be toggled using a checkbox. Toggling a tracer 'on' by checking it should print tracer output to the console or to the IDLE shell. If both the tracers are 'on', the output from the tracer which was switched 'on' later, should be printed first Test for actions like text entry, and removal.t ReplaceDialogsClick the 'Replace' button. Test various replace options in the 'Replace dialog'. Click [Close] or [X] to close the 'Replace Dialog'.t SearchDialogsClick the 'Search' button. Test various search options in the 'Search dialog'. Click [Close] or [X] to close the 'Search Dialog'.t ScrolledListsYou should see a scrollable list of items Selecting (clicking) or double clicking an item prints the name to the console or Idle shell. Right clicking an item will display a popup.thelpsPIf the help text displays, this works. Text is selectable. Window is scrollable.t StackViewersA stacktrace for a NameError exception. Expand 'idlelib ...' and ''. Check that exc_value, exc_tb, and exc_type are correct. t tabbedpagessToggle between the two tabs 'foo' and 'bar' Add a tab by entering a suitable name for it. Remove an existing tab by entering its name. Remove all existing tabs. is an invalid add page and remove page name. ttextViews Test textViews-The quick brown fox jumps over the lazy dog. i#ttextsNTest for read-only property of text. Text is selectable. Window is scrollable.tToolTipsPPlace mouse cursor over both the buttons A tooltip should appear with some text.t TreeWidgetsDThe canvas is scrollable. Click on folders upto to the lowest level.t UndoDelegatorsClick [Undo] to undo any action. Click [Redo] to redo any action. Click [Dump] to dump the current state by printing to the console or the IDLE shell. tWidgetRedirectorsEEvery text insert should be printed to the console or the IDLE shell.c stjjdjddttjdd}|jtj|ddjdj ddd d d d d tj |dj }j d|j |jdddddtjdddddtg|rIx|D]:}t|jd}|j|d<j||fqWnxtjD]n\}}|jdrY|d |}|dBs                                             B