Index: omaha_response_handler_action_unittest.cc |
diff --git a/omaha_response_handler_action_unittest.cc b/omaha_response_handler_action_unittest.cc |
index 489d5e76bb6d7228bd16aabfd9b6804a38af308d..f751bbe95f877c15094495b0cef534e0e4faa404 100644 |
--- a/omaha_response_handler_action_unittest.cc |
+++ b/omaha_response_handler_action_unittest.cc |
@@ -88,6 +88,7 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) { |
in.size = 12; |
in.needs_admin = true; |
in.prompt = false; |
+ in.is_delta = false; |
InstallPlan install_plan; |
EXPECT_TRUE(DoTest(in, "/dev/sda3", &install_plan)); |
EXPECT_TRUE(install_plan.is_full_update); |
@@ -105,9 +106,10 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) { |
in.size = 12; |
in.needs_admin = true; |
in.prompt = true; |
+ in.is_delta = true; |
InstallPlan install_plan; |
EXPECT_TRUE(DoTest(in, "/dev/sda5", &install_plan)); |
- EXPECT_TRUE(install_plan.is_full_update); |
+ EXPECT_FALSE(install_plan.is_full_update); |
EXPECT_EQ(in.codebase, install_plan.download_url); |
EXPECT_EQ(in.hash, install_plan.download_hash); |
EXPECT_EQ("/dev/sda3", install_plan.install_path); |
@@ -122,6 +124,7 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) { |
in.size = 12; |
in.needs_admin = true; |
in.prompt = true; |
+ in.is_delta = false; |
InstallPlan install_plan; |
EXPECT_TRUE(DoTest(in, "/dev/sda3", &install_plan)); |
EXPECT_TRUE(install_plan.is_full_update); |