summaryrefslogtreecommitdiffstats
path: root/tests/spinbox.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/spinbox.test
parent49b0e6b4d1beaaa5adc98082199f8438d0703f58 (diff)
downloadtk-72754477d458ee1a408b36a9517229822e7bcd9d.zip
tk-72754477d458ee1a408b36a9517229822e7bcd9d.tar.gz
tk-72754477d458ee1a408b36a9517229822e7bcd9d.tar.bz2
Use standard constraint names
Diffstat (limited to 'tests/spinbox.test')
-rw-r--r--tests/spinbox.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/spinbox.test b/tests/spinbox.test
index 90f5df2..ca84c5c 100644
--- a/tests/spinbox.test
+++ b/tests/spinbox.test
@@ -4,7 +4,7 @@
# Copyright (c) 1998-2000 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: spinbox.test,v 1.8 2004/03/17 18:15:50 das Exp $
+# RCS: @(#) $Id: spinbox.test,v 1.9 2004/06/24 12:45:43 dkf Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -1133,26 +1133,26 @@ test spinbox-13.9 {GetSpinboxIndex procedure} {
list [.e index sel.first] [.e index sel.last]
} {1 6}
selection clear .e
-test spinbox-13.10 {GetSpinboxIndex procedure} {unixOnly} {
+test spinbox-13.10 {GetSpinboxIndex procedure} unix {
# On unix, when selection is cleared, spinbox widget's internal
# selection range is reset.
list [catch {.e index sel.first} msg] $msg
} {1 {selection isn't in widget .e}}
-test spinbox-13.11 {GetSpinboxIndex procedure} {pcOnly} {
+test spinbox-13.11 {GetSpinboxIndex procedure} win {
# On mac and pc, when selection is cleared, spinbox widget remembers
# last selected range. When selection ownership is restored to
# spinbox, the old range will be rehighlighted.
list [catch {selection get}] [.e index sel.first]
} {1 1}
-test spinbox-13.12 {GetSpinboxIndex procedure} {unixOnly} {
+test spinbox-13.12 {GetSpinboxIndex procedure} unix {
list [catch {.e index sbogus} msg] $msg
} {1 {selection isn't in widget .e}}
-test spinbox-13.13 {GetSpinboxIndex procedure} {pcOnly} {
+test spinbox-13.13 {GetSpinboxIndex procedure} win {
list [catch {.e index sbogus} msg] $msg
} {1 {bad spinbox index "sbogus"}}
-test spinbox-13.14 {GetSpinboxIndex procedure} {pcOnly} {
+test spinbox-13.14 {GetSpinboxIndex procedure} win {
list [catch {selection get}] [catch {.e index sbogus}]
} {1 1}
test spinbox-13.15 {GetSpinboxIndex procedure} {