summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
authormdejong <mdejong>2002-05-23 19:55:17 (GMT)
committermdejong <mdejong>2002-05-23 19:55:17 (GMT)
commit7232648b41b68bdd036d35aed2b081ba08809e55 (patch)
treee08af2a029c21a0e9c9134497d082986cc298a42 /tests/wm.test
parent3009398fd48768c0775ee9fc23a4d8982abc758f (diff)
downloadtk-7232648b41b68bdd036d35aed2b081ba08809e55.zip
tk-7232648b41b68bdd036d35aed2b081ba08809e55.tar.gz
tk-7232648b41b68bdd036d35aed2b081ba08809e55.tar.bz2
* mac/tkMacWm.c (TkWmStackorderToplevelWrapperMap):
* tests/wm.test: Add embedded Window test case for the stackorder command. * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap): Ignore embedded windows during wm stackorder command.
Diffstat (limited to 'tests/wm.test')
-rw-r--r--tests/wm.test15
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/wm.test b/tests/wm.test
index 3b611ef..7dc6970 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.3 2002/04/10 19:39:01 mdejong Exp $
+# RCS: @(#) $Id: wm.test,v 1.4 2002/05/23 19:55:18 mdejong Exp $
# This file tests window manager interactions that work across
# platforms. Window manager tests that only work on a specific
@@ -293,15 +293,18 @@ test wm-stackorder-5.3 {An overrideredirect window
wm stackorder .t isbelow .
} 1
-
-deleteWindows
+test wm-stackorder-6.1 {An embedded toplevel does not
+ appear in the stacking order} {
+ deleteWindows
+ toplevel .real
+ toplevel .embd -bg blue -use [winfo id .real]
+ update
+ wm stackorder .
+} {. .real}
# FIXME:
-# Need test cases for embedded Windows, they should not appear in
-# the stacking order since they are not actually toplevel Windows.
-
# Test delivery of virtual events to the WM. We could check to see
# if the window was raised after a button click for example.
# This sort of testing may not be possible.