Issue 114205 - sw/qa/unoapi sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleText::copyText() failed
Summary: sw/qa/unoapi sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAc...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 14:43 UTC by Stephan Bergmann
Modified: 2013-01-29 21:48 UTC (History)
1 user (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-08-30 14:43:02 UTC
At least when running subsequenttests in DEV300_m86 based CWS sb127 on
unxsoli4.pro in sw/qa/unoapi once experienced failure

28: checking:
[sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleText]
is iface: [com.sun.star.accessibility.XAccessibleText] testcode:
[ifc.accessibility._XAccessibleText]
28: LOG> Text is 'XAccessibleText'
28: ############################
28: LOG> Execute: getCaretPosition()
28: LOG> starting required method: getCharacterCount()
28: LOG> Execute: getCharacterCount()
28: LOG> Character count:15
28: Method getCharacterCount() finished with state OK
28: LOG> getCharacterCount(): PASSED.OK
28: 
28: LOG> getCaretPosition: 14
28: Method getCaretPosition() finished with state OK
28: LOG> getCaretPosition(): PASSED.OK
28: 
28: LOG> Execute: setCaretPosition()
28: LOG> starting required method: getCharacterCount()
28: setCaretPosition(-1):LOG> expected exception
28: setCaretPosition(chCount+1):LOG> expected exception
28: LOG> setCaretPosition(chCount - 1)
28: Method setCaretPosition() finished with state OK
28: LOG> setCaretPosition(): PASSED.OK
28: 
28: LOG> Execute: getCharacter()
28: LOG> starting required method: getCharacterCount()
28: LOG> getCharacter(-1)
28: LOG> Expected exception
28: LOG> getCharacter(chCount)
28: LOG> Expected exception
28: LOG> Checking of every character in the text...
28: Method getCharacter() finished with state OK
28: LOG> getCharacter(): PASSED.OK
28: 
28: LOG> Execute: getCharacterAttributes()
28: LOG> starting required method: getCharacterCount()
28: LOG> getCharacterAttributes(-1)
28: LOG> Expected exception
28: LOG> getCharacterAttributes(chCount)
28: LOG> Expected exception
28: LOG> getCharacterAttributes(chCount-1)
28: Method getCharacterAttributes() finished with state OK
28: LOG> getCharacterAttributes(): PASSED.OK
28: 
28: LOG> Execute: getCharacterBounds()
28: LOG> starting required method: getCharacterCount()
28: LOG> getCharacterBounds(-1)
28: LOG> Expected exception
28: LOG> getCharacterBounds(16)
28: LOG> Expected exception
28: LOG> getCharacterBounds(0)
28: LOG> getCharacterBounds(1)
28: LOG> getCharacterBounds(2)
28: LOG> getCharacterBounds(3)
28: LOG> getCharacterBounds(4)
28: LOG> getCharacterBounds(5)
28: LOG> getCharacterBounds(6)
28: LOG> getCharacterBounds(7)
28: LOG> getCharacterBounds(8)
28: LOG> getCharacterBounds(9)
28: LOG> getCharacterBounds(10)
28: LOG> getCharacterBounds(11)
28: LOG> getCharacterBounds(12)
28: LOG> getCharacterBounds(13)
28: LOG> getCharacterBounds(14)
28: Method getCharacterBounds() finished with state OK
28: LOG> getCharacterBounds(): PASSED.OK
28: 
28: LOG> Execute: getIndexAtPoint()
28: Method getIndexAtPoint() finished with state OK
28: getIndexAtPoint(-1, -1):-1
28: LOG> getIndexAtPoint(): PASSED.OK
28: 
28: LOG> Execute: getSelectedText()
28: LOG> starting required method: setSelection()
28: LOG> Execute: setSelection()
28: LOG> starting required method: getCharacterCount()
28: setSelection(-1, chCount-1):LOG> Expected exception
28: setSelection(0, chCount+1):LOG> Expected exception
28: Method setSelection() finished with state OK
28: setSelection(1, chCount-1):true
28: setSelection(chCount-1, 1):true
28: setSelection(0, chCount-1):true
28: setSelection(chCount-1, 0):true
28: setSelection(0, 0):true
28: LOG> setSelection(): PASSED.OK
28: 
28: LOG> setSelection(0, 0)
28: getSelectedText():LOG> ''
28: LOG> setSelection(0, chCount)
28: getSelectedText():LOG> 'XAccessibleText'
28: LOG> setSelection(1, chCount-1)
28: getSelectedText():LOG> 'AccessibleTex'
28: Method getSelectedText() finished with state OK
28: LOG> getSelectedText(): PASSED.OK
28: 
28: LOG> Execute: getSelectionStart()
28: LOG> starting required method: setSelection()
28: LOG> setSelection(0, chCount)
28: LOG> getSelectionStart():0
28: LOG> setSelection(1, chCount-1)
28: LOG> getSelectionStart():1
28: Method getSelectionStart() finished with state OK
28: LOG> getSelectionStart(): PASSED.OK
28: 
28: LOG> Execute: getSelectionEnd()
28: LOG> starting required method: setSelection()
28: LOG> setSelection(0, chCount)
28: LOG> getSelectionEnd():15
28: LOG> setSelection(1, chCount-1)
28: LOG> getSelectionEnd():14
28: Method getSelectionEnd() finished with state OK
28: LOG> getSelectionEnd(): PASSED.OK
28: 
28: LOG> Execute: getText()
28: LOG> getText: XAccessibleText
28: Method getText() finished with state OK
28: LOG> getText(): PASSED.OK
28: 
28: LOG> Execute: getTextRange()
28: LOG> starting required method: getCharacterCount()
28: getTextRange(1, chCount - 2): LOG> AccessibleTe
28: getTextRange(0, chCount-1): LOG> XAccessibleTex
28: getTextRange(chCount, 0): LOG> XAccessibleText
28: getTextRange(0, 0): LOG> 
28: getTextRange(-1, chCount - 1): LOG> Expected exception
28: getTextRange(0, chCount + 1): LOG> Expected exception
28: getTextRange(chCount+1, -1): LOG> Expected exception
28: Method getTextRange() finished with state OK
28: LOG> getTextRange(): PASSED.OK
28: 
28: LOG> Execute: getTextAtIndex()
28: LOG> starting required method: getCharacterCount()
28: getTextAtIndex(-1, AccessibleTextType.PARAGRAPH):LOG> Expected exception
28: getTextAtIndex(chCount+1, AccessibleTextType.PARAGRAPH):LOG> Expected exception
28: getTextAtIndex(chCount, AccessibleTextType.WORD):LOG> ''
28: getTextAtIndex(1, AccessibleTextType.PARAGRAPH):LOG> 'XAccessibleText'
28: Method getTextAtIndex() finished with state OK
28: LOG> getTextAtIndex(): PASSED.OK
28: 
28: LOG> Execute: getTextBeforeIndex()
28: LOG> starting required method: getCharacterCount()
28: getTextBeforeIndex(-1, AccessibleTextType.PARAGRAPH):LOG> Expected exception
28: getTextBeforeIndex(chCount+1, AccessibleTextType.PARAGRAPH):LOG> Expected
exception
28: getTextBeforeIndex(chCount, AccessibleTextType.WORD):LOG> 'XAccessibleText'
28: getTextBeforeIndex(1, AccessibleTextType.PARAGRAPH):LOG> ''
28: getTextBeforeIndex(chCount-1, AccessibleTextType.CHARACTER):LOG> 'x'
28: getTextBeforeIndex(2, AccessibleTextType.CHARACTER):LOG> 'A'
28: Method getTextBeforeIndex() finished with state OK
28: LOG> getTextBeforeIndex(): PASSED.OK
28: 
28: LOG> Execute: getTextBehindIndex()
28: LOG> starting required method: getCharacterCount()
28: getTextBehindIndex(-1, AccessibleTextType.PARAGRAPH):LOG> Expected exception
28: getTextBehindIndex(chCount+1, AccessibleTextType.PARAGRAPH):LOG> Expected
exception
28: getTextBehindIndex(chCount, AccessibleTextType.PARAGRAPH):LOG> ''
28: getTextBehindIndex(chCount-1, AccessibleTextType.PARAGRAPH):LOG> ''
28: getTextBehindIndex(1, AccessibleTextType.CHARACTER):LOG> 'c'
28: getTextBehindIndex(chCount-2, AccessibleTextType.CHARACTER):LOG> 't'
28: Method getTextBehindIndex() finished with state OK
28: LOG> getTextBehindIndex(): PASSED.OK
28: 
28: LOG> Execute: copyText()
28: copyText(-1,chCount):LOG> Expected exception
28: copyText(0,chCount+1):LOG> Expected exception
28: copyText(0,chCount):true
28: LOG> Clipboard: 'AccessibleTex'
28: copyText(1,chCount-1):true
28: LOG> Clipboard: 'AccessibleTex'
28: Method copyText() finished with state FAILED
28: LOG> copyText(): PASSED.FAILED
28: ***** State for
sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleText ******
28:
[sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleText::copyText()]
is testcode: [copyText()] - PASSED.FAILED
28: 
28: Whole interface: PASSED.FAILED
Comment 1 Stephan Bergmann 2010-09-17 10:49:48 UTC
worked around for now by disabling affected tests as
<http://hg.services.openoffice.org/cws/sb126/rev/851752e0e729>; please revert
when fixing this issue