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

Unified Diff: chrome/test/functional/perf.py

Issue 10199006: Fix netflix pyauto perf tests in perf.py, broken by function name changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor indentation changes. Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/perf.py
diff --git a/chrome/test/functional/perf.py b/chrome/test/functional/perf.py
index 37aded49318668655453fd0115cb0444c1a5816f..174f73131618b659a1e2bb39407460cda8360210 100755
--- a/chrome/test/functional/perf.py
+++ b/chrome/test/functional/perf.py
@@ -789,14 +789,14 @@ class NetflixPerfTest(BasePerfTest, NetflixTestHelper):
NetflixTestHelper.__init__(self, self)
def tearDown(self):
- self._SignOut()
+ self.SignOut()
pyauto.PyUITest.tearDown(self)
def testNetflixDroppedFrames(self):
"""Measures the Netflix video dropped frames/second. Runs for 60 secs."""
- self._LoginAndStartPlaying()
- self._CheckNetflixPlaying(self.IS_PLAYING,
- 'Player did not start playing the title.')
+ self.LoginAndStartPlaying()
+ self.CheckNetflixPlaying(self.IS_PLAYING,
+ 'Player did not start playing the title.')
# Ignore first 10 seconds of video playing so we get smooth videoplayback.
time.sleep(10)
init_dropped_frames = self._GetVideoDroppedFrames()
@@ -817,9 +817,9 @@ class NetflixPerfTest(BasePerfTest, NetflixTestHelper):
def testNetflixCPU(self):
"""Measures the Netflix video CPU usage. Runs for 60 seconds."""
- self._LoginAndStartPlaying()
- self._CheckNetflixPlaying(self.IS_PLAYING,
- 'Player did not start playing the title.')
+ self.LoginAndStartPlaying()
+ self.CheckNetflixPlaying(self.IS_PLAYING,
+ 'Player did not start playing the title.')
# Ignore first 10 seconds of video playing so we get smooth videoplayback.
time.sleep(10)
init_dropped_frames = self._GetVideoDroppedFrames()
« 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