summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tests/focusTcl.test4
-rw-r--r--tests/imgPhoto.test6
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 <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