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

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

Issue 7837003: Fix browser.BrowserTest.testBasics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | 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 logging
6 import os 7 import os
7 import re 8 import re
8 import types 9 import types
9 10
10 import pyauto_functional # Must be imported before pyauto 11 import pyauto_functional # Must be imported before pyauto
11 import pyauto 12 import pyauto
12 13
13 14
14 class BrowserTest(pyauto.PyUITest): 15 class BrowserTest(pyauto.PyUITest):
15 """TestCase for Browser info.""" 16 """TestCase for Browser info."""
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 # Check if both are sharing a process id. 203 # Check if both are sharing a process id.
203 self.assertEquals( 204 self.assertEquals(
204 self.GetBrowserInfo()['windows'][0]['tabs'][0]['renderer_pid'], 205 self.GetBrowserInfo()['windows'][0]['tabs'][0]['renderer_pid'],
205 self.GetBrowserInfo()['windows'][1]['tabs'][0]['renderer_pid']) 206 self.GetBrowserInfo()['windows'][1]['tabs'][0]['renderer_pid'])
206 # The shared process id should be different from the previous one. 207 # The shared process id should be different from the previous one.
207 self.assertNotEqual(shared_pid, 208 self.assertNotEqual(shared_pid,
208 self.GetBrowserInfo()['windows'][0]['tabs'][0]['renderer_pid']) 209 self.GetBrowserInfo()['windows'][0]['tabs'][0]['renderer_pid'])
209 210
210 if __name__ == '__main__': 211 if __name__ == '__main__':
211 pyauto_functional.Main() 212 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698