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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: src/platform/update_engine/testrunner.cc
diff --git a/src/platform/update_engine/testrunner.cc b/src/platform/update_engine/testrunner.cc
index 0a74480d4f39d73035b36c95564d3cc6c5884643..933c25d930b2ed2d999531f820c62212ed4bf0c3 100644
--- a/src/platform/update_engine/testrunner.cc
+++ b/src/platform/update_engine/testrunner.cc
@@ -4,14 +4,21 @@
// based on pam_google_testrunner.cc
+#include <dbus/dbus-glib.h>
+#include <dbus/dbus-glib-bindings.h>
+#include <dbus/dbus-glib-lowlevel.h>
#include <glib.h>
+#include <glib-object.h>
#include <gtest/gtest.h>
-
+#include "base/command_line.h"
#include "update_engine/subprocess.h"
int main(int argc, char **argv) {
+ ::g_type_init();
g_thread_init(NULL);
+ dbus_g_thread_init();
chromeos_update_engine::Subprocess::Init();
+ CommandLine::Init(argc, argv);
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
« 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