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/cursor.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/cursor.test')
-rw-r--r-- | tests/cursor.test | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/cursor.test b/tests/cursor.test index 2d818c3..e0802fd 100644 --- a/tests/cursor.test +++ b/tests/cursor.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: cursor.test,v 1.3 2001/04/04 06:40:14 hobbs Exp $ +# RCS: @(#) $Id: cursor.test,v 1.3.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] @@ -61,37 +61,37 @@ test cursor-2.2 {Tk_GetCursor procedure} { } {1 {bad cursor spec "@xyzzy"}} test cursor-3.1 {Tk_FreeCursorFromObj - reference counts} { - set x heart + set x arrow destroy .b1 .b2 .b3 button .b1 -cursor $x button .b3 -cursor $x button .b2 -cursor $x set result {} - lappend result [testcursor heart] + lappend result [testcursor arrow] destroy .b1 - lappend result [testcursor heart] + lappend result [testcursor arrow] destroy .b2 - lappend result [testcursor heart] + lappend result [testcursor arrow] destroy .b3 - lappend result [testcursor heart] + lappend result [testcursor arrow] } {{{3 1}} {{2 1}} {{1 1}} {}} test cursor-4.1 {FreeCursorObjProc} { destroy .b - set x [format heart] + set x [format arrow] button .b -cursor $x - set y [format heart] + set y [format arrow] .b configure -cursor $y - set z [format heart] + set z [format arrow] .b configure -cursor $z set result {} - lappend result [testcursor heart] + lappend result [testcursor arrow] set x red - lappend result [testcursor heart] + lappend result [testcursor arrow] set z 32 - lappend result [testcursor heart] + lappend result [testcursor arrow] destroy .b - lappend result [testcursor heart] + lappend result [testcursor arrow] set y bogus set result } {{{1 3}} {{1 2}} {{1 1}} {}} |