You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Test Report for nsIAccessible Extension Interface


Reporter: Jessie Li
July 18, 2002

Test Cases
Report Details
Bugsceri ID
136
136


For HTML Elements:


HTML Element
Test Cases
Interface's Attributes&Methods Tested
Result
Remarks
Bugsceri ID
Anchor

TestHyperLink_1.html nsIAccessibleHyperLink::anchors
nsIAccessibleHyperLink::getURI()
nsIAccessibleHpyerLink::getObject()
nsIAccessibleHyperLink::isValid()
PASS


TestHyperText_1.html
nsIAccessibleHperText::links
nsIAccessibleHperText::getLink()
nsIAccessibleHperText::getLinkIndex()
PASS



Img

TestHyperLink_2.html
nsIAccessibleHyperLink::anchors
nsIAccessibleHyperLink::getURI()
nsIAccessibleHpyerLink::getObject()
nsIAccessibleHyperLink::isValid()
PASS



TestHyperText_2.html
nsIAccessibleHperText::links
nsIAccessibleHperText::getLink()
nsIAccessibleHperText::getLinkIndex()
PASS



Input




TestEditableText_1.html
nsIAccssibleEditableText::setTextContents()
PASS


TestEditableText_2.html
nsIAccssibleEditableText::insertText()
PASS


TestEditableText_3.html
nsIAccssibleEditableText::deleteText()
PASS


TestEditableText_4.html
nsIAccssibleEditableText::copyText()
nsIAccssibleEditableText::pasteText()
PASS


TestEditableText_5.html
nsIAccssibleEditableText::cutText()
nsIAccssibleEditableText::pasteText()
PASS


P



TestText_1.html
const nsAccessibleTextBoundary BOUNDARY_CHAR = 0
nsIAccessibleText::caretOffset
nsIAccessibleText::charaterCount
nsIAccessibleText::getText()
nsIAccessibleText::getTextAfterOffset()
nsIAccessibleText::getTextAtOffset()
nsIAccessibleText::getCharacterAtOffset()
nsIAccessibleText::getTextBeforeOffset()
PASS



TestText_2.html
const nsAccessibleTextBoundary BOUNDARY_WORD_START = 1
const nsAccessibleTextBoundary BOUNDARY_WORD_END = 2
nsIAccessibleText::getTextAfterOffset()
nsIAccessibleText::getTextAtOffset()
nsIAccessibleText::getTextBeforeOffset()
FAIL

getTextAfterOffset() doesn't work properly.
136
TestText_3.html
const nsAccessibleTextBoundary BOUNDARY_LINE_START = 5
const nsAccessibleTextBoundary BOUNDARY_LINE_END = 6
nsIAccessibleText::getTextAfterOffset()
nsIAccessibleText::getTextAtOffset()
nsIAccessibleText::getTextBeforeOffset()
PASS



TestText_4.html
nsIAccessibleText::getSelectionBounds()
nsIAccessibleText::setSelectionBounds()
nsIAccessibleText::addSelection()
nsIAccessibleText::removeSelection()
FAIL

StartOffset returns a wrong number.
136

Select


TestSelection_1.html
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::addSelection()
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::refSelection()
nsIAccessibleSelection::selectAllSelection()
PASS



TestSelection_2.html
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::removeSelection()
PASS



TestSelection_3.html
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::clearSelection()
PASS



Table





TestTable_1.html
nsIAccessibleTable::caption
nsIAccessibleTable::summary
nsIAccessibleTable::columns
nsIAccessibleTable::columnHeader
nsIAccessibleTable::rows
nsIAccessibleTable::getIndexAt()
PASS



TestTable_2.html
nsIAccessibleTable::getIndexAt()
nsIAccessibleTable::getColumknAtIndex()
nsIAccessibleTable::getRowAtIndex()
nsIAccessibleTable::getColumnExtentAt()
nsIAccessibleTable::getRowExtentAt()
PASS



TestTable_3.html
nsIAccessibleTable::getSelectedColumns()
nsIAccessibleTable::isColumnSelected()
nsIAccessibleTable::isRowSelected()
nsIAccessibleTable::isCellSelected()
PASS



TestTable_4.html
nsIAccessibleTable::getSelectedRows()
nsIAccessibleTable::isColumnSelected()
nsIAccessibleTable::isRowSelected()
nsIAccessibleTable::isCellSelected()
PASS



