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

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

Issue 857853003: Add DumpAccessibilityTree tests (13,14 of 20) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporating comments 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
« no previous file with comments | « no previous file | content/test/data/accessibility/aria/aria-alertdialog.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b8c90e7629f9d74d4caafc3631652373e3f166d1..5ce4cc61fd381e636b9338fdc21d5ada3b2dcc47 100644
--- a/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
+++ b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
@@ -143,6 +143,11 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaAlert) {
}
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
+ AccessibilityAriaAlertDialog) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-alertdialog.html"));
+}
+
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
AccessibilityAriaApplication) {
RunAriaTest(FILE_PATH_LITERAL("aria-application.html"));
}
@@ -210,6 +215,11 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDefinition) {
RunAriaTest(FILE_PATH_LITERAL("aria-definition.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
+ AccessibilityAriaDescribedBy) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-describedby.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDialog) {
RunAriaTest(FILE_PATH_LITERAL("aria-dialog.html"));
}
@@ -259,6 +269,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaInvalid) {
RunAriaTest(FILE_PATH_LITERAL("aria-invalid.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLabel) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-label.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
AccessibilityAriaLabelledByHeading) {
RunAriaTest(FILE_PATH_LITERAL("aria-labelledby-heading.html"));
@@ -377,6 +391,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaNone) {
RunAriaTest(FILE_PATH_LITERAL("aria-none.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaOption) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-option.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
AccessibilityAriaPresentation) {
RunAriaTest(FILE_PATH_LITERAL("aria-presentation.html"));
@@ -428,6 +446,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRowHeader) {
RunAriaTest(FILE_PATH_LITERAL("aria-rowheader.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaScrollbar) {
+ RunAriaTest(FILE_PATH_LITERAL("aria-scrollbar.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSearch) {
RunAriaTest(FILE_PATH_LITERAL("aria-search.html"));
}
@@ -837,6 +859,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIns) {
RunHtmlTest(FILE_PATH_LITERAL("ins.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityKeygen) {
+ RunHtmlTest(FILE_PATH_LITERAL("keygen.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLabel) {
RunHtmlTest(FILE_PATH_LITERAL("label.html"));
}
@@ -931,6 +957,10 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityObject) {
RunHtmlTest(FILE_PATH_LITERAL("object.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityOptgroup) {
+ RunHtmlTest(FILE_PATH_LITERAL("optgroup.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
AccessibilityOptionindatalist) {
RunHtmlTest(FILE_PATH_LITERAL("option-in-datalist.html"));
@@ -997,10 +1027,18 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityStrong) {
RunHtmlTest(FILE_PATH_LITERAL("strong.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityStyle) {
+ RunHtmlTest(FILE_PATH_LITERAL("style.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySub) {
RunHtmlTest(FILE_PATH_LITERAL("sub.html"));
}
+IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySup) {
+ RunHtmlTest(FILE_PATH_LITERAL("sup.html"));
+}
+
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySummary) {
RunHtmlTest(FILE_PATH_LITERAL("summary.html"));
}
« no previous file with comments | « no previous file | content/test/data/accessibility/aria/aria-alertdialog.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698