diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/focusTcl.test | 4 | ||||
-rw-r--r-- | tests/imgPhoto.test | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/focusTcl.test b/tests/focusTcl.test index decc824..db064e0 100644 --- a/tests/focusTcl.test +++ b/tests/focusTcl.test @@ -7,7 +7,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: focusTcl.test,v 1.4 2002/07/14 05:48:46 dgp Exp $ +# RCS: @(#) $Id: focusTcl.test,v 1.5 2002/07/14 15:45:23 dgp Exp $ package require tcltest 2.1 namespace import -force tcltest::configure @@ -29,7 +29,7 @@ proc setup1 w { button $w.b.$i -text "Button $w.b.$i" pack $w.b.$i -side left } - if {[winfo ismapped $w.b.z]} { + if {![winfo ismapped $w.b.z]} { tkwait visibility $w.b.z } } diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test index 63e697a..273c3cc 100644 --- a/tests/imgPhoto.test +++ b/tests/imgPhoto.test @@ -9,7 +9,7 @@ # # Author: Paul Mackerras (paulus@cs.anu.edu.au) # -# RCS: @(#) $Id: imgPhoto.test,v 1.13 2002/07/14 05:48:46 dgp Exp $ +# RCS: @(#) $Id: imgPhoto.test,v 1.14 2002/07/14 15:45:23 dgp Exp $ package require tcltest 2.1 namespace import -force tcltest::configure @@ -29,7 +29,7 @@ update set README [makeFile { README -- Tk test suite design document. -} README] +} README-imgPhotot] # find the teapot.ppm file for use in these tests # first look in $tk_library/demos/images/teapot.ppm @@ -656,6 +656,6 @@ destroy .c eval image delete [image names] # cleanup -removeFile README +removeFile README-imgPhoto ::tcltest::cleanupTests return |