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

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

Issue 7892048: Autofill: Remove fax number completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix. Created 9 years, 3 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/functional/autofill_dataset_generator.py ('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) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 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 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 }, 1776 },
1777 { 1777 {
1778 'EMAIL_ADDRESS': ['sue@example.com',], 1778 'EMAIL_ADDRESS': ['sue@example.com',],
1779 'COMPANY_NAME': ['Company X',], 1779 'COMPANY_NAME': ['Company X',],
1780 }] 1780 }]
1781 1781
1782 Other possible keys are: 1782 Other possible keys are:
1783 'NAME_FIRST', 'NAME_MIDDLE', 'NAME_LAST', 'EMAIL_ADDRESS', 1783 'NAME_FIRST', 'NAME_MIDDLE', 'NAME_LAST', 'EMAIL_ADDRESS',
1784 'COMPANY_NAME', 'ADDRESS_HOME_LINE1', 'ADDRESS_HOME_LINE2', 1784 'COMPANY_NAME', 'ADDRESS_HOME_LINE1', 'ADDRESS_HOME_LINE2',
1785 'ADDRESS_HOME_CITY', 'ADDRESS_HOME_STATE', 'ADDRESS_HOME_ZIP', 1785 'ADDRESS_HOME_CITY', 'ADDRESS_HOME_STATE', 'ADDRESS_HOME_ZIP',
1786 'ADDRESS_HOME_COUNTRY', 'PHONE_HOME_WHOLE_NUMBER', 1786 'ADDRESS_HOME_COUNTRY', 'PHONE_HOME_WHOLE_NUMBER'
1787 'PHONE_FAX_WHOLE_NUMBER'
1788 1787
1789 credit_cards: (optional) a list of dictionaries representing each credit 1788 credit_cards: (optional) a list of dictionaries representing each credit
1790 card to add. Example: 1789 card to add. Example:
1791 [{ 1790 [{
1792 'CREDIT_CARD_NAME': 'Bob C. Smith', 1791 'CREDIT_CARD_NAME': 'Bob C. Smith',
1793 'CREDIT_CARD_NUMBER': '5555555555554444', 1792 'CREDIT_CARD_NUMBER': '5555555555554444',
1794 'CREDIT_CARD_EXP_MONTH': '12', 1793 'CREDIT_CARD_EXP_MONTH': '12',
1795 'CREDIT_CARD_EXP_4_DIGIT_YEAR': '2011' 1794 'CREDIT_CARD_EXP_4_DIGIT_YEAR': '2011'
1796 }, 1795 },
1797 { 1796 {
(...skipping 2678 matching lines...) Expand 10 before | Expand all | Expand 10 after
4476 successful = result.wasSuccessful() 4475 successful = result.wasSuccessful()
4477 if not successful: 4476 if not successful:
4478 pyauto_tests_file = os.path.join(self.TestsDir(), self._tests_filename) 4477 pyauto_tests_file = os.path.join(self.TestsDir(), self._tests_filename)
4479 print >>sys.stderr, 'Tests can be disabled by editing %s. ' \ 4478 print >>sys.stderr, 'Tests can be disabled by editing %s. ' \
4480 'Ref: %s' % (pyauto_tests_file, _PYAUTO_DOC_URL) 4479 'Ref: %s' % (pyauto_tests_file, _PYAUTO_DOC_URL)
4481 sys.exit(not successful) 4480 sys.exit(not successful)
4482 4481
4483 4482
4484 if __name__ == '__main__': 4483 if __name__ == '__main__':
4485 Main() 4484 Main()
OLDNEW
« no previous file with comments | « chrome/test/functional/autofill_dataset_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698