diff options
author | hobbs <hobbs> | 1999-12-14 06:53:11 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 1999-12-14 06:53:11 (GMT) |
commit | cc105ac04d3d06c27918887b8157b2fa3f8f9e62 (patch) | |
tree | 9cf936e1b6b3abcdf9ad5fd0f58caa549f438d21 /tests/canvRect.test | |
parent | 62e9e6611d2da6b8113210d5002611c40909231e (diff) | |
download | tk-cc105ac04d3d06c27918887b8157b2fa3f8f9e62.zip tk-cc105ac04d3d06c27918887b8157b2fa3f8f9e62.tar.gz tk-cc105ac04d3d06c27918887b8157b2fa3f8f9e62.tar.bz2 |
* tests/bind.test:
* tests/canvImg.test:
* tests/canvPsArc.tcl:
* tests/canvPsImg.tcl: (new file)
* tests/canvRect.test:
* tests/canvText.test:
* tests/canvas.test:
* tests/defs.tcl:
* tests/entry.test:
* tests/event.test:
* tests/font.test:
* tests/frame.test:
* tests/imgPhoto.test:
* tests/safe.test:
* tests/scale.test:
* tests/scrollbar.test:
* tests/select.test:
* tests/text.test:
* tests/textDisp.test:
* tests/textTag.test:
* tests/unixFont.test:
* tests/unixWm.test:
* tests/visual_bb.test:
* tests/winClipboard.test: tests for the dash patch changes
Diffstat (limited to 'tests/canvRect.test')
-rw-r--r-- | tests/canvRect.test | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/canvRect.test b/tests/canvRect.test index 9ba8c8d..64d7de3 100644 --- a/tests/canvRect.test +++ b/tests/canvRect.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: canvRect.test,v 1.3 1999/04/16 01:51:35 stanton Exp $ +# RCS: @(#) $Id: canvRect.test,v 1.4 1999/12/14 06:53:12 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { source [file join [pwd] [file dirname [info script]] defs.tcl] @@ -32,7 +32,7 @@ foreach test { {-outline #123456 #123456 bad_color {unknown color name "bad_color"}} {-stipple gray50 gray50 bogus {bitmap "bogus" not defined}} {-tags {test a b c} {test a b c} {} {}} - {-width 6 6 abc {bad screen distance "abc"}} + {-width 6.0 6.0 abc {bad screen distance "abc"}} } { set name [lindex $test 0] test canvRect-1.$i {configuration options} { @@ -117,11 +117,10 @@ test canvRect-3.7 {RectOvalCoords procedure} { test canvRect-4.1 {ConfigureRectOval procedure} { list [catch {.c itemconfigure x -width abc} msg] $msg \ [.c itemcget x -width] -} {1 {bad screen distance "abc"} 1} +} {1 {bad screen distance "abc"} 1.0} test canvRect-4.2 {ConfigureRectOval procedure} { - .c itemconfigure x -width -5 - .c itemcget x -width -} {1} + list [catch {.c itemconfigure x -width -5} msg] $msg +} {1 {bad screen distance "-5"}} test canvRect-4.3 {ConfigureRectOval procedure} {nonPortable} { # Non-portable due to rounding differences. .c itemconfigure x -width 10 |