summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-10-13 01:23:47 (GMT)
committerhobbs <hobbs>2001-10-13 01:23:47 (GMT)
commit894d5c23fa5ca67140dfc06df7cdeaedc2f112b7 (patch)
tree95c79beac62878d8922f96b5856525e09d073f29 /tests
parentaf386570c1e42e64d7a1504198f0683def79272d (diff)
downloadtk-894d5c23fa5ca67140dfc06df7cdeaedc2f112b7.zip
tk-894d5c23fa5ca67140dfc06df7cdeaedc2f112b7.tar.gz
tk-894d5c23fa5ca67140dfc06df7cdeaedc2f112b7.tar.bz2
* tests/scrollbar.test (scrollbar-6.27): marked knownBug because
it is skewed by bad dimensions returned by Windows.
Diffstat (limited to 'tests')
-rw-r--r--tests/scrollbar.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/scrollbar.test b/tests/scrollbar.test
index 7c0305c..92538db 100644
--- a/tests/scrollbar.test
+++ b/tests/scrollbar.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: scrollbar.test,v 1.6 2000/02/10 08:53:00 hobbs Exp $
+# RCS: @(#) $Id: scrollbar.test,v 1.6.2.1 2001/10/13 01:23:47 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -535,7 +535,11 @@ test scrollbar-6.25 {ScrollbarPosition procedure} {unixOnly} {
test scrollbar-6.26 {ScrollbarPosition procedure} {macOnly} {
.s identify 8 179
} {arrow2}
-test scrollbar-6.27 {ScrollbarPosition procedure} {pcOnly} {
+test scrollbar-6.27 {ScrollbarPosition procedure} {pcOnly 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
.s identify [expr [winfo width .s] / 2] [expr int(.4 / [.s delta 0 1]) \
+ [testmetrics cyvscroll]]
} {trough2}