summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormdejong <mdejong>2002-08-08 23:45:01 (GMT)
committermdejong <mdejong>2002-08-08 23:45:01 (GMT)
commit802a55da298e37ec121021df74311f1432a22f3e (patch)
tree0349046d5679ea073feae010b6ee97d347737d10 /tests
parentbd684d1311f1ad34e38dfe88e4037f946e864f8f (diff)
downloadtk-802a55da298e37ec121021df74311f1432a22f3e.zip
tk-802a55da298e37ec121021df74311f1432a22f3e.tar.gz
tk-802a55da298e37ec121021df74311f1432a22f3e.tar.bz2
* tests/wm.test: Add deleteWindows at start of
new transient tests so they do not fail if the toplevels already exist. * unix/tkUnixWm.c: Revert patch for Tk Bug #592201 which incorrectly removed numTransients member.
Diffstat (limited to 'tests')
-rw-r--r--tests/wm.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/wm.test b/tests/wm.test
index bb2cdc3..1694365 100644
--- a/tests/wm.test
+++ b/tests/wm.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: wm.test,v 1.17 2002/08/08 22:32:11 jenglish Exp $
+# RCS: @(#) $Id: wm.test,v 1.18 2002/08/08 23:45:01 mdejong Exp $
# This file tests window manager interactions that work across
# platforms. Window manager tests that only work on a specific
@@ -1375,6 +1375,7 @@ test wm-transient-6.2 { a withdrawn transient does not track
# 7.1 and 7.2 added to catch (potential) future errors.
#
test wm-transient-7.1 {Destroying transient} {
+ deleteWindows
toplevel .t
toplevel .transient
wm transient .transient .t
@@ -1384,6 +1385,7 @@ test wm-transient-7.1 {Destroying transient} {
} {}
test wm-transient-7.2 {Destroying master} {
+ deleteWindows
toplevel .t
toplevel .transient
wm transient .transient .t
@@ -1394,6 +1396,7 @@ test wm-transient-7.2 {Destroying master} {
} {}
test wm-transient-7.3 {Reassign transient, destroy old master} {
+ deleteWindows
toplevel .t1
toplevel .t2
toplevel .transient
@@ -1405,6 +1408,7 @@ test wm-transient-7.3 {Reassign transient, destroy old master} {
} {}
test wm-transient-7.4 {Reassign transient, destroy new master} {
+ deleteWindows
toplevel .t1
toplevel .t2
toplevel .transient
@@ -1416,6 +1420,7 @@ test wm-transient-7.4 {Reassign transient, destroy new master} {
} {}
test wm-transient-7.5 {Reassign transient, destroy transient} {
+ deleteWindows
toplevel .t1
toplevel .t2
toplevel .transient