summaryrefslogtreecommitdiffstats
path: root/tests/cursor.test
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2004-06-24 12:45:41 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2004-06-24 12:45:41 (GMT)
commit72754477d458ee1a408b36a9517229822e7bcd9d (patch)
tree247a6f8a357677371ada6b20a07faf589614debb /tests/cursor.test
parent49b0e6b4d1beaaa5adc98082199f8438d0703f58 (diff)
downloadtk-72754477d458ee1a408b36a9517229822e7bcd9d.zip
tk-72754477d458ee1a408b36a9517229822e7bcd9d.tar.gz
tk-72754477d458ee1a408b36a9517229822e7bcd9d.tar.bz2
Use standard constraint names
Diffstat (limited to 'tests/cursor.test')
-rw-r--r--tests/cursor.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cursor.test b/tests/cursor.test
index da8b758..350ee91 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.13 2004/06/17 22:38:57 dkf Exp $
+# RCS: @(#) $Id: cursor.test,v 1.14 2004/06/24 12:45:42 dkf Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -80,11 +80,11 @@ foreach wincur(num) $wincur(data_octal) {
}
set wincur(dir) [makeDirectory {dir with spaces}]
set wincur(file) [makeFile $wincur(data_binary) "test file.cur" $wincur(dir)]
-test cursor-2.3 {Tk_GetCursor procedure: cursor specs are lists} {pcOnly} {
+test cursor-2.3 {Tk_GetCursor procedure: cursor specs are lists} win {
destroy .b1
button .b1 -cursor [list @$wincur(file)]
} {.b1}
-test cursor-2.4 {Tk_GetCursor procedure: cursor specs are lists} {pcOnly} {
+test cursor-2.4 {Tk_GetCursor procedure: cursor specs are lists} win {
destroy .b1
button .b1 -cursor @[regsub -all {[][ \\{}""$#]} $wincur(file) {\\&}]
} {.b1}
@@ -242,7 +242,7 @@ foreach {testName cursor} {
cursor-7.8 uparrow
cursor-7.9 wait
} {
- test testName "check Windows cursor $cursor" -constraints pcOnly -setup {
+ test testName "check Windows cursor $cursor" -constraints win -setup {
button .b -text $cursor
} -body {
.b configure -cursor $cursor