summaryrefslogtreecommitdiffstats
path: root/tests/dialog.test
Commit message (Collapse)AuthorAgeFilesLines
* Contribution by Patrick Fradin <patrick.fradin@planar.com>contrib_patrick_fradin_code_cleanupandreask2013-01-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting his mail: <pre> ========================================================== Hi Jeff, I spent some of my time to contribute to the TclTk community ! I'm in late for Christmas gift but like we said in French : "Mieux vaut tard que jamais". ;-) I've use TclDevKit 5.3.0 tclchecker to analyse TclTk code in Tcl and Tk library directories (library, tools and tests) to correct a lot of warnings and few errors. (encapsulate some expr, use 'chan xxx' instead of fconfigure, fileevent...) I've made some improvements too : Examples : - Use 'lassign' instead of many 'lindex' of 'foreach/break' loop. - Use 'in' or 'ni' operators instead of 'lsearch -exact' or to factorise some eq/ne && / || tests. - Use 'eq' or 'ne' to tests strings instead of '==' or '!='. - Use 'unset -nocomplain' to avoid 'catch {unset...}'. - Remove some useless catch around 'destroy' calls. - Use expand {*} instead of 'eval'. Don't touch a lot of code because I don't know all structs and lists. I think it could be a greater improvement to reduce 'eval' calls. Due to previous experience, I dot not change any indentation ! ;-) ========================================================== </pre>
* Purge RCS Keywordsdgp2011-06-081-3/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-3/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-3/+0
| | |
* | | Merge of TkAqua Cocoa portmacosx_cocoa_mergedas2009-06-291-3/+3
| | |
* | | Update to tcltest2aniap2008-08-031-34/+43
|/ /
* | * dialog.test (dialog-1.1): Update expected result to changesdgp2004-11-011-3/+3
| | | | | | | | in the error messages produced by procs.
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
|/ | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * Completed conversion of Tk test suite to use tcltest.dgp2002-07-141-11/+9
|
* * tests/dialog.test (HitReturn): fixed failing dialog-2.1 testhobbs2001-08-221-2/+2
| | | | because it wasn't always getting focus properly.
* New file testing [tk_dialog].dgp2001-08-091-0/+66