From efa6765c00d4032ecb45bf70e9147ed49e994663 Mon Sep 17 00:00:00 2001 From: dgp Date: Sun, 14 Jul 2002 15:45:23 +0000 Subject: * tests/focustTcl.test: Conversion bug: Corrected backwards logic. * tests/imgPhoto.test: Conversion bug: overwrote unix/README. --- ChangeLog | 5 ++++- tests/focusTcl.test | 4 ++-- tests/imgPhoto.test | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index cd12a8a..0c60e30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -2002-07-13 Don Porter +2002-07-14 Don Porter + + * 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 -- cgit v0.12