diff options
author | wolfsuit <wolfsuit> | 2001-10-15 09:21:59 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2001-10-15 09:21:59 (GMT) |
commit | a3014412e50718ef8e18906598145caab4b898f0 (patch) | |
tree | 7105a93a860c8f55a94974a10b6fdfe6c6dd8a2f /tests/bind.test | |
parent | 343a12a735abd601b4cd5c087be337a51851adb6 (diff) | |
download | tk-a3014412e50718ef8e18906598145caab4b898f0.zip tk-a3014412e50718ef8e18906598145caab4b898f0.tar.gz tk-a3014412e50718ef8e18906598145caab4b898f0.tar.bz2 |
First checkin of support for Tk on Mac OS X.
Diffstat (limited to 'tests/bind.test')
-rw-r--r-- | tests/bind.test | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/tests/bind.test b/tests/bind.test index ad84ed5..ead7e2b 100644 --- a/tests/bind.test +++ b/tests/bind.test @@ -7,7 +7,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: bind.test,v 1.9 2001/03/30 21:52:28 hobbs Exp $ +# RCS: @(#) $Id: bind.test,v 1.9.2.1 2001/10/15 09:22:00 wolfsuit Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { source [file join [pwd] [file dirname [info script]] defs.tcl] @@ -1945,7 +1945,7 @@ test bind-22.2 {HandleEventGenerate} { } {1 {bad window name/identifier "zzz"}} test bind-22.3 {HandleEventGenerate} { list [catch {event gen 47 <Control-v>} msg] $msg -} {1 {bad window name/identifier "47"}} +} {1 {window id "47" doesn't exist in this application}} test bind-22.4 {HandleEventGenerate} { setup bind .b.f <Button> {set x "%s %b"} @@ -2046,11 +2046,7 @@ test bind-22.16 {HandleEventGenerate} { test bind-22.17 {HandleEventGenerate} { list [catch {event gen . <Button> -when xyz} msg] $msg } {1 {bad -when value "xyz": must be now, head, mark, or tail}} -test bind-22.18 {HandleEventGenerate} { - # Bug 411307 - list [catch {event gen . <a> -root 98765} msg] $msg -} {1 {bad window name/identifier "98765"}} -set i 19 +set i 18 foreach check { {<Configure> %a {-above .xyz} {{1 {bad window path name ".xyz"}}}} {<Configure> %a {-above .b} {[winfo id .b]}} @@ -2677,8 +2673,22 @@ test bind-31.2 {MouseWheel events} { set x } {240 10 30} + destroy .b # cleanup ::tcltest::cleanupTests return + + + + + + + + + + + + + |