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

Side by Side Diff: trunk/src/chrome/test/functional/webrtc_brutality_test.py

Issue 22840006: Revert 217770 "Landing https://codereview.chromium.org/18769010/." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
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 webrtc_test_base 7 import webrtc_test_base
8 8
9 9
10 class WebrtcBrutalityTest(webrtc_test_base.WebrtcTestBase): 10 class WebrtcBrutalityTest(webrtc_test_base.WebrtcTestBase):
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 self.CloseTab(tab_index=0) 59 self.CloseTab(tab_index=0)
60 60
61 def testSuccessfulGetUserMediaAndThenClose(self): 61 def testSuccessfulGetUserMediaAndThenClose(self):
62 """Waits for WebRTC to respond, and closes the tab.""" 62 """Waits for WebRTC to respond, and closes the tab."""
63 self.LoadTestPageInOneTab() 63 self.LoadTestPageInOneTab()
64 self.GetUserMedia(tab_index=0, action='accept') 64 self.GetUserMedia(tab_index=0, action='accept')
65 self.CloseTab(tab_index=0) 65 self.CloseTab(tab_index=0)
66 66
67 def _GetUserMediaWithoutTakingAction(self, tab_index): 67 def _GetUserMediaWithoutTakingAction(self, tab_index):
68 self.assertEquals('ok-requested', self.ExecuteJavascript( 68 self.assertEquals('ok-requested', self.ExecuteJavascript(
69 'doGetUserMedia("{ audio: true, video: true, }")', tab_index=0)) 69 'getUserMedia("{ audio: true, video: true, }")', tab_index=0))
70 70
71 71
72 if __name__ == '__main__': 72 if __name__ == '__main__':
73 pyauto_functional.Main() 73 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « trunk/src/chrome/test/functional/media_stream_infobar.py ('k') | trunk/src/chrome/test/functional/webrtc_test_base.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698