diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2005-10-10 15:19:41 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2005-10-10 15:19:41 (GMT) |
commit | 81b3cd7d0109a42c75384d2efbecacd0d26d9d8e (patch) | |
tree | 2c78c4b8a218469ad6c044183faf03a36b96c0b7 /tests/winfo.test | |
parent | 369a19bc7a32c8f8b61380d81e82fdc123c83290 (diff) | |
download | tk-81b3cd7d0109a42c75384d2efbecacd0d26d9d8e.zip tk-81b3cd7d0109a42c75384d2efbecacd0d26d9d8e.tar.gz tk-81b3cd7d0109a42c75384d2efbecacd0d26d9d8e.tar.bz2 |
* tests/winfo.test: Wait until child window is visible
* tests/wm.test: Modified test to match actual error output.
Diffstat (limited to 'tests/winfo.test')
-rw-r--r-- | tests/winfo.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/winfo.test b/tests/winfo.test index 3f9a1c1..5fba94c 100644 --- a/tests/winfo.test +++ b/tests/winfo.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: winfo.test,v 1.9 2002/07/13 21:52:34 dgp Exp $ +# RCS: @(#) $Id: winfo.test,v 1.9.2.1 2005/10/10 15:19:41 patthoyts Exp $ package require tcltest 2.1 namespace import -force tcltest::configure @@ -115,7 +115,8 @@ toplevel .t -width 550 -height 400 frame .t.f -width 80 -height 60 -bd 2 -relief raised place .t.f -x 50 -y 50 wm geom .t +0+0 -update +tkwait visibility .t.f + test winfo-4.1 {"winfo containing" command} { list [catch {winfo containing 22} msg] $msg } {1 {wrong # args: should be "winfo containing ?-displayof window? rootX rootY"}} |