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

Unified Diff: update_attempter_unittest.cc

Issue 4679003: AU: Remove obsolete postinst --postcommit call. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: fix copyrights Created 10 years, 1 month 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
« no previous file with comments | « update_attempter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_attempter_unittest.cc
diff --git a/update_attempter_unittest.cc b/update_attempter_unittest.cc
index eec342d139bc8f00eb9f1d4f5cd012207fa290b5..53ffc89268207f1d8fb80313f2a7ad1d21c4ec5d 100644
--- a/update_attempter_unittest.cc
+++ b/update_attempter_unittest.cc
@@ -85,7 +85,7 @@ TEST_F(UpdateAttempterTest, GetErrorCodeForActionTest) {
FilesystemCopierAction filesystem_copier_action(false);
EXPECT_EQ(kActionCodeFilesystemCopierError,
GetErrorCodeForAction(&filesystem_copier_action, kActionCodeError));
- PostinstallRunnerAction postinstall_runner_action(true);
+ PostinstallRunnerAction postinstall_runner_action;
EXPECT_EQ(kActionCodePostinstallRunnerError,
GetErrorCodeForAction(&postinstall_runner_action,
kActionCodeError));
@@ -171,7 +171,6 @@ TEST_F(UpdateAttempterTest, UpdateTest) {
DownloadAction::StaticType(),
OmahaRequestAction::StaticType(),
PostinstallRunnerAction::StaticType(),
- PostinstallRunnerAction::StaticType(),
OmahaRequestAction::StaticType()
};
for (size_t i = 0; i < arraysize(kActionTypes); ++i) {
« no previous file with comments | « update_attempter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698