summaryrefslogtreecommitdiffstats
path: root/tests/button.test
diff options
context:
space:
mode:
authordrh <drh@sqlite.org>2002-06-17 10:54:29 (GMT)
committerdrh <drh@sqlite.org>2002-06-17 10:54:29 (GMT)
commit90037ac50d2b47d8beb6aaa0d812489f6fd8f6a4 (patch)
tree23b6e0c259b3c43053f44dbf6557b7a8ea074079 /tests/button.test
parentdf16beef2394e43a851c02727b1544950cebee65 (diff)
downloadtk-90037ac50d2b47d8beb6aaa0d812489f6fd8f6a4.zip
tk-90037ac50d2b47d8beb6aaa0d812489f6fd8f6a4.tar.gz
tk-90037ac50d2b47d8beb6aaa0d812489f6fd8f6a4.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"}}