summaryrefslogtreecommitdiffstats
path: root/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-04-27 06:07:05 +0200
committerZhomart Mukhamejanov <zhomart@google.com>2018-05-01 19:24:57 +0200
commit963e3eeb003093b3934dab7f1c73a4c46d75321c (patch)
tree8d0b851adf93072e1ebb3eb1561e9ee1a77e6d6c /updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
parentMerge "Drop '#include "ui.h"' from device.h." (diff)
downloadandroid_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.gz
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.bz2
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.lz
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.xz
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.zst
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.zip
Diffstat (limited to '')
-rw-r--r--updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java b/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
index 4aa8c6453..c85698c0f 100644
--- a/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
+++ b/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
@@ -54,8 +54,8 @@ public class UpdateConfigsTest {
@Test
public void configsToNames_extractsNames() {
List<UpdateConfig> configs = Arrays.asList(
- new UpdateConfig("blah", "http://", UpdateConfig.TYPE_NON_STREAMING),
- new UpdateConfig("blah 2", "http://", UpdateConfig.TYPE_STREAMING)
+ new UpdateConfig("blah", "http://", UpdateConfig.AB_INSTALL_TYPE_NON_STREAMING),
+ new UpdateConfig("blah 2", "http://", UpdateConfig.AB_INSTALL_TYPE_STREAMING)
);
String[] names = UpdateConfigs.configsToNames(configs);
assertArrayEquals(new String[] {"blah", "blah 2"}, names);