diff options
author | dgp <dgp@users.sourceforge.net> | 2002-07-14 05:48:45 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-07-14 05:48:45 (GMT) |
commit | f79b432c7c47051e0c7e11bd52e82547ad7aacf2 (patch) | |
tree | 506cf7b5383406d4969854b8209566f9c0b690c6 /tests/listbox.test | |
parent | 213541e4a3a5a49415c0f9f8d37a5cbce28f89f7 (diff) | |
download | tk-f79b432c7c47051e0c7e11bd52e82547ad7aacf2.zip tk-f79b432c7c47051e0c7e11bd52e82547ad7aacf2.tar.gz tk-f79b432c7c47051e0c7e11bd52e82547ad7aacf2.tar.bz2 |
* Completed conversion of Tk test suite to use tcltest.
Diffstat (limited to 'tests/listbox.test')
-rw-r--r-- | tests/listbox.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/listbox.test b/tests/listbox.test index 3c8069d..5e69d64 100644 --- a/tests/listbox.test +++ b/tests/listbox.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: listbox.test,v 1.19 2002/07/13 21:52:34 dgp Exp $ +# RCS: @(#) $Id: listbox.test,v 1.20 2002/07/14 05:48:46 dgp Exp $ package require tcltest 2.1 namespace import -force tcltest::configure @@ -1295,7 +1295,7 @@ test listbox-8.2 {ListboxEventProc procedure} {fonts} { list [.l xview] [.l yview] } {{0 0.222222} {0 0.333333}} test listbox-8.3 {ListboxEventProc procedure} { - eval destroy [winfo children .] + deleteWindows listbox .l1 -bg #543210 rename .l1 .l2 set x {} @@ -1306,7 +1306,7 @@ test listbox-8.3 {ListboxEventProc procedure} { } {.l1 #543210 {} {}} test listbox-9.1 {ListboxCmdDeletedProc procedure} { - eval destroy [winfo children .] + deleteWindows listbox .l1 rename .l1 {} list [info command .l*] [winfo children .] @@ -1749,7 +1749,7 @@ test listbox-19.2 {ListboxUpdateVScrollbar procedure} { (horizontal scrolling command executed by listbox)}} set l [interp hidden] -eval destroy [winfo children .] +deleteWindows test listbox-20.1 {listbox vs hidden commands} { catch {destroy .l} @@ -2133,7 +2133,7 @@ test listbox-28.3 {listbox -activestyle} { } dotbox resetGridInfo -eval destroy [winfo children .] +deleteWindows option clear # cleanup |