Commit 7fdc4860 authored by jbudorick's avatar jbudorick Committed by Commit bot

[Android] Upstream DownloadManagerServiceTest data.

BUG=

Review URL: https://codereview.chromium.org/923723004

Cr-Commit-Position: refs/heads/master@{#316990}
parent 2bc3c549
......@@ -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(
......
test
\ No newline at end of file
This is a test.
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment