summaryrefslogtreecommitdiffstats
path: root/updater_sample/tests/src/com/example/android/systemupdatersample/util/FileDownloaderTest.java
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-05-04 21:17:01 +0200
committerZhomart Mukhamejanov <zhomart@google.com>2018-05-08 23:13:34 +0200
commit96eb59e4b13b07a18fc1a6a85786f2c287bd21db (patch)
tree5fe427b593f4ae9c39692082ab03e45c272ce077 /updater_sample/tests/src/com/example/android/systemupdatersample/util/FileDownloaderTest.java
parentMerge "recovery: Remove unneeded include of minui.h." (diff)
downloadandroid_bootable_recovery-96eb59e4b13b07a18fc1a6a85786f2c287bd21db.tar
android_bootable_recovery-96eb59e4b13b07a18fc1a6a85786f2c287bd21db.tar.gz
android_bootable_recovery-96eb59e4b13b07a18fc1a6a85786f2c287bd21db.tar.bz2
android_bootable_recovery-96eb59e4b13b07a18fc1a6a85786f2c287bd21db.tar.lz
android_bootable_recovery-96eb59e4b13b07a18fc1a6a85786f2c287bd21db.tar.xz
android_bootable_recovery-96eb59e4b13b07a18fc1a6a85786f2c287bd21db.tar.zst
android_bootable_recovery-96eb59e4b13b07a18fc1a6a85786f2c287bd21db.zip
Diffstat (limited to 'updater_sample/tests/src/com/example/android/systemupdatersample/util/FileDownloaderTest.java')
-rw-r--r--updater_sample/tests/src/com/example/android/systemupdatersample/util/FileDownloaderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/updater_sample/tests/src/com/example/android/systemupdatersample/util/FileDownloaderTest.java b/updater_sample/tests/src/com/example/android/systemupdatersample/util/FileDownloaderTest.java
index 80506ee6d..009610e86 100644
--- a/updater_sample/tests/src/com/example/android/systemupdatersample/util/FileDownloaderTest.java
+++ b/updater_sample/tests/src/com/example/android/systemupdatersample/util/FileDownloaderTest.java
@@ -70,11 +70,11 @@ public class FileDownloaderTest {
.toFile();
Files.deleteIfExists(outFile.toPath());
// download a chunk of ota.zip
- FileDownloader downloader = new FileDownloader(url, 160, 8, outFile);
+ FileDownloader downloader = new FileDownloader(url, 1674, 12, outFile);
downloader.download();
String downloadedContent = String.join("\n", Files.readAllLines(outFile.toPath()));
// archive contains text files with uppercase filenames
- assertEquals("CARE_MAP", downloadedContent);
+ assertEquals("CARE_MAP-TXT", downloadedContent);
}
}