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

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

Issue 8598026: Changed dangerous downloading to use .jar files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/data/downloads/dangerous/dangerous.jar ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/downloads.py
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py
index 6ae0bcf85dfe44fc3c1be408c93d0be119012f37..47bb3d67db1c4f50666018aacf33903280309d22 100644
--- a/chrome/test/functional/downloads.py
+++ b/chrome/test/functional/downloads.py
@@ -64,9 +64,7 @@ class DownloadsTest(pyauto.PyUITest):
def _GetDangerousDownload(self):
"""Returns the file path for a dangerous download for this OS."""
sub_path = os.path.join(self.DataDir(), 'downloads', 'dangerous')
- if self.IsMac():
- return os.path.join(sub_path, 'invalid-dummy.dmg')
- return os.path.join(sub_path, 'dangerous.exe')
+ return os.path.join(sub_path, 'dangerous.jar')
Nirnimesh 2011/11/18 21:39:24 Could you also delete chrome/test/data/downloads/d
def _EqualFileContents(self, file1, file2):
"""Determine if 2 given files have the same contents."""
« no previous file with comments | « chrome/test/data/downloads/dangerous/dangerous.jar ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698