diff options
author | fvogel <fvogelnew1@free.fr> | 2018-10-21 16:23:21 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-10-21 16:23:21 (GMT) |
commit | 56a9c541052f8779ea0124308d27a12041e7cfbe (patch) | |
tree | 01562d45ac654acc35c1628e732737b6575a64fe /tests | |
parent | cde594cd3265075437c973761f074a82929986b1 (diff) | |
download | tk-56a9c541052f8779ea0124308d27a12041e7cfbe.zip tk-56a9c541052f8779ea0124308d27a12041e7cfbe.tar.gz tk-56a9c541052f8779ea0124308d27a12041e7cfbe.tar.bz2 |
Remove knownBug constraint on test scrollbar-6.27 as this test now passes (checked on Vista - comment there was for Win2K)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scrollbar.test | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/scrollbar.test b/tests/scrollbar.test index d740f7c..9d6a83c 100644 --- a/tests/scrollbar.test +++ b/tests/scrollbar.test @@ -541,11 +541,7 @@ test scrollbar-6.24 {ScrollbarPosition procedure} unix { test scrollbar-6.25 {ScrollbarPosition procedure} unix { .s identify 8 179 } {trough2} -test scrollbar-6.27 {ScrollbarPosition procedure} {testmetrics win knownBug} { - # This asks for 8,21, which is actually the slider, but there is a - # bug in that GetSystemMetrics(SM_CYVTHUMB) actually returns a value - # that is larger than the thumb displayed, skewing the ability to - # calculate the trough2 area correctly (Win2k). -- hobbs +test scrollbar-6.27 {ScrollbarPosition procedure} {testmetrics win} { .s identify [expr [winfo width .s] / 2] [expr int(.4 / [.s delta 0 1]) \ + [testmetrics cyvscroll .s]] } {trough2} |