OLD | NEW |
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 Loading... |
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 }); |
OLD | NEW |