Issue 111225 - toolkit/qa/unoapi toolkit.AccessibleStatusBar failure
Summary: toolkit/qa/unoapi toolkit.AccessibleStatusBar failure
Status: CONFIRMED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: DEV300m77
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2010-04-28 13:58 UTC by Stephan Bergmann
Modified: 2014-04-14 15:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2010-04-28 13:58:34 UTC
At least on DEV300_m77-based CWS sb120 (mainly making changes to the testing
framework), executing toolkit/qa/unoapi at least under wntmsci12 non-pro once
failed at

20: Creating: toolkit.AccessibleStatusBar
20: LOG> Log started 28.03.2010 - 14:35:20
20: LOG> creating a test environment
20: LOG> creating a text document
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBar
20: Environment created
20: LOG> Log started 28.03.2010 - 14:35:24
20: checking:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleExtendedComponent]
is iface: [com.sun.star.accessibility.XAccessibleExtendedComponent] testcode:
[ifc.accessibility._XAccessibleExtendedComponent]
20: LOG> Execute: getFont()
20: LOG> getFont():
[Proxy:28259286,135309a4;msci[0];ebe63badb9d9475f92b471427b8ce12a,Type[com.sun.star.awt.XFont]]
20: Method getFont() finished with state OK
20: LOG> getFont(): PASSED.OK
20: 
20: LOG> Execute: getTitledBorderText()
20: LOG> getTitledBorderText(): ''
20: Method getTitledBorderText() finished with state OK
20: LOG> getTitledBorderText(): PASSED.OK
20: 
20: LOG> Execute: getToolTipText()
20: LOG> getToolTipText(): ''
20: Method getToolTipText() finished with state OK
20: LOG> getToolTipText(): PASSED.OK
20: ***** State for
toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleExtendedComponent
******
20: Whole interface: PASSED.OK
20: ************ 	 IsCaseSensitive:  false
[...]
20: LOG> Log started 28.03.2010 - 14:35:24
20: checking:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleEventBroadcaster]
is iface: [com.sun.star.accessibility.XAccessibleEventBroadcaster] testcode:
[ifc.accessibility._XAccessibleEventBroadcaster]
20: LOG> Execute: addEventListener()
20: LOG> adding listener
20: LOG> fire event
20: LOG> listener wasn't called
20: Method addEventListener() finished with state FAILED
20: LOG> addEventListener(): PASSED.FAILED
20: 
20: LOG> Execute: removeEventListener()
20: LOG> starting required method: addEventListener()
20: LOG> ! Required method addEventListener() failed
20: LOG> removeEventListener(): PASSED.FAILED
20: ***** State for
toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleEventBroadcaster
******
20:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleEventBroadcaster::addEventListener()]
is testcode: [addEventListener()] - PASSED.FAILED
20:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleEventBroadcaster::removeEventListener()]
is testcode: [removeEventListener()] - PASSED.FAILED
20: 
20: Whole interface: PASSED.FAILED
20:
**************************************************************************************************************
20: LOG> Log started 28.03.2010 - 14:35:27
20: checking:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleComponent]
is iface: [com.sun.star.accessibility.XAccessibleComponent] testcode:
[ifc.accessibility._XAccessibleComponent]
20: LOG> Execute: containsPoint()
20: LOG> starting required method: getBounds()
20: LOG> Execute: getBounds()
20: LOG> Bounds = (0,624),(923,21)
20: Method getBounds() finished with state OK
20: LOG> getBounds(): PASSED.OK
20: 
20: LOG> Upper bound of box containsPoint point (0,0) - OK
20: LOG> Lower bound of box containsPoint point (0,20) - OK
20: LOG> Left bound of box containsPoint point (0,0) - OK
20: LOG> Right bound of box containsPoint point (922,0) - OK
20: LOG> Outer upper and lower bounds contain no component points - OK
20: LOG> Outer left and right bounds contain no component points - OK
20: Method containsPoint() finished with state OK
20: LOG> containsPoint(): PASSED.OK
20: 
20: LOG> Execute: getAccessibleAtPoint()
20: LOG> Component doesn't support XAccessible.
20: LOG> There are no children supporting XAccessibleComponent
20: Method getAccessibleAtPoint() finished with state OK
20: LOG> getAccessibleAtPoint(): PASSED.OK
20: 
20: LOG> Execute: getLocation()
20: LOG> starting required method: getBounds()
20: Method getLocation() finished with state FAILED
20: LOG> getLocation(): PASSED.FAILED
20: 
20: LOG> Execute: getLocationOnScreen()
20: LOG> starting required method: getBounds()
20: LOG> Component doesn't support XAccessible.
20: LOG> Location is (135,758)
20: Method getLocationOnScreen() finished with state OK
20: LOG> getLocationOnScreen(): PASSED.OK
20: 
20: LOG> Execute: getSize()
20: LOG> starting required method: getBounds()
20: Method getSize() finished with state OK
20: LOG> getSize(): PASSED.OK
20: 
20: LOG> Execute: grabFocus()
20: Method grabFocus() finished with state OK
20: LOG> grabFocus(): PASSED.OK
20: 
20: LOG> Execute: getForeground()
20: LOG> getForeground(): -1
20: Method getForeground() finished with state OK
20: LOG> getForeground(): PASSED.OK
20: 
20: LOG> Execute: getBackground()
20: LOG> getBackground(): 13947080
20: Method getBackground() finished with state OK
20: LOG> getBackground(): PASSED.OK
20: ***** State for
toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleComponent
******
20:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleComponent::getLocation()]
is testcode: [getLocation()] - PASSED.FAILED
20: 
20: Whole interface: PASSED.FAILED
20:
*******************************************************************************************************
20: LOG> Log started 28.03.2010 - 14:35:30
20: checking:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleContext]
is iface: [com.sun.star.accessibility.XAccessibleContext] testcode:
[ifc.accessibility._XAccessibleContext]
20: LOG> Execute: getAccessibleChildCount()
20: LOG> 11 children found.
20: Method getAccessibleChildCount() finished with state OK
20: LOG> getAccessibleChildCount(): PASSED.OK
20: 
20: LOG> Execute: getAccessibleChild()
20: LOG> starting required method: getAccessibleChildCount()
20: LOG> testing 'getAccessibleChild()'...
20: LOG> ## Child 0: The current page number is displayed in this field of the
status bar. A double-click opens the Navigator, with which you can navigate in
the document. A right-click shows all bookmarks in the document. Click a
bookmark to position the text cursor at the bookmark location.
20: LOG> Role: 30
20: LOG> Name: Page Number
20: LOG> IndexInParent: 0
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 1: Displays the current Page Style. Double-click to edit the
style, right-click to select another style.
20: LOG> Role: 30
20: LOG> Name: Page Style
20: LOG> IndexInParent: 1
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 2: Displays the language for the selected text. Click to open
a menu where you can choose another language for the selected text or for the
current paragraph. Choose None to exclude the text from spellchecking and
hyphenation. Choose More to open a dialog with more options.
20: LOG> Role: 30
20: LOG> Name: Language Status
20: LOG> IndexInParent: 2
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 3: Displays the current insert mode. You can toggle between
INSRT = insert and OVER = overwrite.
20: LOG> Role: 30
20: LOG> Name: Insert Mode
20: LOG> IndexInParent: 3
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 4: Displays the current selection mode. You can switch between
STD = Standard, EXT = Extend, ADD = Add, BLK = Block selection.
20: LOG> Role: 30
20: LOG> Name: Selection Mode
20: LOG> IndexInParent: 4
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 5: If changes to the document have not yet been saved, a "*"
is displayed in this field on the Status Bar. This also applies to new, not yet
saved documents.
20: LOG> Role: 30
20: LOG> Name: Document Modified
20: LOG> IndexInParent: 5
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 6: Adds and removes digital signatures to and from your
document. You can also use the dialog to view certificates.
20: LOG> Role: 30
20: LOG> Name: Digital Signatures
20: LOG> IndexInParent: 6
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 7: 
20: LOG> Role: 30
20: LOG> Name: Size
20: LOG> IndexInParent: 7
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 8: The View Layout icons show from left to right: Single
column mode. View mode with pages side by side. Book mode with two pages as in
an open book.
20: LOG> Role: 30
20: LOG> Name: 
20: LOG> IndexInParent: 8
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 9: Drag the Zoom slider to the left to show more pages, drag
to the right to zoom into a page and show a smaller area of the page.
20: LOG> Role: 30
20: LOG> Name: 
20: LOG> IndexInParent: 9
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: LOG> ## Child 10: Reduces or enlarges the screen display of OpenOffice.org.
20: LOG> Role: 30
20: LOG> Name: Zoom
20: LOG> IndexInParent: 10
20: LOG> ImplementationName: com.sun.star.comp.toolkit.AccessibleStatusBarItem
20: Method getAccessibleChild() finished with state OK
20: LOG> getAccessibleChild(): PASSED.OK
20: 
20: LOG> Execute: getAccessibleParent()
20: Method getAccessibleParent() finished with state OK
20: LOG> getAccessibleParent(): PASSED.OK
20: 
20: LOG> Execute: getAccr.java:193)
[...]
20: LOG> starting required method: getAccessibleParent()
20: Method getAccessibleIndexInParent() finished with state OK
20: LOG> getAccessibleIndexInParent(): PASSED.OK
20: 
20: LOG> Execute: getAccessibleRole()
20: LOG> The role is 57
20: Method getAccessibleRole() finished with state OK
20: LOG> getAccessibleRole(): PASSED.OK
20: 
20: LOG> Execute: getAccessibleDescription()
20: LOG> The description is ''
20: Method getAccessibleDescription() finished with state OK
20: LOG> getAccessibleDescription(): PASSED.OK
20: 
20: LOG> Execute: getAccessibleName()
20: LOG> The name is ''
20: Method getAccessibleName() finished with state OK
20: LOG> getAccessibleName(): PASSED.OK
20: 
20: LOG> Execute: getAccessibleRelationSet()
20: Method getAccessibleRelationSet() finished with state OK
20: LOG> getAccessibleRelationSet(): PASSED.OK
20: 
20: LOG> Execute: getAccessibleStateSet()
20: Method getAccessibleStateSet() finished with state OK
20: LOG> getAccessibleStateSet(): PASSED.OK
20: 
20: LOG> Execute: getLocale()
20: LOG> The locale is de,DE
20: Method getLocale() finished with state OK
20: LOG> getLocale(): PASSED.OK
20: ***** State for
toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleContext
******
20: Whole interface: PASSED.OK
20:
*****************************************************************************************************
20: LOG> disposing xTextDoc
20: ***** State for toolkit.AccessibleStatusBar ******
20:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleEventBroadcaster]
is testcode: [ifc.accessibility._XAccessibleEventBroadcaster] - PASSED.FAILED
20:
[toolkit.AccessibleStatusBar::com::sun::star::accessibility::XAccessibleComponent]
is testcode: [ifc.accessibility._XAccessibleComponent] - PASSED.FAILED
20: 
20: Whole component: PASSED.FAILED
20: **************************************************
Comment 1 Stephan Bergmann 2010-04-28 14:01:51 UTC
worked around for now by disabling the affected tests in
toolkit/qa/unoapi/toolkit.sce, see
<http://hg.services.openoffice.org/cws/sb120/rev/377ab0e67fde>; please revert
when fixing this issue
Comment 2 Rainer Bielefeld 2014-04-14 13:02:08 UTC
Needhelp:
I haven't a clue what we are talking about here. Can someone contribute a short description what can be understood by normal users?
Comment 3 Ariel Constenla-Haile 2014-04-14 15:08:29 UTC
(In reply to Rainer Bielefeld from comment #2)
> Needhelp:
> I haven't a clue what we are talking about here. Can someone contribute a
> short description what can be understood by normal users?

Quote from https://wiki.openoffice.org/wiki/UnoAPI_Module_Tests_status

"In all modules exists a qa/unoapi folder. This folder contains lists to run all UnoAPITests related to this module. Currently (11/2007) all tests should run successfully. So this tests could be used for regession testing of the UnoApi."

This bug is thus related to a test from http://svn.apache.org/viewvc/openoffice/trunk/main/toolkit/qa/unoapi/

This is nothing you can test yourself, as it needs a full build, and I'm not sure developers are still running those tests after the move to the ASF.