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

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

Issue 10830193: Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Used named arguments and deleted unused test files, as suggested by Nirnimesh. Created 8 years, 4 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/https.py ('k') | chrome/test/functional/instant.py » ('j') | 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) 2012 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 pyauto_functional 6 import pyauto_functional
7 import pyauto 7 import pyauto
8 import test_utils 8 import test_utils
9 9
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 self._WaitForAndAssertResult('setVersion(1) complete') 94 self._WaitForAndAssertResult('setVersion(1) complete')
95 95
96 # Start on a different URL to force a new renderer process. 96 # Start on a different URL to force a new renderer process.
97 self.AppendTab(pyauto.GURL('about:blank')) 97 self.AppendTab(pyauto.GURL('about:blank'))
98 self.NavigateToURL(url + '#tab2') 98 self.NavigateToURL(url + '#tab2')
99 self._WaitForAndAssertResult('setVersion(2) blocked', tab_index=1) 99 self._WaitForAndAssertResult('setVersion(2) blocked', tab_index=1)
100 self._ClearResult(tab_index=1) 100 self._ClearResult(tab_index=1)
101 101
102 self.KillRendererProcess(pid) 102 self.KillRendererProcess(pid)
103 self.assertEqual(self.GetTabCount(), 2) 103 self.assertEqual(self.GetTabCount(), 2)
104 self.GetBrowserWindow(0).GetTab(0).Close(True) 104 self.CloseTab()
105 105
106 self._WaitForAndAssertResult('setVersion(2) complete') 106 self._WaitForAndAssertResult('setVersion(2) complete')
107 107
108 108
109 if __name__ == '__main__': 109 if __name__ == '__main__':
110 pyauto_functional.Main() 110 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/test/functional/https.py ('k') | chrome/test/functional/instant.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698