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

Side by Side Diff: src/platform/update_engine/testrunner.cc

Issue 1700018: AU: FilesystemCopierAction: copy bit-exactly (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: fixes for review Created 10 years, 8 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
OLDNEW
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 // based on pam_google_testrunner.cc 5 // based on pam_google_testrunner.cc
6 6
7 #include <dbus/dbus-glib.h>
8 #include <dbus/dbus-glib-bindings.h>
9 #include <dbus/dbus-glib-lowlevel.h>
7 #include <glib.h> 10 #include <glib.h>
11 #include <glib-object.h>
8 #include <gtest/gtest.h> 12 #include <gtest/gtest.h>
9 13 #include "base/command_line.h"
10 #include "update_engine/subprocess.h" 14 #include "update_engine/subprocess.h"
11 15
12 int main(int argc, char **argv) { 16 int main(int argc, char **argv) {
17 ::g_type_init();
13 g_thread_init(NULL); 18 g_thread_init(NULL);
19 dbus_g_thread_init();
14 chromeos_update_engine::Subprocess::Init(); 20 chromeos_update_engine::Subprocess::Init();
21 CommandLine::Init(argc, argv);
15 ::testing::InitGoogleTest(&argc, argv); 22 ::testing::InitGoogleTest(&argc, argv);
16 return RUN_ALL_TESTS(); 23 return RUN_ALL_TESTS();
17 } 24 }
OLDNEW
« no previous file with comments | « src/platform/update_engine/filesystem_copier_action_unittest.cc ('k') | src/platform/update_engine/update_engine_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698