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

Unified Diff: dbus/bus_unittest.cc

Issue 8201023: Make ExportedObject and ObjectProxy own Bus as scoped_refptr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 2 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
« no previous file with comments | « dbus/bus.cc ('k') | dbus/exported_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/bus_unittest.cc
diff --git a/dbus/bus_unittest.cc b/dbus/bus_unittest.cc
index 999727a94ca42e51bb8c2efaffe1a4a81834f383..bbd2a4cf1c177aad93411fab5cef8bb2dac6f91b 100644
--- a/dbus/bus_unittest.cc
+++ b/dbus/bus_unittest.cc
@@ -46,6 +46,8 @@ TEST(BusTest, GetObjectProxy) {
"/org/chromium/DifferentTestObject");
ASSERT_TRUE(object_proxy3);
EXPECT_NE(object_proxy1, object_proxy3);
+
+ bus->ShutdownAndBlock();
}
TEST(BusTest, GetExportedObject) {
@@ -70,6 +72,8 @@ TEST(BusTest, GetExportedObject) {
"/org/chromium/DifferentTestObject");
ASSERT_TRUE(object_proxy3);
EXPECT_NE(object_proxy1, object_proxy3);
+
+ bus->ShutdownAndBlock();
}
TEST(BusTest, ShutdownAndBlock) {
« no previous file with comments | « dbus/bus.cc ('k') | dbus/exported_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698