summaryrefslogtreecommitdiffstats
path: root/tests/winNotify.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-06-23 15:36:52 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-06-23 15:36:52 (GMT)
commit917f6e364bb4aaeed6b6e109ce16525d58091193 (patch)
tree62ce3a9ba3ee31456f0967b7e5e3c7b35c33dd5e /tests/winNotify.test
parent5ce4f325726f9d4a32b7499cc8a0ff0d81a2dc48 (diff)
downloadtcl-917f6e364bb4aaeed6b6e109ce16525d58091193.zip
tcl-917f6e364bb4aaeed6b6e109ce16525d58091193.tar.gz
tcl-917f6e364bb4aaeed6b6e109ce16525d58091193.tar.bz2
Standardize some use of test constraints onto names that are documented
Diffstat (limited to 'tests/winNotify.test')
-rw-r--r--tests/winNotify.test30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/winNotify.test b/tests/winNotify.test
index 723866e..09ddc1c 100644
--- a/tests/winNotify.test
+++ b/tests/winNotify.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: winNotify.test,v 1.9 2004/05/19 20:15:32 dkf Exp $
+# RCS: @(#) $Id: winNotify.test,v 1.10 2004/06/23 15:36:59 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -21,13 +21,13 @@ testConstraint testeventloop [expr {[info commands testeventloop] != {}}]
# There is no explicit test for InitNotifier or NotifierExitHandler
-test winNotify-1.1 {Tcl_SetTimer: positive timeout} {pcOnly} {
+test winNotify-1.1 {Tcl_SetTimer: positive timeout} {win} {
set done 0
after 1000 { set done 1 }
vwait done
set done
} 1
-test winNotify-1.2 {Tcl_SetTimer: positive timeout, message pending} {pcOnly} {
+test winNotify-1.2 {Tcl_SetTimer: positive timeout, message pending} {win} {
set x 0
set y 1
set a1 [after 0 { incr y }]
@@ -36,7 +36,7 @@ test winNotify-1.2 {Tcl_SetTimer: positive timeout, message pending} {pcOnly} {
vwait x
list $x $y
} {1 1}
-test winNotify-1.3 {Tcl_SetTimer: cancelling positive timeout} {pcOnly} {
+test winNotify-1.3 {Tcl_SetTimer: cancelling positive timeout} {win} {
set x 0
set y 1
set id [after 10000 { incr y }]
@@ -45,7 +45,7 @@ test winNotify-1.3 {Tcl_SetTimer: cancelling positive timeout} {pcOnly} {
after cancel $id
list $x $y
} {1 1}
-test winNotify-1.4 {Tcl_SetTimer: null timeout, message pending} {pcOnly} {
+test winNotify-1.4 {Tcl_SetTimer: null timeout, message pending} {win} {
set x 0
set y 1
after 0 { incr x }
@@ -54,14 +54,14 @@ test winNotify-1.4 {Tcl_SetTimer: null timeout, message pending} {pcOnly} {
list $x $y
} {1 2}
-test winNotify-2.1 {Tcl_ResetIdleTimer} {pcOnly} {
+test winNotify-2.1 {Tcl_ResetIdleTimer} {win} {
set x 0
update
after idle { incr x }
vwait x
set x
} 1
-test winNotify-2.2 {Tcl_ResetIdleTimer: message pending} {pcOnly} {
+test winNotify-2.2 {Tcl_ResetIdleTimer: message pending} {win} {
set x 0
set y 1
update
@@ -71,7 +71,7 @@ test winNotify-2.2 {Tcl_ResetIdleTimer: message pending} {pcOnly} {
list $x $y
} {1 2}
-test winNotify-3.1 {NotifierProc: non-modal normal timer} {pcOnly testeventloop} {
+test winNotify-3.1 {NotifierProc: non-modal normal timer} {win testeventloop} {
update
set x 0
foreach i [after info] {
@@ -81,7 +81,7 @@ test winNotify-3.1 {NotifierProc: non-modal normal timer} {pcOnly testeventloop}
testeventloop wait
set x
} 1
-test winNotify-3.2 {NotifierProc: non-modal normal timer, rescheduled} {pcOnly testeventloop} {
+test winNotify-3.2 {NotifierProc: non-modal normal timer, rescheduled} {win testeventloop} {
update
set x 0
foreach i [after info] {
@@ -91,7 +91,7 @@ test winNotify-3.2 {NotifierProc: non-modal normal timer, rescheduled} {pcOnly t
testeventloop wait
set x
} 2
-test winNotify-3.3 {NotifierProc: modal normal timer} {pcOnly} {
+test winNotify-3.3 {NotifierProc: modal normal timer} {win} {
update
set x 0
foreach i [after info] {
@@ -101,7 +101,7 @@ test winNotify-3.3 {NotifierProc: modal normal timer} {pcOnly} {
vwait x
set x
} 1
-test winNotify-3.4 {NotifierProc: modal normal timer, rescheduled} {pcOnly} {
+test winNotify-3.4 {NotifierProc: modal normal timer, rescheduled} {win} {
update
set x 0
foreach i [after info] {
@@ -112,7 +112,7 @@ test winNotify-3.4 {NotifierProc: modal normal timer, rescheduled} {pcOnly} {
vwait x
list $x $y
} {1 1}
-test winNotify-3.5 {NotifierProc: non-modal idle timer} {pcOnly testeventloop} {
+test winNotify-3.5 {NotifierProc: non-modal idle timer} {win testeventloop} {
update
set x 0
foreach i [after info] {
@@ -122,7 +122,7 @@ test winNotify-3.5 {NotifierProc: non-modal idle timer} {pcOnly testeventloop} {
testeventloop wait
set x
} 1
-test winNotify-3.6 {NotifierProc: non-modal idle timer, rescheduled} {pcOnly testeventloop} {
+test winNotify-3.6 {NotifierProc: non-modal idle timer, rescheduled} {win testeventloop} {
update
set x 0
foreach i [after info] {
@@ -132,7 +132,7 @@ test winNotify-3.6 {NotifierProc: non-modal idle timer, rescheduled} {pcOnly tes
testeventloop wait
set x
} 2
-test winNotify-3.7 {NotifierProc: modal idle timer} {pcOnly} {
+test winNotify-3.7 {NotifierProc: modal idle timer} {win} {
update
set x 0
foreach i [after info] {
@@ -142,7 +142,7 @@ test winNotify-3.7 {NotifierProc: modal idle timer} {pcOnly} {
vwait x
set x
} 1
-test winNotify-3.8 {NotifierProc: modal idle timer, rescheduled} {pcOnly} {
+test winNotify-3.8 {NotifierProc: modal idle timer, rescheduled} {win} {
update
set x 0
foreach i [after info] {