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

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

Issue 545072: AU: Gut code for old updater. New protobuf for v2 updater. (Closed)
Patch Set: better comments Created 10 years, 11 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 a76838a0db9a7f7d322fadf4cda85ea1482c25f8..44643326a7c1fd22fd24decbd1212f74f1f14fed 100644
--- a/src/platform/update_engine/omaha_response_handler_action_unittest.cc
+++ b/src/platform/update_engine/omaha_response_handler_action_unittest.cc
@@ -93,9 +93,6 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) {
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(string(utils::kStatefulPartition) +
- "/the_update_a.b.c.d_FULL_.tgz",
- install_plan.download_path);
EXPECT_EQ("/dev/sda2", install_plan.install_path);
}
{
@@ -113,9 +110,6 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) {
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(string(utils::kStatefulPartition) +
- "/the_update_a.b.c.d_DELTA_.tgz",
- install_plan.download_path);
EXPECT_EQ("/dev/sda3", install_plan.install_path);
}
{
@@ -133,9 +127,6 @@ TEST_F(OmahaResponseHandlerActionTest, SimpleTest) {
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(string(utils::kStatefulPartition) + "/" +
- kLongName.substr(0, 255),
- install_plan.download_path);
EXPECT_EQ("/dev/sda3", install_plan.install_path);
}
}
@@ -148,7 +139,6 @@ TEST_F(OmahaResponseHandlerActionTest, NoUpdatesTest) {
EXPECT_FALSE(install_plan.is_full_update);
EXPECT_EQ("", install_plan.download_url);
EXPECT_EQ("", install_plan.download_hash);
- EXPECT_EQ("", install_plan.download_path);
EXPECT_EQ("", install_plan.install_path);
}

Powered by Google App Engine
This is Rietveld 408576698