summaryrefslogtreecommitdiff
path: root/action_processor_unittest.cc
diff options
context:
space:
mode:
authoradlr@google.com <adlr@google.com@06c00378-0e64-4dae-be16-12b19f9950a1>2009-12-04 18:54:03 +0000
committeradlr@google.com <adlr@google.com@06c00378-0e64-4dae-be16-12b19f9950a1>2009-12-04 18:54:03 +0000
commitc98a7edf648aad88b3f66df3b5a7d43d6a6d7fa9 (patch)
treefc7a32be25639a00fcc1c63f5b83d1a7fcfe5d86 /action_processor_unittest.cc
parentd2e4ccc22cd4dc1df69bb242321edde4af933e20 (diff)
AU: Beginnings of delta support
- proto file for delta files; still needs hardlink support - code to generate a delta update from two directory trees (old, new). - code to parse delta update - Actions: postinst-runner, install, bootable flag setter, filesystem copier, Omaha response handler, Omaha request preparer, - misc utility functions, like StringHasSuffix(), templatized Action classes to feed/collect an object from another action. - FilesystemIterator: iterates a directory tree with optional exclusion path. Tolerates deleting of files during iteration. - Subprocess class: support for synchronously or asynchronously running an external command. Doesn't pass any env variables. - Integration test that strings many Actions together and tests using actual Omaha/Lorry. Currently only tests full updates. - New simple HTTP server for unittest that supports fake flaky connections. - Some refactoring. Review URL: http://codereview.chromium.org/466036 git-svn-id: svn://chrome-svn/chromeos/trunk@334 06c00378-0e64-4dae-be16-12b19f9950a1
Diffstat (limited to 'action_processor_unittest.cc')
-rw-r--r--action_processor_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/action_processor_unittest.cc b/action_processor_unittest.cc
index 2a80bc3e..61305853 100644
--- a/action_processor_unittest.cc
+++ b/action_processor_unittest.cc
@@ -70,8 +70,8 @@ class MyActionProcessorDelegate : public ActionProcessorDelegate {
EXPECT_FALSE(processing_stopped_called_);
processing_stopped_called_ = true;
}
- virtual void ActionCompleted(const ActionProcessor* processor,
- const AbstractAction* action,
+ virtual void ActionCompleted(ActionProcessor* processor,
+ AbstractAction* action,
bool success) {
EXPECT_EQ(processor_, processor);
EXPECT_FALSE(action_completed_called_);