summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-07-31 01:48:52 +0200
committerTianjie Xu <xunchang@google.com>2019-07-31 02:11:35 +0200
commit60b242cfd58a234727f5d339e2f6fa4e91ffe1fa (patch)
tree2c3f3befcf97039b2670395d18a2f953bc1c70c4 /tests
parentMerge "Create a new function to return the help message for menu" (diff)
downloadandroid_bootable_recovery-60b242cfd58a234727f5d339e2f6fa4e91ffe1fa.tar
android_bootable_recovery-60b242cfd58a234727f5d339e2f6fa4e91ffe1fa.tar.gz
android_bootable_recovery-60b242cfd58a234727f5d339e2f6fa4e91ffe1fa.tar.bz2
android_bootable_recovery-60b242cfd58a234727f5d339e2f6fa4e91ffe1fa.tar.lz
android_bootable_recovery-60b242cfd58a234727f5d339e2f6fa4e91ffe1fa.tar.xz
android_bootable_recovery-60b242cfd58a234727f5d339e2f6fa4e91ffe1fa.tar.zst
android_bootable_recovery-60b242cfd58a234727f5d339e2f6fa4e91ffe1fa.zip
Diffstat (limited to '')
-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 = {