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

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

Issue 850683003: Add DumpAccessibilityTree tests (19 of 20) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 de0cd97f8960371863dad321e988c223de66e19b..3bb7dda09a81570d8f71e75108088f36ad7ad651 100644
--- a/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
+++ b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
@@ -321,6 +321,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenuBar) {
RunAriaTest(FILE_PATH_LITERAL("aria-menubar.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenuItem) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-menuitem.html"));
+}
+
// crbug.com/442278 will stop creating new text elements representing title.
// Re-baseline after the Blink change goes in
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
@@ -376,8 +380,7 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
RunAriaTest(FILE_PATH_LITERAL("aria-progressbar.html"));
}
-IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
- AccessibilityAriaRadio) {
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRadio) {
RunAriaTest(FILE_PATH_LITERAL("aria-radio.html"));
}
@@ -386,6 +389,14 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
RunAriaTest(FILE_PATH_LITERAL("aria-radiogroup.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaReadonly) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-readonly.html"));
+}
+
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRegion) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-region.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRelevant) {
RunAriaTest(FILE_PATH_LITERAL("aria-relevant.html"));
}
@@ -402,12 +413,8 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRowGroup) {
RunAriaTest(FILE_PATH_LITERAL("aria-rowgroup.html"));
}
-IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaReadonly) {
- RunAriaTest(FILE_PATH_LITERAL("aria-readonly.html"));
-}
-
-IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRegion) {
- RunAriaTest(FILE_PATH_LITERAL("aria-region.html"));
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRowHeader) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-rowheader.html"));
}
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSearch) {
@@ -480,6 +487,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaValueNow) {
RunAriaTest(FILE_PATH_LITERAL("aria-valuenow.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaValueText) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-valuetext.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityArticle) {
RunHtmlTest(FILE_PATH_LITERAL("article.html"));
}
@@ -638,6 +649,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHR) {
RunHtmlTest(FILE_PATH_LITERAL("hr.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHTML) {
+ RunHtmlTest(FILE_PATH_LITERAL("html.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) {
RunHtmlTest(FILE_PATH_LITERAL("i.html"));
}
@@ -700,6 +715,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
RunHtmlTest(FILE_PATH_LITERAL("input-datetime-local.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputEmail) {
+ RunHtmlTest(FILE_PATH_LITERAL("input-email.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputFile) {
RunHtmlTest(FILE_PATH_LITERAL("input-file.html"));
}
@@ -943,6 +962,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySpan) {
RunHtmlTest(FILE_PATH_LITERAL("span.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityStrong) {
+ RunHtmlTest(FILE_PATH_LITERAL("strong.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySub) {
RunHtmlTest(FILE_PATH_LITERAL("sub.html"));
}
@@ -1001,6 +1024,11 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) {
RunHtmlTest(FILE_PATH_LITERAL("var.html"));
}
+// crbug.com/281952
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
+ RunHtmlTest(FILE_PATH_LITERAL("video.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
}

Powered by Google App Engine
This is Rietveld 408576698