This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Saimadhav.Heblikar
Recipients Saimadhav.Heblikar, jesstess, python-dev, terry.reedy
Date 2014-05-24.04:34:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400906082.28.0.330834629881.issue21477@psf.upfronthosting.co.za>
In-reply-to
Content
Posting a cumulative patch of all htest written so far.

They include IOBinding, Tooltips, MultiStatusbar, tabbedpages, objectbrowser,
scrolledlist, dynOptionWidget, treewidget, widgetredirector,
colordelegator, calltip and multicall, besides aboutDialog, ClassBrowser, PathBrowser, textView and configHelpSourceEdit already posted before.
This patch is named week1.diff

*Improving run/runall - (run-runall.diff)
This patch concerns more with the way run/runall are executed. The only modification for this occurs in the file htest.py
I have streamlined run/runall into a single function. The behavior is same as the current htest.py, except for the reuse of a single root window and the addition of a "next" button.

The logic behind it is contained in line 206 to line 223 of htest.py when run-runall.diff is applied.
In short, a list of tuple containing(spec, kwds and callable object) is used to store the required information. Global variables maintain the above information only for the current test. Once a user finishes a test, the values of the global variables are updated to reflect the values for the next test. The "next" button is disabled for the case when a) it is the last test 2) when run() is called from a module

If this approach is desired, please say so. I will work on improving the responsiveness of the root window(Constant size of root dialog, ensuring buttons, labels etc stay in the "same place" and dont "jump" around).
History
Date User Action Args
2014-05-24 04:34:43Saimadhav.Heblikarsetrecipients: + Saimadhav.Heblikar, terry.reedy, jesstess, python-dev
2014-05-24 04:34:42Saimadhav.Heblikarsetmessageid: <1400906082.28.0.330834629881.issue21477@psf.upfronthosting.co.za>
2014-05-24 04:34:42Saimadhav.Heblikarlinkissue21477 messages
2014-05-24 04:34:41Saimadhav.Heblikarcreate