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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadManagerServiceTest.java

Issue 923723004: [Android] Upstream DownloadManagerServiceTest data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | chrome/test/data/android/download/download.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadManagerServiceTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadManagerServiceTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadManagerServiceTest.java
index 2a446b0762b8225f6ecc561a0dd52065bf76a33b..bb7391d174af2842fc4ccb97507ac575ddca9528 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadManagerServiceTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadManagerServiceTest.java
@@ -392,7 +392,8 @@ public class DownloadManagerServiceTest extends InstrumentationTestCase {
(DownloadManager) getTestContext().getSystemService(Context.DOWNLOAD_SERVICE);
long downloadId = manager.addCompletedDownload(
"test", "test", false, "text/html",
- UrlUtils.getTestFilePath("clank/download/download.txt"), 4, true);
+ UrlUtils.getIsolatedTestFilePath("chrome/test/data/android/download/download.txt"),
+ 4, true);
MockDownloadNotifier notifier = new MockDownloadNotifier();
DownloadManagerServiceForTest dService = new DownloadManagerServiceForTest(
getTestContext(), notifier, UPDATE_DELAY_FOR_TEST);
@@ -423,7 +424,7 @@ public class DownloadManagerServiceTest extends InstrumentationTestCase {
.setDownloadId(0)
.setMimeType(OMADownloadHandler.OMA_DRM_MESSAGE_MIME)
.setFileName("test.gzip")
- .setUrl(TestHttpServerClient.getUrl("clank/test/data/android/download/test.gzip"))
+ .setUrl(TestHttpServerClient.getUrl("chrome/test/data/android/download/test.gzip"))
.build();
MockDownloadNotifier notifier = new MockDownloadNotifier();
DownloadManagerServiceForTest dService = new DownloadManagerServiceForTest(
« no previous file with comments | « no previous file | chrome/test/data/android/download/download.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698