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

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

Issue 10832065: Update path to data file in perf test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 d3a23c7550d265e2f4f5d6a15d50f8755db7833d..c9564d9edefdae1e5108e269f4977e03e190d747 100755
--- a/chrome/test/functional/perf.py
+++ b/chrome/test/functional/perf.py
@@ -689,9 +689,10 @@ class TabPerfTest(BasePerfTest):
def testNewTabFlash(self):
"""Measures time to open a new tab navigated to a flash page."""
self.assertTrue(
- os.path.exists(os.path.join(self.DataDir(), 'plugin', 'flash.swf')),
+ os.path.exists(os.path.join(self.ContentDataDir(), 'plugin',
+ 'flash.swf')),
msg='Missing required flash data file.')
- url = self.GetFileURLForDataPath('plugin', 'flash.swf')
+ url = self.GetFileURLForContentDataPath('plugin', 'flash.swf')
dennis_jeffrey 2012/07/30 18:55:20 not for this CL, but would it be worthwhile changi
self._RunNewTabTest('NewTabFlashPage', lambda: self._AppendTab(url),
'open_tab')
« 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