summaryrefslogtreecommitdiff
path: root/action_processor_unittest.cc
diff options
context:
space:
mode:
authorAndrew de los Reyes <opensource@google.com>2009-12-10 19:01:36 -0800
committerAndrew de los Reyes <opensource@google.com>2009-12-10 19:01:36 -0800
commit4fe15d017c145aca449c2248420c1b4ec8c23758 (patch)
tree62d7c0cc4b73fdaae0ea34756650cfd3237d310f /action_processor_unittest.cc
parent970bb28905b44bf9f2cb986bb412ecda1095b0b1 (diff)
AU: Try delta updates first, then full updates
Also, some bug fixes. Review URL: http://codereview.chromium.org/492008
Diffstat (limited to 'action_processor_unittest.cc')
-rw-r--r--action_processor_unittest.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/action_processor_unittest.cc b/action_processor_unittest.cc
index 61305853..0657207e 100644
--- a/action_processor_unittest.cc
+++ b/action_processor_unittest.cc
@@ -2,10 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <string>
#include <gtest/gtest.h>
#include "update_engine/action.h"
#include "update_engine/action_processor.h"
+using std::string;
+
namespace chromeos_update_engine {
using chromeos_update_engine::ActionPipe;
@@ -60,7 +63,7 @@ class MyActionProcessorDelegate : public ActionProcessorDelegate {
explicit MyActionProcessorDelegate(const ActionProcessor* processor)
: processor_(processor), processing_done_called_(false) {}
- virtual void ProcessingDone(const ActionProcessor* processor) {
+ virtual void ProcessingDone(const ActionProcessor* processor, bool success) {
EXPECT_EQ(processor_, processor);
EXPECT_FALSE(processing_done_called_);
processing_done_called_ = true;