summaryrefslogtreecommitdiffstats
path: root/tests/constraints.tcl
Commit message (Collapse)AuthorAgeFilesLines
* [Tk Bug 1712081]dgp2007-05-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in: Updates to account for new and deleted files * win/Makefile.in: tkStubImg.c and tkOldTest.c. * win/makefile.bc: * win/makefile.vc: * generic/tkOldTest.c (new): New file used to create testing * generic/tkTest.c: commands for testing various Tk * tests/constraints.tcl: legacy interfaces where a separate * tests/image.test: compilation unit is needed in order to #define suitable macros during compilation. Only the effect of USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more similar testing commands can be added to this same file. New constraint defined to detect presence of the image type provided by the new testing code, and a few tests added to exercise it. Having USE_OLD_IMAGE support tested by the default test suite should reduce chance of a recurrence of this bug. * doc/CrtImgType.3: Revised docs to better indicate the legacy * doc/CrtPhImgFmt.3: nature of the interfaces supported by USE_OLD_IMAGE. * generic/tkDecls.h: make genstubs * generic/tkStubInit.c: * generic/tk.decls: Reworked USE_OLD_IMAGE support to use * generic/tk.h: the same support mechanisms both with * generic/tkStubImg.c (deleted):and without a stub-enabled build. In each case, route the legacy calls to Tk_CreateImageType and Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and Tk_CreateOldPhotoImageFormat routines. Add those routines to the public stub table so they're available to a stub-enabled extension. Remove the definition of Tk_InitImageArgs() and use a macro to convert any calls to it in source code into a comment. * generic/tkImage.c: Removed the MODULE_SCOPE declarations that * generic/tkImgPhoto.c: broke USE_OLD_IMAGE support.
* * tests/constraints.tcl: ensure 'nonUnixUserInteraction' constraint isdas2007-05-091-1/+2
| | | | | | | | | | | set for aqua. * tests/choosedir.test: add 'notAqua' constraints to X11-only tests; * tests/clrpick.test: add 'nonUnixUserInteraction' to 'unix' tests * tests/menuDraw.test: requiring interaction on aqua. * tests/unixMenu.test: * tests/unixWm.test: * tests/winMenu.test:
* fix tests for TkAquavincentdarley2006-04-181-0/+1
|
* typo in last commit re notAqua constraintdas2006-03-151-2/+1
|
* * tests/constraints.tcl: Added notAqua constraint to canvPs-3.1dgp2006-03-141-0/+1
| | | | | * tests/canvPs.test: to stop test suite crash on Mac OSX. [Bug 1088807]
* Steps towards systematization of test constraints in Tk test suitedkf2004-06-171-12/+51
|
* * tests/constraints.tcl:When running the test suite in a processdgp2003-11-181-0/+17
| | | | | | | | * tests/image.test: where Tk has been [load]ed, there's no * tests/select.test: guarantee that child processes created by * tests/unixWm.test: [exec [interpreter]] will have Tk in them. * tests/window.test: Made modifications to force a [load] of Tk in those situations.
* * tests/all.tcl: Made better use of a commondgp2003-04-011-0/+8
| | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* Use the panedwindow's depth, not the screen's default depth. [Bug #671122]dkf2003-02-211-0/+1
|
* * Fixes for [Bug 581627].dgp2002-07-151-4/+7
| | | | | | | | * generic/tkTest.c: Test commands not supported on non-Unix platforms should not be defined there in the first place. * tests/constraints.tcl: Fixed "secureserver" constraint. * tests/unixWm.test: Some tests needed "unix" constraint. * win/tkWinWm.c: Typo in error message.
* * Completed conversion of Tk test suite to use tcltest.dgp2002-07-141-3/+42
|
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-0/+2
|
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-25/+45
|
* * Converted several files in the test suite for testing bydgp2002-07-131-7/+20
| | | | tcltest 2.1.
* * Converted several files in the Tk test suite for testing bydgp2002-07-121-0/+104
tcltest 2.1.