diff options
author | Tianjie Xu <xunchang@google.com> | 2019-08-01 01:33:59 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-08-01 01:33:59 +0200 |
commit | 112acdc04364477a5a9ece353191f70efecf76f3 (patch) | |
tree | 30f61107f681cfeebef5e9837e04d5e9e717661e /tests/unit | |
parent | Merge "Create a new function to return the help message for menu" am: 5d9f963e4e (diff) | |
parent | Merge "Simulator: add the argument to keep the updated images" (diff) | |
download | android_bootable_recovery-112acdc04364477a5a9ece353191f70efecf76f3.tar android_bootable_recovery-112acdc04364477a5a9ece353191f70efecf76f3.tar.gz android_bootable_recovery-112acdc04364477a5a9ece353191f70efecf76f3.tar.bz2 android_bootable_recovery-112acdc04364477a5a9ece353191f70efecf76f3.tar.lz android_bootable_recovery-112acdc04364477a5a9ece353191f70efecf76f3.tar.xz android_bootable_recovery-112acdc04364477a5a9ece353191f70efecf76f3.tar.zst android_bootable_recovery-112acdc04364477a5a9ece353191f70efecf76f3.zip |
Diffstat (limited to '')
-rw-r--r-- | tests/unit/host/update_simulator_test.cpp | 4 |
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 = { |