diff options
author | Andrew de los Reyes <adlr@chromium.org> | 2010-07-15 22:28:14 -0700 |
---|---|---|
committer | Andrew de los Reyes <adlr@chromium.org> | 2010-07-15 22:28:14 -0700 |
commit | 3270f7411f55b872db385d0edffdfed18a684121 (patch) | |
tree | 4482601097f0f359a7c219b85560cb75fe33a53e /action_processor_unittest.cc | |
parent | ada4220cc4f05e8e4c72ed18cfddf1bf7f1ad75b (diff) |
AU: Changes for deltas on traditional bios machines.
BUG=None
TEST=Attached unittests/tested on image
- Fix uninitialized variable err in action processor unittest
- Let Omaha dictate if an update is a delta or full update
- Bug fix in delta generator for differently-sized images
- More logging when applying delta updates
- Fix infinite loop in http fetcher unittest
- log each HTTP connection to know when a dropped connection is
reestablished.
- Detect when speed goes below a threshold and reestablish HTTP
connection (currently < 10bytes/sec for 90 contiguous seconds).
- Fix stack overflow in libcurl http fetcher.
- optimize out a lot of needless CPU usage in libcurl http fetcher
(turns out adding a glib main loop source uses a lot of CPU).
- subprocess: pass PATH, log stdout/stderr
- postinstall runner: support for ext3 and ext4 target filesystems.
Review URL: http://codereview.chromium.org/2805027
Diffstat (limited to 'action_processor_unittest.cc')
-rw-r--r-- | action_processor_unittest.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/action_processor_unittest.cc b/action_processor_unittest.cc index 0657207e..40275a03 100644 --- a/action_processor_unittest.cc +++ b/action_processor_unittest.cc @@ -61,7 +61,11 @@ namespace { class MyActionProcessorDelegate : public ActionProcessorDelegate { public: explicit MyActionProcessorDelegate(const ActionProcessor* processor) - : processor_(processor), processing_done_called_(false) {} + : processor_(processor), + processing_done_called_(false), + processing_stopped_called_(false), + action_completed_called_(false), + action_completed_success_(false) {} virtual void ProcessingDone(const ActionProcessor* processor, bool success) { EXPECT_EQ(processor_, processor); |