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

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

Issue 2044001: AU: Minor fixes to get it to do full update on real device (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/filesystem_copier_action_unittest.cc
diff --git a/src/platform/update_engine/filesystem_copier_action_unittest.cc b/src/platform/update_engine/filesystem_copier_action_unittest.cc
index 6b438173712d03d96000e8e78491c6da487dabc2..b5cd64ddc4ee19b8939f0a52005961670e13cdcc 100644
--- a/src/platform/update_engine/filesystem_copier_action_unittest.cc
+++ b/src/platform/update_engine/filesystem_copier_action_unittest.cc
@@ -230,7 +230,8 @@ TEST_F(FilesystemCopierActionTest, FullUpdateTest) {
processor.set_delegate(&delegate);
ObjectFeederAction<InstallPlan> feeder_action;
- InstallPlan install_plan(true, "", "", "", "");
+ const char* kUrl = "http://some/url";
+ InstallPlan install_plan(true, kUrl, "", "", "");
feeder_action.set_obj(install_plan);
FilesystemCopierAction copier_action(false);
ObjectCollectorAction<InstallPlan> collector_action;
@@ -245,6 +246,7 @@ TEST_F(FilesystemCopierActionTest, FullUpdateTest) {
EXPECT_FALSE(processor.IsRunning());
EXPECT_TRUE(delegate.ran_);
EXPECT_TRUE(delegate.success_);
+ EXPECT_EQ(kUrl, collector_action.object().download_url);
}
TEST_F(FilesystemCopierActionTest, NonExistentDriveTest) {
« no previous file with comments | « src/platform/update_engine/filesystem_copier_action.cc ('k') | src/platform/update_engine/omaha_request_prep_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698