summaryrefslogtreecommitdiffstats
path: root/tests/grid.test
diff options
context:
space:
mode:
authorericm <ericm>2000-04-17 17:44:27 (GMT)
committerericm <ericm>2000-04-17 17:44:27 (GMT)
commit424e07b3f85a1f56fd99ca65cec5c2e570dcc31e (patch)
tree80db68bf6538a20eafdfc699a2239450feb16f7b /tests/grid.test
parent05e60900653c4f5ca49f098f9eda63c573e8264e (diff)
downloadtk-424e07b3f85a1f56fd99ca65cec5c2e570dcc31e.zip
tk-424e07b3f85a1f56fd99ca65cec5c2e570dcc31e.tar.gz
tk-424e07b3f85a1f56fd99ca65cec5c2e570dcc31e.tar.bz2
* tests/grid.test: Added test for [grid propagate . 0] to not toggle.
Diffstat (limited to 'tests/grid.test')
-rw-r--r--tests/grid.test13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/grid.test b/tests/grid.test
index d80f1a9..31e49df 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.7 2000/01/20 23:46:21 ericm Exp $
+# RCS: @(#) $Id: grid.test,v 1.8 2000/04/17 17:44:27 ericm Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -370,7 +370,16 @@ test grid-7.6 {propagate} {
set a
} {100x100 100x100 75x85}
grid_reset 7.6
-
+test grid-7.7 {propagate} {
+ grid propagate . 1
+ set res [list [grid propagate .]]
+ grid propagate . 0
+ lappend res [grid propagate .]
+ grid propagate . 0
+ lappend res [grid propagate .]
+ set res
+} [list 1 0 0]
+grid_reset 7.7
test grid-8.1 {size} {
list [catch {grid size . foo} msg] $msg