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

Side by Side Diff: chrome/test/pyautolib/pyauto.py

Issue 2800029: PyAuto: Collect branding info as a part of GetBrowserInfo() (Closed)
Patch Set: . Created 10 years, 5 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
« no previous file with comments | « chrome/browser/automation/automation_provider.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 2
3 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """PyAuto: Python Interface to Chromium's Automation Proxy. 7 """PyAuto: Python Interface to Chromium's Automation Proxy.
8 8
9 PyAuto uses swig to expose Automation Proxy interfaces to Python. 9 PyAuto uses swig to expose Automation Proxy interfaces to Python.
10 For complete documentation on the functionality available, 10 For complete documentation on the functionality available,
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 { u'name': u'Webpage Screenshot', u'pid': 93938}, 490 { u'name': u'Webpage Screenshot', u'pid': 93938},
491 { u'name': u'Google Voice (by Google)', u'pid': 93852}], 491 { u'name': u'Google Voice (by Google)', u'pid': 93852}],
492 u'properties': { 492 u'properties': {
493 u'BrowserProcessExecutableName': u'Chromium', 493 u'BrowserProcessExecutableName': u'Chromium',
494 u'BrowserProcessExecutablePath': u'Chromium.app/Contents/MacOS/' 494 u'BrowserProcessExecutablePath': u'Chromium.app/Contents/MacOS/'
495 'Chromium', 495 'Chromium',
496 u'ChromeVersion': u'6.0.412.0', 496 u'ChromeVersion': u'6.0.412.0',
497 u'HelperProcessExecutableName': u'Chromium Helper', 497 u'HelperProcessExecutableName': u'Chromium Helper',
498 u'HelperProcessExecutablePath': u'Chromium Helper.app/Contents/' 498 u'HelperProcessExecutablePath': u'Chromium Helper.app/Contents/'
499 'MacOS/Chromium Helper', 499 'MacOS/Chromium Helper',
500 u'command_line_string': "COMMAND_LINE_STRING --WITH-FLAGS"}, 500 u'command_line_string': "COMMAND_LINE_STRING --WITH-FLAGS",
501 u'branding': 'Chromium',}
501 # The order of the windows and tabs listed here will be the same as 502 # The order of the windows and tabs listed here will be the same as
502 # what shows up on screen. 503 # what shows up on screen.
503 u'windows': [ { u'index': 0, 504 u'windows': [ { u'index': 0,
504 u'height': 1134, 505 u'height': 1134,
505 u'incognito': False, 506 u'incognito': False,
506 u'is_fullscreen': False, 507 u'is_fullscreen': False,
507 u'selected_tab': 0, 508 u'selected_tab': 0,
508 u'tabs': [ { u'index': 0, 509 u'tabs': [ { u'index': 0,
509 u'num_infobars': 0, 510 u'num_infobars': 0,
510 u'renderer_pid': 93747, 511 u'renderer_pid': 93747,
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 if self._options.verbose: 887 if self._options.verbose:
887 verbosity = 2 888 verbosity = 2
888 result = unittest.TextTestRunner(verbosity=verbosity).run(pyauto_suite) 889 result = unittest.TextTestRunner(verbosity=verbosity).run(pyauto_suite)
889 del loaded_tests # Need to destroy test cases before the suite 890 del loaded_tests # Need to destroy test cases before the suite
890 del pyauto_suite 891 del pyauto_suite
891 sys.exit(not result.wasSuccessful()) 892 sys.exit(not result.wasSuccessful())
892 893
893 894
894 if __name__ == '__main__': 895 if __name__ == '__main__':
895 Main() 896 Main()
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698