Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 683063002: Add DumpAccessibilityTree tests (9 of 20) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/accessibility/dump_accessibility_tree_browsertest.cc
diff --git a/content/browser/accessibility/dump_accessibility_tree_browsertest.cc b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
index 9853f221ba73098937fdb2c428be6a30fe5d148e..e0bc5d8756dda1e324878393e1cebea08b82e990 100644
--- a/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
+++ b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
@@ -382,6 +382,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHasPopup) {
RunTest(FILE_PATH_LITERAL("aria-haspopup.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHeading) {
+ RunTest(FILE_PATH_LITERAL("aria-heading.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHidden) {
RunTest(FILE_PATH_LITERAL("aria-hidden.html"));
}
@@ -475,7 +479,11 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaNone) {
}
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
- AccessibilityAriaPressed) {
+ AccessibilityAriaPresentation) {
+ RunTest(FILE_PATH_LITERAL("aria-presentation.html"));
+}
+
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaPressed) {
RunTest(FILE_PATH_LITERAL("aria-pressed.html"));
}
@@ -501,6 +509,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRow) {
RunTest(FILE_PATH_LITERAL("aria-row.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRowGroup) {
+ RunTest(FILE_PATH_LITERAL("aria-rowgroup.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
AccessibilityAriaReadonly) {
RunTest(FILE_PATH_LITERAL("aria-readonly.html"));
@@ -559,6 +571,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAside) {
RunTest(FILE_PATH_LITERAL("aside.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAudio) {
+ RunTest(FILE_PATH_LITERAL("audio.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAWithImg) {
RunTest(FILE_PATH_LITERAL("a-with-img.html"));
}
@@ -645,6 +661,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityEm) {
RunTest(FILE_PATH_LITERAL("em.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFieldset) {
+ RunTest(FILE_PATH_LITERAL("fieldset.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFigcaption) {
RunTest(FILE_PATH_LITERAL("figcaption.html"));
}
@@ -685,6 +705,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) {
RunTest(FILE_PATH_LITERAL("i.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) {
+ RunTest(FILE_PATH_LITERAL("iframe.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
AccessibilityIframeCoordinates) {
RunTest(FILE_PATH_LITERAL("iframe-coordinates.html"));
@@ -794,6 +818,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
RunTest(FILE_PATH_LITERAL("input-types.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputUrl) {
+ RunTest(FILE_PATH_LITERAL("input-url.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputWeek) {
RunTest(FILE_PATH_LITERAL("input-week.html"));
}
@@ -941,6 +969,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySub) {
RunTest(FILE_PATH_LITERAL("sub.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySummary) {
+ RunTest(FILE_PATH_LITERAL("summary.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySvg) {
RunTest(FILE_PATH_LITERAL("svg.html"));
}
@@ -960,7 +992,7 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
AccessibilityTableTbodyTfoot) {
- RunTest(FILE_PATH_LITERAL("table-tbody-tfoot.html"));
+ RunTest(FILE_PATH_LITERAL("table-thead-tbody-tfoot.html"));
}
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTableSpans) {

Powered by Google App Engine
This is Rietveld 408576698