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

Side by Side Diff: delta_diff_generator_unittest.cc

Issue 3170010: [update_engine] Update to use not-hideously-old logging API from chrome (Closed) Base URL: http://src.chromium.org/git/update_engine.git
Patch Set: Created 10 years, 4 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 unified diff | Download patch
« no previous file with comments | « delta_diff_generator.cc ('k') | extent_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <sys/types.h> 5 #include <sys/types.h>
6 #include <sys/stat.h> 6 #include <sys/stat.h>
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <unistd.h> 8 #include <unistd.h>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 #include <gtest/gtest.h> 13 #include <gtest/gtest.h>
14 #include "chromeos/obsolete_logging.h" 14 #include "base/logging.h"
15 #include "update_engine/cycle_breaker.h" 15 #include "update_engine/cycle_breaker.h"
16 #include "update_engine/delta_diff_generator.h" 16 #include "update_engine/delta_diff_generator.h"
17 #include "update_engine/delta_performer.h" 17 #include "update_engine/delta_performer.h"
18 #include "update_engine/graph_types.h" 18 #include "update_engine/graph_types.h"
19 #include "update_engine/graph_utils.h" 19 #include "update_engine/graph_utils.h"
20 #include "update_engine/subprocess.h" 20 #include "update_engine/subprocess.h"
21 #include "update_engine/test_utils.h" 21 #include "update_engine/test_utils.h"
22 #include "update_engine/utils.h" 22 #include "update_engine/utils.h"
23 23
24 using std::make_pair; 24 using std::make_pair;
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 EXPECT_EQ(0, manifest.install_operations(0).data_offset()); 342 EXPECT_EQ(0, manifest.install_operations(0).data_offset());
343 EXPECT_EQ(3, manifest.install_operations(0).data_length()); 343 EXPECT_EQ(3, manifest.install_operations(0).data_length());
344 EXPECT_EQ(3, manifest.install_operations(1).data_offset()); 344 EXPECT_EQ(3, manifest.install_operations(1).data_offset());
345 EXPECT_EQ(1, manifest.install_operations(1).data_length()); 345 EXPECT_EQ(1, manifest.install_operations(1).data_length());
346 346
347 unlink(orig_blobs.c_str()); 347 unlink(orig_blobs.c_str());
348 unlink(new_blobs.c_str()); 348 unlink(new_blobs.c_str());
349 } 349 }
350 350
351 } // namespace chromeos_update_engine 351 } // namespace chromeos_update_engine
OLDNEW
« no previous file with comments | « delta_diff_generator.cc ('k') | extent_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698