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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_settings_browsertest.js

Issue 253543002: web_dev_style: check webui browser tests as well. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(dbeam): test for loading upacked extensions? 5 // TODO(dbeam): test for loading upacked extensions?
6 6
7 GEN('#include "chrome/browser/ui/webui/extensions/' + 7 GEN('#include "chrome/browser/ui/webui/extensions/' +
8 'extension_settings_browsertest.h"'); 8 'extension_settings_browsertest.h"');
9 9
10 /** 10 /**
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 ExtensionSettingsWebUITestWithExtensionInstalled.prototype = { 92 ExtensionSettingsWebUITestWithExtensionInstalled.prototype = {
93 __proto__: ExtensionSettingsWebUITest.prototype, 93 __proto__: ExtensionSettingsWebUITest.prototype,
94 94
95 /** @override */ 95 /** @override */
96 typedefCppFixture: 'ExtensionSettingsUIBrowserTest', 96 typedefCppFixture: 'ExtensionSettingsUIBrowserTest',
97 97
98 /** @override */ 98 /** @override */
99 testGenPreamble: function() { 99 testGenPreamble: function() {
100 GEN(' InstallGoodExtension();'); 100 GEN(' InstallGoodExtension();');
101 } 101 }
102 } 102 };
103 103
104 TEST_F('ExtensionSettingsWebUITestWithExtensionInstalled', 104 TEST_F('ExtensionSettingsWebUITestWithExtensionInstalled',
105 'baseAccessibilityIsOk', function() { 105 'baseAccessibilityIsOk', function() {
106 assertEquals(this.browsePreload, document.location.href); 106 assertEquals(this.browsePreload, document.location.href);
107 this.runAccessibilityAudit(); 107 this.runAccessibilityAudit();
108 }); 108 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698