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

Unified Diff: chrome/test/base/js2gtest.js

Issue 11363170: Add an accessibility audit test for WebUI pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove reference to obsolete a11y_audit.js Created 8 years, 1 month 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: chrome/test/base/js2gtest.js
diff --git a/chrome/test/base/js2gtest.js b/chrome/test/base/js2gtest.js
index 9ec40a811cb06ccd5a2eca0be60cb1094c4bb111..b697b1e5b1c2cf53dccc69b9d4be54d0ceda6d88 100644
--- a/chrome/test/base/js2gtest.js
+++ b/chrome/test/base/js2gtest.js
@@ -187,6 +187,9 @@ function TEST_F(testFixture, testFunction, testBody) {
print(' ' + testPredicate + '(RunJavascriptTestF(' + isAsyncParam +
'"' + testFixture + '", ' +
'"' + testFunction + '"));');
+ print(' ' + testPredicate + '(RunJavascriptTestF(' + isAsyncParam +
Sheridan Rawlins 2012/11/29 17:43:48 Is there any mechanism for sheriffs to disable onl
dmazzoni 2012/11/29 18:44:33 I like this idea, but I think there should be a wa
aboxhall 2012/11/30 00:56:27 I agree - perhaps it could be more along the lines
dmazzoni 2012/11/30 19:22:31 If we use TEST_F it should be as a way to add a ne
+ '"' + testFixture + '", ' +
+ '"accessibilityAudit"));');
Sheridan Rawlins 2012/11/29 17:43:48 I'm confused - is this adding one call to accessib
dmazzoni 2012/11/29 18:44:33 I think there may be many cases when running once
Sheridan Rawlins 2012/11/29 18:58:54 This js test infra generates C++ gtest tests - I'm
aboxhall 2012/11/30 00:56:27 Where would the explicit TEST_F be added? Would it
if (testGenPostamble)
testGenPostamble(testFixture, testFunction);
print('}');

Powered by Google App Engine
This is Rietveld 408576698