summaryrefslogtreecommitdiffstats
path: root/tests/msgbox.test
Commit message (Collapse)AuthorAgeFilesLines
* All NOTES sections: "testfile" -> "test file"erikleunissen2025-10-291-1/+1
|
* For affected/related testfiles: add note(s) regarding the skipping of entire ↵erikleunissen2025-10-251-0/+6
| | | | testfiles to the NOTE(S) section. Enhance/correct file headers where applicable.
* Remove newline, inadvertently introduced in commit [18301872460bfe26]erikleunissen2025-10-031-1/+0
|
* Remove unintended newlineerikleunissen2025-09-261-1/+0
|
* Complete replacement of the -loadfile/loadTestedCommands mechanism for all ↵erikleunissen2025-09-261-17/+11
| | | | test files
* Diversify initialization of test files w.r.t. option "-singleproc" and ↵erikleunissen2025-08-111-8/+19
| | | | remove call to "resetWindows" from main.tcl
* Restore "package require tcltest 2.2" in TESTFILE INITIALIZATION, even ↵erikleunissen2025-08-041-0/+2
| | | | though it's currently redundant.
* replace section header "# CLEANUP" with "# TESTFILE CLEANUP" throughouterikleunissen2025-07-191-1/+1
|
* Remove all occurrences of "return" as the last command in a test fileerikleunissen2025-06-121-1/+0
|
* Wrap long line in section "TESTFILE INITIALIZATION"erikleunissen2025-06-021-1/+2
|
* main.test menu.test menuDraw.test menubut.test message.test msgbox.test: ↵erikleunissen2025-05-151-17/+29
| | | | insert section headers corresponding to (amended) prototype
* Reinstate automatic initialization of dialogType for domain "dialog". The ↵erikleunissen2025-03-261-1/+0
| | | | convenience for the test (file) author is paramount.
* testutils.tcl, domain "dialog": don't export namespace variable dialogTypeerikleunissen2025-03-251-1/+1
|
* Backout [3783cb47a0] and [5c3431e218] because of unclean importerikleunissen2025-03-251-0/+1
|
* choosedir.test, clrpick.test, filebox.test, msgbox.test: automatically ↵erikleunissen2025-03-241-1/+0
| | | | determine dialog type from the name of the test file
* Collect variable "isNative" and rename to "dialogIsNative", significantly ↵erikleunissen2025-03-241-8/+3
| | | | simplifying the algorithm determining its value. Remove related awkwardness in files clrpick.test and msgbox.test
* Convert from approach B => A (revert access procs to the original variable ↵erikleunissen2025-02-131-2/+2
| | | | references), domain dialog
* testutils.tcl [testutils]: new command that handles importing/forgetting of ↵erikleunissen2025-02-101-2/+2
| | | | utility procs and associated variables, and performs auto-(re)initialization of upvar'ed namespace variables previously unset by cleanup in the test file.
* msgbox.test [SendEventToMsg]: integrate in already relocated proc ↵erikleunissen2025-01-131-20/+3
| | | | SendButtonPress
* Relocated proc PressButtonerikleunissen2025-01-071-9/+7
|
* Merge 8.7. More indent fixesjan.nijtmans2024-09-291-37/+37
|
* (c) -> ©jan.nijtmans2020-12-091-1/+1
|
* Merge trunkjan.nijtmans2020-10-051-2/+2
|
* In test-cases same optimization as everywhere else: KeyPress -> Key and ↵jan.nijtmans2020-01-271-2/+2
| | | | ButtonPress -> Button.
* Fix [66db98f30d]: choosedir, filebox, msgbox tests fails on macOS + ↵fvogel2018-05-131-14/+12
|\ | | | | | | undocumented options -message and -command
| * Unify further error messages for tk_messageBox optionsfvogel2018-05-011-20/+5
| |
| * Unify error messages for wrong values of 'tk_messageBox -default' among ↵fvogel2018-05-011-16/+7
| | | | | | | | platforms: Windows and X11 now return the same error
| * Make msgbox.test pass on all platforms (checked on Win Vista, Linux Debian 8 ↵fvogel2018-05-011-5/+21
| | | | | | | | and macOS 10.12.6)
| * Fix mistake in previous commitfvogel2018-05-011-1/+1
| |
| * Fix msgbox.test expected results when running on macOSfvogel2018-05-011-13/+19
| |
* | Excess spacing in test-suitejan.nijtmans2016-03-141-45/+45
|/
* Purge RCS Keywordsdgp2011-06-081-3/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-3/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-3/+0
| | |
* | | Update to tcltest2aniap2008-08-211-97/+371
|/ /
* | Finish off the TIP#152 implementation with Win implementation, tests & docs.dkf2004-05-241-3/+3
| |
* | First step towards improving test style. Also start using Tcl 8.5 features.dkf2004-05-231-19/+15
| |
* | * 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.
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-9/+7
|
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-011-2/+2
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* * win/tkWinDialog.c: Added checks for visibility of parent windowericm2000-04-181-14/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | before creating MessageBox and ChooseColor dialogs; this prevents the application from locking when the parent is withdrawn and the message box is created. In these cases, the window will be created without a parent. * unix/mkLinks: Added WinViewable.3. * tests/msgbox.test: Added tests for patch from [Bug: 4997]. * library/msgbox.tcl: * library/dialog.tcl: Applied patch from [Bug: 4997]; detaches dialog window from parent if parent is not viewable. * library/bgerror.tcl: Removed workaround from [Bug: 4370]; this is superceeded by patches to dialog.tcl. * generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable function to determine visibility of windows instead of inlining the code. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_IsViewable declaration.
* * Merged 8.1 branch into the main trunkstanton1999-04-161-24/+50
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+157