diff options
author | dgp@users.sourceforge.net <dgp> | 2002-07-14 15:45:23 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2002-07-14 15:45:23 (GMT) |
commit | 60c78cbda799ed5dbf330b06c91100613cc04db5 (patch) | |
tree | 122760106146221f00d3763ee947ddd58d787767 | |
parent | 16b031f51f3e9b6b68ed2ba7c240c0e26a8d3393 (diff) | |
download | tk-60c78cbda799ed5dbf330b06c91100613cc04db5.zip tk-60c78cbda799ed5dbf330b06c91100613cc04db5.tar.gz tk-60c78cbda799ed5dbf330b06c91100613cc04db5.tar.bz2 |
* tests/focustTcl.test: Conversion bug: Corrected backwards logic.
* tests/imgPhoto.test: Conversion bug: overwrote unix/README.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/focusTcl.test | 4 | ||||
-rw-r--r-- | tests/imgPhoto.test | 6 |
3 files changed, 9 insertions, 6 deletions
@@ -1,4 +1,7 @@ -2002-07-13 Don Porter <dgp@users.sf.net> +2002-07-14 Don Porter <dgp@users.sf.net> + + * tests/focustTcl.test: Conversion bug: Corrected backwards logic. + * tests/imgPhoto.test: Conversion bug: overwrote unix/README. * tests/all.tcl: Completed conversion of Tk test suite * tests/constraints.tcl: to use tcltest. 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 |