Apache OpenOffice (AOO) Bugzilla – Issue 111195
toolkit/qa/unoapi toolkit.AccessibleScrollBar::com::sun::star::accessibility::XAccessibleValue::setCurrentValue() failure
Last modified: 2013-01-29 21:43:16 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
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