| OLD | NEW | 
|---|
| 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium OS 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 "update_engine/test_utils.h" | 5 #include "update_engine/test_utils.h" | 
| 6 | 6 | 
| 7 #include <sys/stat.h> | 7 #include <sys/stat.h> | 
| 8 #include <sys/types.h> | 8 #include <sys/types.h> | 
| 9 #include <errno.h> | 9 #include <errno.h> | 
| 10 #include <stdio.h> | 10 #include <stdio.h> | 
| 11 #include <stdlib.h> | 11 #include <stdlib.h> | 
| 12 #include <unistd.h> | 12 #include <unistd.h> | 
| 13 | 13 | 
| 14 #include <set> | 14 #include <set> | 
| 15 #include <string> | 15 #include <string> | 
| 16 #include <vector> | 16 #include <vector> | 
| 17 | 17 | 
| 18 #include "base/string_util.h" | 18 #include "base/string_util.h" | 
| 19 #include "chromeos/obsolete_logging.h" | 19 #include "base/logging.h" | 
| 20 #include "update_engine/file_writer.h" | 20 #include "update_engine/file_writer.h" | 
| 21 #include "update_engine/filesystem_iterator.h" | 21 #include "update_engine/filesystem_iterator.h" | 
| 22 #include "update_engine/utils.h" | 22 #include "update_engine/utils.h" | 
| 23 | 23 | 
| 24 using std::set; | 24 using std::set; | 
| 25 using std::string; | 25 using std::string; | 
| 26 using std::vector; | 26 using std::vector; | 
| 27 | 27 | 
| 28 namespace chromeos_update_engine { | 28 namespace chromeos_update_engine { | 
| 29 | 29 | 
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 257   EXPECT_TRUE(expected_paths.empty()); | 257   EXPECT_TRUE(expected_paths.empty()); | 
| 258   if (!expected_paths.empty()) { | 258   if (!expected_paths.empty()) { | 
| 259     for (set<string>::const_iterator it = expected_paths.begin(); | 259     for (set<string>::const_iterator it = expected_paths.begin(); | 
| 260          it != expected_paths.end(); ++it) { | 260          it != expected_paths.end(); ++it) { | 
| 261       LOG(INFO) << "extra path: " << *it; | 261       LOG(INFO) << "extra path: " << *it; | 
| 262     } | 262     } | 
| 263   } | 263   } | 
| 264 } | 264 } | 
| 265 | 265 | 
| 266 }  // namespace chromeos_update_engine | 266 }  // namespace chromeos_update_engine | 
| OLD | NEW | 
|---|