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

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

Issue 10825006: Update pyauto tests to use content/test/data/plugin (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 | « chrome/test/functional/flash.py ('k') | chrome/test/functional/plugins.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/infobars.py
diff --git a/chrome/test/functional/infobars.py b/chrome/test/functional/infobars.py
index d04a10c6a931144713502c95bee37863fbee1b3d..a6a4db6ecbd7c83b4bd17e26b71d7a68a4088dea 100755
--- a/chrome/test/functional/infobars.py
+++ b/chrome/test/functional/infobars.py
@@ -51,7 +51,7 @@ class InfobarTest(pyauto.PyUITest):
def testPluginCrashInfobar(self):
"""Verify the "plugin crashed" infobar."""
- flash_url = self.GetFileURLForDataPath('plugin', 'flash.swf')
+ flash_url = self.GetFileURLForContentDataPath('plugin', 'flash.swf')
# Trigger flash plugin
self.NavigateToURL(flash_url)
child_processes = self.GetBrowserInfo()['child_processes']
@@ -158,7 +158,7 @@ class InfobarTest(pyauto.PyUITest):
def testPluginCrashForMultiTabs(self):
"""Verify plugin crash infobar shows up only on the tabs using plugin."""
non_flash_url = self.GetFileURLForDataPath('english_page.html')
- flash_url = self.GetFileURLForDataPath('plugin', 'FlashSpin.swf')
+ flash_url = self.GetFileURLForContentDataPath('plugin', 'FlashSpin.swf')
# False = Non flash url, True = Flash url
# We have set of these values to compare a flash page and a non-flash page
urls_type = [False, True, False, True, False]
« no previous file with comments | « chrome/test/functional/flash.py ('k') | chrome/test/functional/plugins.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698