Subject: 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)

From: fvogel <[email-masked]>
Date: Sat, 16 Jan 2016 15:45:54 +0000

---
 tests/listbox.test | 26 --------------------------
 1 file changed, 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"}
-- 
cgit v0.12