summaryrefslogtreecommitdiffstats
path: root/tests/unixWm.test
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2005-01-14 21:09:36 (GMT)
committerjenglish <jenglish@flightlab.com>2005-01-14 21:09:36 (GMT)
commit866ef3643c493059ad2275e21192c0cea5d0073c (patch)
tree59591b101ee8718f9f9ae595c27261809be595ce /tests/unixWm.test
parent7873bc6c3b89bbcc6e11383ce9e17ae2b71dcb57 (diff)
downloadtk-866ef3643c493059ad2275e21192c0cea5d0073c.zip
tk-866ef3643c493059ad2275e21192c0cea5d0073c.tar.gz
tk-866ef3643c493059ad2275e21192c0cea5d0073c.tar.bz2
unix/tkUnixWm.c: Sync with CVS HEAD (r1.47):
Fixes: #959973 "wm title bug" (support Unicode titles) Fixes: #742882 "Potential division by zero in gridded wm geometry" Use Tcl_GetTime instead of TclpGetTime [#874745] Use Tcl_Panic() instead of "panic" [#865264] Fixes: #632816 "cannot remove transient" Fixes: #568861 "Fix for wm minsize and maxsize commands" tests/unixWm.test, tests/wm.test: Updated test suite for #632816 (unixWm-37.3, unixWm-37.4, wm-grid-1.11, wm-grid-1.12) and #742882 (unixWm-20.9, unixWm-20.11).
Diffstat (limited to 'tests/unixWm.test')
-rw-r--r--tests/unixWm.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unixWm.test b/tests/unixWm.test
index 2985d65..bca1f5e 100644
--- a/tests/unixWm.test
+++ b/tests/unixWm.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: unixWm.test,v 1.29.2.3 2004/10/05 22:27:27 hobbs Exp $
+# RCS: @(#) $Id: unixWm.test,v 1.29.2.4 2005/01/14 21:09:47 jenglish Exp $
package require tcltest 2.2
namespace import -force tcltest::configure
@@ -733,13 +733,13 @@ test unixWm-20.8 {Tk_WmCmd procedure, "grid" option} unix {
} {1 {expected integer but got "bar"}}
test unixWm-20.9 {Tk_WmCmd procedure, "grid" option} unix {
list [catch {wm grid .t 10 11 -2 13} msg] $msg
-} {1 {widthInc can't be < 0}}
+} {1 {widthInc can't be <= 0}}
test unixWm-20.10 {Tk_WmCmd procedure, "grid" option} unix {
list [catch {wm grid .t 10 11 12 bogus} msg] $msg
} {1 {expected integer but got "bogus"}}
test unixWm-20.11 {Tk_WmCmd procedure, "grid" option} unix {
list [catch {wm grid .t 10 11 12 -1} msg] $msg
-} {1 {heightInc can't be < 0}}
+} {1 {heightInc can't be <= 0}}
catch {destroy .t}
catch {destroy .icon}
@@ -1232,7 +1232,7 @@ test unixWm-37.3 {Tk_WmCmd procedure, "transient" option} {unix testwrapper} {
[testprop [testwrapper .t2] WM_TRANSIENT_FOR]
destroy .t2
set result
-} {{} {} .t 0 {} 0x0}
+} {{} {} .t 0 {} {}}
test unixWm-37.4 {TkWmDeadWindow, destroy on master should clear transient} {unix testwrapper} {
catch {destroy .t2}
toplevel .t2
@@ -1243,7 +1243,7 @@ test unixWm-37.4 {TkWmDeadWindow, destroy on master should clear transient} {uni
destroy .t3
update
list [wm transient .t2] [testprop [testwrapper .t2] WM_TRANSIENT_FOR]
-} {{} 0x0}
+} {{} {}}
test unixWm-37.5 {Tk_WmCmd procedure, "transient" option, create master wrapper} {unix testwrapper} {
catch {destroy .t2}
catch {destroy .t3}