diff options
author | fvogel <fvogelnew1@free.fr> | 2016-01-16 15:45:54 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-01-16 15:45:54 (GMT) |
commit | 24a1905f5c41cebbad36b04ef8c1f9327fe5a109 (patch) | |
tree | 13511ac1596dd511cfbf70aa2c0dd7df31231343 /tests | |
parent | e43c3c8be1a8b46419c5b4b8308a1dff03a803fc (diff) | |
download | tk-24a1905f5c41cebbad36b04ef8c1f9327fe5a109.zip tk-24a1905f5c41cebbad36b04ef8c1f9327fe5a109.tar.gz tk-24a1905f5c41cebbad36b04ef8c1f9327fe5a109.tar.bz2 |
Removed test listbox-3.18c since it is irrelevant (the rendering of the selected items is made in a code that depends on existence of a selection but this is untestable by bboxing since bbox is independent from the presence of a selection in the listbox)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/listbox.test | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/listbox.test b/tests/listbox.test index b62946d..812d1c2 100644 --- a/tests/listbox.test +++ b/tests/listbox.test @@ -505,32 +505,6 @@ test listbox-3.18b {ListboxWidgetCmd procedure, "bbox" option, justified, non-de destroy .top.l .top unset -nocomplain lres res } -result {1} -test listbox-3.18c {ListboxWidgetCmd procedure, "bbox" option, justified, selecting does not change offset} -setup { - destroy .top.l .top - unset -nocomplain bb1 bb2 -} -body { - toplevel .top - listbox .top.l -justify center - .top.l insert end Item1 Item2 Item3 - pack .top.l - update - set bb1 [.top.l bbox 1] - .top.l selection set 1 - update - set bb2 [.top.l bbox 1] - expr { - [lindex $bb1 0] == [lindex $bb2 0] && - [lindex $bb1 1] == [lindex $bb2 1] && - [lindex $bb1 2] == [lindex $bb2 2] && - [lindex $bb1 3] == [lindex $bb2 3] - } - # Note: the result of this test is relevant only if test listbox-3.18a - # succeeds first, otherwise the fact the present test listbox-3.18c - # passes does not mean it is OK -} -cleanup { - destroy .top.l .top - unset -nocomplain bb1 bb2 -} -result {1} test listbox-3.19 {ListboxWidgetCmd procedure, "cget" option} -body { .l cget } -returnCodes error -result {wrong # args: should be ".l cget option"} |