TestTable_5.html
nsIAccessibleTable::getSelectedColumns()
nsIAccessibleTable::getSelectedRows()
nsIAccessibleTable::isColumnSelected()
nsIAccessibleTable::isRowSelected()
nsIAccessibleTable::isCellSelected()
PASS





For XUL Elements:


xul Element
Test Cases
Interface's Attributes&Methods Tested
Result
Remark
Bugsceri ID
Textbox




TestEditableText_1.xul
nsIAccssibleEditableText::setTextContents()
PASS


TestEditableText_2.xul
nsIAccssibleEditableText::insertText()
PASS


TestEditableText_3.xul
nsIAccssibleEditableText::deleteText()
PASS


TestEditableText_4.xul
nsIAccssibleEditableText::copyText()
nsIAccssibleEditableText::pasteText()
PASS



TestEditableText_5.xul
nsIAccssibleEditableText::cutText()
nsIAccssibleEditableText::pasteText()
PASS



Description


TestText_1.xul
const nsAccessibleTextBoundary BOUNDARY_CHAR = 0
nsIAccessibleText::caretOffset
nsIAccessibleText::charaterCount
nsIAccessibleText::getText()
nsIAccessibleText::getTextAfterOffset()
nsIAccessibleText::getTextAtOffset()
nsIAccessibleText::getCharacterAtOffset()
nsIAccessibleText::getTextBeforeOffset()
PASS



TestText_2.xul
const nsAccessibleTextBoundary BOUNDARY_WORD_START = 1
const nsAccessibleTextBoundary BOUNDARY_WORD_END = 2
nsIAccessibleText::getTextAfterOffset()
nsIAccessibleText::getTextAtOffset()
nsIAccessibleText::getTextBeforeOffset()
FAIL

136

TestText_3.xul
const nsAccessibleTextBoundary BOUNDARY_LINE_START = 5
const nsAccessibleTextBoundary BOUNDARY_LINE_END = 6
nsIAccessibleText::getTextAfterOffset()
nsIAccessibleText::getTextAtOffset()
nsIAccessibleText::getTextBeforeOffset()
PASS



TestText_4.xul
nsIAccessibleText::getSelectionBounds()
nsIAccessibleText::setSelectionBounds()
nsIAccessibleText::addSelection()
nsIAccessibleText::removeSelection()
FAIL


136

Menulist


TestMenu_1.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::addSelection()
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::refSelection()
nsIAccessibleSelection::selectAllSelection()
PASS



TestMenu_2.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::removeSelection()
PASS



TestMenu_3.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::clearSelection()
PASS



Listbox


TestListbox_1.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::addSelection()
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::refSelection()
nsIAccessibleSelection::selectAllSelection()
PASS



TestListbox_2.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::removeSelection()
PASS



TestListbox_3.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::clearSelection()
PASS



Tree






TestTreeForSelect_1.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::addSelection()
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::refSelection()
nsIAccessibleSelection::selectAllSelection()
PASS



TestTreeForSelect_2.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::removeSelection()
PASS



TestTreeForSelect_3.xul
nsIAccessibleSelection::selectionCount
nsIAccessibleSelection::isChildSelected()
nsIAccessibleSelection::clearSelection()
PASS



TestTreeForTable_1.xul
nsIAccessibleTable::columns
nsIAccessibleTable::rows
nsIAccessibleTable::columnHeader()
PASS



TestTreeForTable_2.xul
nsIAccessibleTable::getIndexAt()
nsIAccessibleTable::getColumnAtIndex()
nsIAccessibleTable::getRowAtIndex()
nsIAccessibleTable::getColumnExtentAt()
nsIAccessibleTable::getRowExtentAt()
PASS



TestTreeForTable_3.xul
nsIAccessibleTable::getSelectedRows()
nsIAccessibleTable::isColumnSelected()
nsIAccessibleTable::isRowSelected()
nsIAccessibleTable::isCellSelected()
PASS



TestTreeForTable_4.xul
nsIAccessibleTable::getSelectedRows()
nsIAccessibleTable::getSelectedColumns()
nsIAccessibleTable::isColumnSelected()
nsIAccessibleTable::isRowSelected()
nsIAccessibleTable::isCellSelected()
PASS



Progressmeter
TestProgressmeter.xul
nsIAccessibleValue::maximumValue
nsIAccessibleValue::minimumValue
nsIAccessibleValue::currentValue
nsIAccessibleValue::setCurrentValue()
PASS