Issue 111195

Summary: toolkit/qa/unoapi toolkit.AccessibleScrollBar::com::sun::star::accessibility::XAccessibleValue::setCurrentValue() failure
Product: gsl Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m77   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Stephan Bergmann 2010-04-27 14:49:21 UTC
At least on DEV300_m77-based CWS sb120 (mainly making changes to the testing
framework), executing toolkit/qa/unoapi at least under unxsols4 non-pro once
failed at

20: checking:
[toolkit.AccessibleScrollBar::com::sun::star::accessibility::XAccessibleValue]
is iface: [com.sun.star.accessibility.XAccessibleValue] testcode:
[ifc.accessibility._XAccessibleValue]
20: LOG> Execute: getCurrentValue()
20: LOG> Execute: getMaximumValue()
20: LOG> starting required method: getMinimumValue()
20: LOG> Execute: getMinimumValue()
20: LOG> Min is class java.lang.Integer = 0.0
20: Method getMinimumValue() finished with state OK
20: LOG> getMinimumValue(): PASSED.OK
20: 
20: LOG> Max is class java.lang.Integer = 32000.0
20: Method getMaximumValue() finished with state OK
20: LOG> getMaximumValue(): PASSED.OK
20: Method getCurrentValue() finished with state OK
20: 
20: LOG> getCurrentValue(): PASSED.OK
20: 
20: LOG> Execute: setCurrentValue()
20: LOG> New value is 1.0
20: LOG> Res value is 9973.0
20: LOG> Checking min/max values
20: LOG> Setting to 0
20: LOG> Result min value is 0.0
20: LOG> 	 works: true
20: LOG> Setting to 32000
20: LOG> Result max value is 19683.0
20: LOG> If one sets the maximum value of a scroll bar with
XScrollBar::setMaximum(),then XScrollBar::getValue() returns the maximum value
minus the visible size ofthe thumb
20: LOG> 	 works: true
20: LOG> Checking truncating of min/max values
20: LOG> Setting to -1
20: LOG> Result min value is 0.0
20: LOG> 	 works: true
20: LOG> Setting to 32001
20: LOG> Result max value is 19683.0
20: LOG> If one sets the maximum value of a scroll bar with
XScrollBar::setMaximum(),then XScrollBar::getValue() returns the maximum value
minus the visible size ofthe thumb
20: LOG> 	 works: true
20: Method setCurrentValue() finished with state FAILED
20: LOG> setCurrentValue(): PASSED.FAILED
20: LOG> disposing xTextDoc
20: ***** State for
toolkit.AccessibleScrollBar::com::sun::star::accessibility::XAccessibleValue ******
20:
[toolkit.AccessibleScrollBar::com::sun::star::accessibility::XAccessibleValue::setCurrentValue()]
is testcode: [setCurrentValue()] - PASSED.FAILED
Comment 1 Stephan Bergmann 2010-04-27 14:52:16 UTC
worked around for now by disabling the affected tests in
toolkit/qa/unoapi/knownissues.xcl, see
<http://hg.services.openoffice.org/cws/sb120/rev/1379bd1e4b88>; please revert
when fixing this issue