summaryrefslogtreecommitdiffstats
path: root/tests/listbox.test
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2016-01-18 10:19:24 (GMT)
committerfvogel <fvogel@noemail.net>2016-01-18 10:19:24 (GMT)
commit4a3cdfb41e6a701eec5ea9f3065a2acbfb4d9419 (patch)
treec010a2302de1fb868baedf582e3950e2daf8d99a /tests/listbox.test
parente2313ed46fdb044645d4af90e5592caa2c42e428 (diff)
downloadtk-4a3cdfb41e6a701eec5ea9f3065a2acbfb4d9419.zip
tk-4a3cdfb41e6a701eec5ea9f3065a2acbfb4d9419.tar.gz
tk-4a3cdfb41e6a701eec5ea9f3065a2acbfb4d9419.tar.bz2
Documented what listbox-3.18b intends to test.
FossilOrigin-Name: eff8237f4d330b36a3cdd064ede6d6cda5de6d7d
Diffstat (limited to 'tests/listbox.test')
-rw-r--r--tests/listbox.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/listbox.test b/tests/listbox.test
index 812d1c2..76a4349 100644
--- a/tests/listbox.test
+++ b/tests/listbox.test
@@ -485,6 +485,10 @@ test listbox-3.18b {ListboxWidgetCmd procedure, "bbox" option, justified, non-de
destroy .top.l .top
unset -nocomplain lres res
} -body {
+ # This test checks whether all "x" values from bbox for different size
+ # items with different justification settings are all positive or zero
+ # This checks a bit the calculation of this x value with non-default
+ # borders widths of the listbox
toplevel .top
listbox .top.l -justify left -borderwidth 17 -highlightthickness 19 -selectborderwidth 22
.top.l insert end Item1 LongerItem2 MuchLongerItem3