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

Side by Side Diff: passwords.py

Issue 4155008: This is a summary of the CL (Closed) Base URL: http://src.chromium.org/svn/trunk/src/chrome/test/functional/
Patch Set: Created 10 years, 1 month 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
« TestPython.py ('K') | « TestPython.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 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2010 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 pyauto_functional # Must be imported before pyauto 6 import pyauto_functional # Must be imported before pyauto
7 import pyauto 7 import pyauto
8 8
9 9
10 class PasswordTest(pyauto.PyUITest): 10 class PasswordTest(pyauto.PyUITest):
(...skipping 23 matching lines...) Expand all
34 'signon_realm': 'https://www.example.com/', 34 'signon_realm': 'https://www.example.com/',
35 'time': 1279650942.0, 35 'time': 1279650942.0,
36 'origin_url': 'https://www.example.com/login', 36 'origin_url': 'https://www.example.com/login',
37 'username_element': 'username', 37 'username_element': 'username',
38 'password_element': 'password', 38 'password_element': 'password',
39 'submit_element': 'submit', 39 'submit_element': 'submit',
40 'action_target': 'https://www.example.com/login/', 40 'action_target': 'https://www.example.com/login/',
41 'blacklist': False } 41 'blacklist': False }
42 self.assertTrue(self.AddSavedPassword(password1)) 42 self.assertTrue(self.AddSavedPassword(password1))
43 self.assertEquals(self.GetSavedPasswords(), [password1]) 43 self.assertEquals(self.GetSavedPasswords(), [password1])
44
45
44 46
45 47
46 if __name__ == '__main__': 48 if __name__ == '__main__':
47 pyauto_functional.Main() 49 pyauto_functional.Main()
OLDNEW
« TestPython.py ('K') | « TestPython.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698