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

Side by Side Diff: chrome/test/functional/special_tabs.py

Issue 9006003: Refactor and fix feedback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2011 -> 2012 Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/data/webui/bidichecker_tests.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import logging 6 import logging
7 import os 7 import os
8 8
9 import pyauto_functional # Must be imported before pyauto 9 import pyauto_functional # Must be imported before pyauto
10 import pyauto 10 import pyauto
11 import test_utils 11 import test_utils
12 12
(...skipping 24 matching lines...) Expand all
37 'about:plugins': 'chrome://plugins', 37 'about:plugins': 'chrome://plugins',
38 'about:sync': 'chrome://sync-internals', 38 'about:sync': 'chrome://sync-internals',
39 'about:sync-internals': 'chrome://sync-internals', 39 'about:sync-internals': 'chrome://sync-internals',
40 'about:version': 'chrome://version', 40 'about:version': 'chrome://version',
41 } 41 }
42 42
43 special_url_tabs = { 43 special_url_tabs = {
44 'chrome://about': { 'title': 'Chrome URLs' }, 44 'chrome://about': { 'title': 'Chrome URLs' },
45 'chrome://appcache-internals': { 'title': 'AppCache Internals' }, 45 'chrome://appcache-internals': { 'title': 'AppCache Internals' },
46 'chrome://blob-internals': { 'title': 'Blob Storage Internals' }, 46 'chrome://blob-internals': { 'title': 'Blob Storage Internals' },
47 'chrome://bugreport': {}, 47 'chrome://feedback': {},
48 'chrome://bugreport/#0': { 'title': 'Feedback' }, 48 'chrome://feedback/#0': { 'title': 'Feedback' },
49 'chrome://chrome-urls': { 'title': 'Chrome URLs' }, 49 'chrome://chrome-urls': { 'title': 'Chrome URLs' },
50 'chrome://crashes': { 'title': 'Crashes' }, 50 'chrome://crashes': { 'title': 'Crashes' },
51 'chrome://credits': { 'title': 'Credits', 'CSP': False }, 51 'chrome://credits': { 'title': 'Credits', 'CSP': False },
52 'chrome://downloads': { 'title': 'Downloads' }, 52 'chrome://downloads': { 'title': 'Downloads' },
53 'chrome://dns': { 'title': 'About DNS' }, 53 'chrome://dns': { 'title': 'About DNS' },
54 'chrome://settings/extensions': { 'title': 'Preferences - Extensions' }, 54 'chrome://settings/extensions': { 'title': 'Preferences - Extensions' },
55 'chrome://flags': {}, 55 'chrome://flags': {},
56 'chrome://flash': {}, 56 'chrome://flash': {},
57 'chrome://gpu-internals': {}, 57 'chrome://gpu-internals': {},
58 'chrome://histograms': { 'title': 'About Histograms' }, 58 'chrome://histograms': { 'title': 'About Histograms' },
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 IDC_SHOW_DOWNLOADS.""" 332 IDC_SHOW_DOWNLOADS."""
333 for accel, title in self.GetSpecialAcceleratorTabs().iteritems(): 333 for accel, title in self.GetSpecialAcceleratorTabs().iteritems():
334 self.RunCommand(accel) 334 self.RunCommand(accel)
335 self.assertTrue(self.WaitUntil( 335 self.assertTrue(self.WaitUntil(
336 self.GetActiveTabTitle, expect_retval=title), 336 self.GetActiveTabTitle, expect_retval=title),
337 msg='Expected "%s"' % title) 337 msg='Expected "%s"' % title)
338 338
339 339
340 if __name__ == '__main__': 340 if __name__ == '__main__':
341 pyauto_functional.Main() 341 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/test/data/webui/bidichecker_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698