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

Unified Diff: dbus/end_to_end_async_unittest.cc

Issue 8682032: Revert 111479 - chrome: dbus: support asynchronous method replies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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.h ('k') | dbus/exported_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/end_to_end_async_unittest.cc
===================================================================
--- dbus/end_to_end_async_unittest.cc (revision 111486)
+++ dbus/end_to_end_async_unittest.cc (working copy)
@@ -223,24 +223,6 @@
ASSERT_EQ("", response_strings_[0]);
}
-// Tests calling a method that sends its reply asynchronously.
-TEST_F(EndToEndAsyncTest, AsyncEcho) {
- const char* kHello = "hello";
-
- // Create the method call.
- dbus::MethodCall method_call("org.chromium.TestInterface", "AsyncEcho");
- dbus::MessageWriter writer(&method_call);
- writer.AppendString(kHello);
-
- // Call the method.
- const int timeout_ms = dbus::ObjectProxy::TIMEOUT_USE_DEFAULT;
- CallMethod(&method_call, timeout_ms);
-
- // Check the response.
- WaitForResponses(1);
- EXPECT_EQ(kHello, response_strings_[0]);
-}
-
TEST_F(EndToEndAsyncTest, NonexistentMethod) {
dbus::MethodCall method_call("org.chromium.TestInterface", "Nonexistent");
« no previous file with comments | « dbus/bus.h ('k') | dbus/exported_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698