summaryrefslogtreecommitdiffstats
path: root/tests/grid.test
diff options
context:
space:
mode:
authorwart <wart>1999-11-12 23:55:16 (GMT)
committerwart <wart>1999-11-12 23:55:16 (GMT)
commit7c3c1aef2385370be1ebfaaa34fa816693b58484 (patch)
tree96a96faf03522c970ff5942365d1970a1ecbab64 /tests/grid.test
parentf26d87ff6dc4002600ced51b9c7bbb66b1d6f8df (diff)
downloadtk-7c3c1aef2385370be1ebfaaa34fa816693b58484.zip
tk-7c3c1aef2385370be1ebfaaa34fa816693b58484.tar.gz
tk-7c3c1aef2385370be1ebfaaa34fa816693b58484.tar.bz2
Added "wm geometry" calls in some tests that were waiting for the user to
place a window manually. The Tk test suite can now run on twm with no user intervention.
Diffstat (limited to 'tests/grid.test')
-rw-r--r--tests/grid.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/grid.test b/tests/grid.test
index ed0a455..8cec4aa 100644
--- a/tests/grid.test
+++ b/tests/grid.test
@@ -5,7 +5,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: grid.test,v 1.4 1999/04/16 01:51:38 stanton Exp $
+# RCS: @(#) $Id: grid.test,v 1.5 1999/11/12 23:55:16 wart Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -1198,6 +1198,7 @@ test grid-17.1 {forget and pending idle handlers} {
# pending idle handlers when grid forget is invoked.
toplevel .t
+ wm geometry .t +0+0
frame .t.f
label .t.f.l -text foobar
grid .t.f.l
@@ -1207,7 +1208,7 @@ test grid-17.1 {forget and pending idle handlers} {
grid forget .t.f
destroy .t
- toplevel .t
+ toplevel .t -geometry +0+0
frame .t.f
label .t.f.l -text foobar
grid .t.f.l