summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-08-01 02:10:56 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-08-01 02:10:56 +0200
commit4375704cac8bbfd77c053477c540aabc1ac4d299 (patch)
tree30f61107f681cfeebef5e9837e04d5e9e717661e /tests
parentMerge "Create a new function to return the help message for menu" am: 5d9f963e4e am: b25d741563 am: c234be1655 (diff)
parentMerge "Simulator: add the argument to keep the updated images" am: c34e4e7fb5 am: be3f56543e (diff)
downloadandroid_bootable_recovery-4375704cac8bbfd77c053477c540aabc1ac4d299.tar
android_bootable_recovery-4375704cac8bbfd77c053477c540aabc1ac4d299.tar.gz
android_bootable_recovery-4375704cac8bbfd77c053477c540aabc1ac4d299.tar.bz2
android_bootable_recovery-4375704cac8bbfd77c053477c540aabc1ac4d299.tar.lz
android_bootable_recovery-4375704cac8bbfd77c053477c540aabc1ac4d299.tar.xz
android_bootable_recovery-4375704cac8bbfd77c053477c540aabc1ac4d299.tar.zst
android_bootable_recovery-4375704cac8bbfd77c053477c540aabc1ac4d299.zip
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/host/update_simulator_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/host/update_simulator_test.cpp b/tests/unit/host/update_simulator_test.cpp
index bf89b7859..fb1217877 100644
--- a/tests/unit/host/update_simulator_test.cpp
+++ b/tests/unit/host/update_simulator_test.cpp
@@ -93,7 +93,7 @@ static void RunSimulation(std::string_view src_tf, std::string_view ota_package,
// Run the update simulation and check the result.
TemporaryDir work_dir;
- BuildInfo build_info(work_dir.path);
+ BuildInfo build_info(work_dir.path, false);
ASSERT_TRUE(build_info.ParseTargetFile(src_tf, false));
Updater updater(std::make_unique<SimulatorRuntime>(&build_info));
ASSERT_TRUE(updater.Init(cmd_pipe.release(), ota_package, false));
@@ -211,7 +211,7 @@ TEST_F(UpdateSimulatorTest, BuildInfo_ParseTargetFile) {
AddZipEntries(zip_file.release(), entries);
TemporaryDir temp_dir;
- BuildInfo build_info(temp_dir.path);
+ BuildInfo build_info(temp_dir.path, false);
ASSERT_TRUE(build_info.ParseTargetFile(zip_file.path, false));
std::map<string, string> expected_result = {