Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(976)

Unified Diff: src/platform/update_engine/omaha_response_handler_action_unittest.cc

Issue 2037002: AU: DBus support. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: fixes for review Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/update_engine/omaha_response_handler_action_unittest.cc
diff --git a/src/platform/update_engine/omaha_response_handler_action_unittest.cc b/src/platform/update_engine/omaha_response_handler_action_unittest.cc
index e997ea94a8117a4dbf0bd2b58dad04d52f2dd2c6..b396a9c86429e7785658e1d8e985b343e682b051 100644
--- a/src/platform/update_engine/omaha_response_handler_action_unittest.cc
+++ b/src/platform/update_engine/omaha_response_handler_action_unittest.cc
@@ -82,7 +82,7 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) {
UpdateCheckResponse in;
in.update_exists = true;
in.display_version = "a.b.c.d";
- in.codebase = "http://foo/the_update_a.b.c.d_FULL_.tgz";
+ in.codebase = "http://foo/the_update_a.b.c.d.tgz";
in.more_info_url = "http://more/info";
in.hash = "HASH+";
in.size = 12;
@@ -99,7 +99,7 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) {
UpdateCheckResponse in;
in.update_exists = true;
in.display_version = "a.b.c.d";
- in.codebase = "http://foo/the_update_a.b.c.d_DELTA_.tgz";
+ in.codebase = "http://foo/the_update_a.b.c.d.tgz";
in.more_info_url = "http://more/info";
in.hash = "HASHj+";
in.size = 12;
@@ -107,7 +107,7 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) {
in.prompt = true;
InstallPlan install_plan;
EXPECT_TRUE(DoTest(in, "/dev/sda5", &install_plan));
- EXPECT_FALSE(install_plan.is_full_update);
+ EXPECT_TRUE(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);
@@ -124,7 +124,7 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) {
in.prompt = true;
InstallPlan install_plan;
EXPECT_TRUE(DoTest(in, "/dev/sda3", &install_plan));
- EXPECT_FALSE(install_plan.is_full_update);
+ EXPECT_TRUE(install_plan.is_full_update);
EXPECT_EQ(in.codebase, install_plan.download_url);
EXPECT_EQ(in.hash, install_plan.download_hash);
EXPECT_EQ("/dev/sda5", install_plan.install_path);

Powered by Google App Engine
This is Rietveld 408576698