Issue 109917

Summary: fragile unoapi test using OnUnfocus event
Product: QA Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: testscriptsAssignee: Stephan Bergmann <stephan.bergmann.secondary>
Status: CLOSED OBSOLETE QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300m72   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Stephan Bergmann 2010-03-08 10:43:45 UTC
Executing sw/qa/unoapi on DEV300_m72-based sb118 unxlngi6 non-pro once failed with

---8<---
23: Creating: sw.SwXTextDocument
23: LOG> Log started 04.02.2010 - 20:40:02
23: LOG> creating a textdocument
23: LOG> inserting some lines
23: LOG> getting a TextSection with the XTextSectionSupplier()
23: LOG>     adding TextTable
23: LOG>     adding ReferenceMark
23: LOG>     adding TextGraphic
23: docpth:/cws/so-cwsserv01/sb118/DEV300/ooo/sw/qa/unoapi/testdocuments
23: LOG>     adding EndNote
23: LOG>     adding Bookmark
23: LOG>     adding DocumentIndex
23: LOG>     adding TextFrame
23: LOG> creating a second textdocument
23: LOG> Creating instance...
23: LOG> Adding SelectionSupplier and Shape to select for XModel
23: LOG> adding Controller as ObjRelation for XModel
23: Environment created
23: SwXTextDocument recreated 
23: running: 'ifc.document._XEventBroadcaster'
23: LOG> Log started 04.02.2010 - 20:40:22
23: checking : _XEventBroadcaster
23: LOG> Execute: addEventListener()
23: EventObject OnFocus
23: Method addEventListener() finished with state OK
23: LOG> addEventListener(): PASSED.OK
23: LOG> Execute: removeEventListener()
23: LOG> starting required method: addEventListener()
23: EventObject OnUnfocus
23: Method removeEventListener() finished with state FAILED
23: LOG> removeEventListener(): PASSED.FAILED
23: ***** State for
sw.SwXTextDocument::com::sun::star::document::XEventBroadcaster ******
23: removeEventListener() - PASSED.FAILED

23: 
23: Whole interface: PASSED.FAILED
---8<---
Comment 1 Stephan Bergmann 2010-03-08 10:48:34 UTC
worked around for now by disabling the affected tests in
sw/qa/unoapi/knownissues.xcl, see
<http://hg.services.openoffice.org/cws/sb118/rev/5c0b0e1ef88b>; please revert
when fixing this issue
Comment 2 Marcus 2017-05-20 09:18:49 UTC
obsolete