summaryrefslogtreecommitdiffstats
path: root/tests/button.test
diff options
context:
space:
mode:
authordrh@sqlite.org <drh>2002-06-17 10:54:29 (GMT)
committerdrh@sqlite.org <drh>2002-06-17 10:54:29 (GMT)
commitd2ceff8d9daeb8b9931ea519936ca9e61aa29810 (patch)
tree23b6e0c259b3c43053f44dbf6557b7a8ea074079 /tests/button.test
parent3edac64f99d80e11142de85fc8d7280b3801d35c (diff)
downloadtk-d2ceff8d9daeb8b9931ea519936ca9e61aa29810.zip
tk-d2ceff8d9daeb8b9931ea519936ca9e61aa29810.tar.gz
tk-d2ceff8d9daeb8b9931ea519936ca9e61aa29810.tar.bz2
Initial implementation of TIP #82: added the -offrelief option to
checkbutton and radiobutton to allow those widgets to have a MS-Office look and feel.
Diffstat (limited to 'tests/button.test')
-rw-r--r--tests/button.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/button.test b/tests/button.test
index 67f019b..ed0b7ee 100644
--- a/tests/button.test
+++ b/tests/button.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: button.test,v 1.10 2001/11/17 22:44:04 hobbs Exp $
+# RCS: @(#) $Id: button.test,v 1.11 2002/06/17 10:54:29 drh Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -85,6 +85,7 @@ foreach test {
{-indicatoron yes 1 no_way {expected boolean value but got "no_way"}
{0 0 1 1}}
{-justify right right bogus {bad justification "bogus": must be left, right, or center} {1 1 1 1}}
+ {-offrelief flat flat 1.5 {bad relief "1.5": must be flat, groove, raised, ridge, solid, or sunken} {0 0 1 1}}
{-offvalue lousy lousy {} {} {0 0 1 0}}
{-offvalue fantastic fantastic {} {} {0 0 1 0}}
{-overrelief "" "" 1.5 {bad relief "1.5": must be flat, groove, raised, ridge, solid, or sunken} {0 1 1 1}}
@@ -226,7 +227,7 @@ test button-4.13 {ButtonWidgetCmd procedure, "cget" option} {
} {1 {unknown option "-onvalue"}}
test button-4.14 {ButtonWidgetCmd procedure, "configure" option} {
llength [.c configure]
-} {38}
+} {39}
test button-4.15 {ButtonWidgetCmd procedure, "configure" option} {
list [catch {.b configure -gorp} msg] $msg
} {1 {unknown option "-gorp"}}