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

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

Issue 7003064: Add placeholder chrome://media-internals page. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add placeholder chrome://media-internals page. Created 9 years, 6 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/common/url_constants.cc ('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/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 os 6 import os
7 7
8 import pyauto_functional # Must be imported before pyauto 8 import pyauto_functional # Must be imported before pyauto
9 import pyauto 9 import pyauto
10 import test_utils 10 import test_utils
(...skipping 16 matching lines...) Expand all
27 'about:dns': 'About DNS', 27 'about:dns': 'About DNS',
28 'about:histograms': 'About Histograms', 28 'about:histograms': 'About Histograms',
29 'about:plugins': 'Plug-ins', 29 'about:plugins': 'Plug-ins',
30 'about:sync': 'Sync Internals', 30 'about:sync': 'Sync Internals',
31 'about:sync-internals': 'Sync Internals', 31 'about:sync-internals': 'Sync Internals',
32 'about:version': 'About Version', 32 'about:version': 'About Version',
33 'chrome://about': 'Chrome URLs', 33 'chrome://about': 'Chrome URLs',
34 'chrome://downloads': 'Downloads', 34 'chrome://downloads': 'Downloads',
35 'chrome://extensions': 'Extensions', 35 'chrome://extensions': 'Extensions',
36 'chrome://history': 'History', 36 'chrome://history': 'History',
37 'chrome://media-internals': 'Media Internals',
37 'chrome://newtab': 'New Tab', 38 'chrome://newtab': 'New Tab',
38 'chrome://sync-internals': 'Sync Internals', 39 'chrome://sync-internals': 'Sync Internals',
39 } 40 }
40 41
41 def _VerifyAppCacheInternals(self): 42 def _VerifyAppCacheInternals(self):
42 """Confirm about:appcache-internals contains expected content for Caches. 43 """Confirm about:appcache-internals contains expected content for Caches.
43 Also confirms that the about page populates Application Caches.""" 44 Also confirms that the about page populates Application Caches."""
44 # Navigate to html page to activate DNS prefetching. 45 # Navigate to html page to activate DNS prefetching.
45 self.NavigateToURL('http://static.webvm.net/appcache-test/simple.html') 46 self.NavigateToURL('http://static.webvm.net/appcache-test/simple.html')
46 # Wait for page to load and display sucess or fail message. 47 # Wait for page to load and display sucess or fail message.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 def testSpecialAcceratorTabs(self): 85 def testSpecialAcceratorTabs(self):
85 """Test special tabs created by acclerators like IDC_SHOW_HISTORY, 86 """Test special tabs created by acclerators like IDC_SHOW_HISTORY,
86 IDC_SHOW_DOWNLOADS.""" 87 IDC_SHOW_DOWNLOADS."""
87 for accel, title in self.special_accelerator_tabs.iteritems(): 88 for accel, title in self.special_accelerator_tabs.iteritems():
88 self.RunCommand(accel) 89 self.RunCommand(accel)
89 self.assertEqual(title, self.GetActiveTabTitle()) 90 self.assertEqual(title, self.GetActiveTabTitle())
90 91
91 92
92 if __name__ == '__main__': 93 if __name__ == '__main__':
93 pyauto_functional.Main() 94 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/common/url_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698