summaryrefslogtreecommitdiffstats
path: root/tests/listbox.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-01-16 15:45:54 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-01-16 15:45:54 (GMT)
commitbac6e0a4db8fa3ca5b82529fb2a128ed40875bb0 (patch)
tree13511ac1596dd511cfbf70aa2c0dd7df31231343 /tests/listbox.test
parentaeaa0b8244dae93e53dcc2c06d29284a56b6fce3 (diff)
downloadtk-bac6e0a4db8fa3ca5b82529fb2a128ed40875bb0.zip
tk-bac6e0a4db8fa3ca5b82529fb2a128ed40875bb0.tar.gz
tk-bac6e0a4db8fa3ca5b82529fb2a128ed40875bb0.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/listbox.test')
-rw-r--r--tests/listbox.test26
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"}