AX: [ATK] Convert the get_text atktest.c unit tests to layout tests
authorjdiggs@igalia.com <jdiggs@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Dec 2013 15:44:30 +0000 (15:44 +0000)
committerjdiggs@igalia.com <jdiggs@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Dec 2013 15:44:30 +0000 (15:44 +0000)
commit13dedb5f3c18f72cf3aa9bc8e2ee3b809f95a788
tree0967fed787606b5e2d4e3577d17f34396e4d29f4
parent6181ecb487503b62c23467bec282e1f6309e1322
AX: [ATK] Convert the get_text atktest.c unit tests to layout tests
https://bugs.webkit.org/show_bug.cgi?id=125497

Reviewed by Mario Sanchez Prada.

Source/WebKit/gtk:

* tests/testatk.c: Remove the portions of the remaining tests which now exist as
layout tests.
(testWebkitAtkCaretOffsets):
(testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces):
(testWebkitAtkComboBox):
(testWebkitAtkEmbeddedObjects):
(testWebkitAtkTextSelections):
(testWebkitAtkListsOfItems):
(main):

Tools:

* DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
(AccessibilityUIElement::stringForRange): Implemented.
* WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
(WTR::AccessibilityUIElement::stringForRange): Implemented.

LayoutTests:

* platform/gtk/accessibility/text-for-range-combo-box-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-combo-box.html: Added.
* platform/gtk/accessibility/text-for-range-embedded-objects-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-embedded-objects.html: Added.
* platform/gtk/accessibility/text-for-range-entry-and-password-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-entry-and-password.html: Added.
* platform/gtk/accessibility/text-for-range-extraneous-whitespace-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-extraneous-whitespace.html: Added.
* platform/gtk/accessibility/text-for-range-formatted-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-formatted.html: Added.
* platform/gtk/accessibility/text-for-range-heading-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-heading.html: Added.
* platform/gtk/accessibility/text-for-range-list-items-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-list-items.html: Added.
* platform/gtk/accessibility/text-for-range-simple-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-simple.html: Added.
* platform/gtk/accessibility/text-for-range-table-cells-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-table-cells.html: Added.
* platform/gtk/accessibility/text-for-range-with-link-expected.txt: Added.
* platform/gtk/accessibility/text-for-range-with-link.html: Added.
* platform/gtk/accessibility/text-for-table-expected.txt: Added.
* platform/gtk/accessibility/text-for-table.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
28 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/gtk/accessibility/text-for-range-combo-box-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-combo-box.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-embedded-objects-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-embedded-objects.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-entry-and-password-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-entry-and-password.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-extraneous-whitespace-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-extraneous-whitespace.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-formatted-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-formatted.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-heading-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-heading.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-list-items-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-list-items.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-simple-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-simple.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-table-cells-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-table-cells.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-with-link-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-range-with-link.html [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-table-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/accessibility/text-for-table.html [new file with mode: 0644]
Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/tests/testatk.c
Tools/ChangeLog
Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp
Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp