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

Unified Diff: dbus/end_to_end_async_unittest.cc

Issue 9508005: dbus: verify object path of incoming signals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | « no previous file | dbus/object_proxy.cc » ('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
diff --git a/dbus/end_to_end_async_unittest.cc b/dbus/end_to_end_async_unittest.cc
index 9a88b42cffec6d1830bd479ab8b9bb9a3a5ee8ca..86409e281f3f1011f7b0478b1515d081afd18336 100644
--- a/dbus/end_to_end_async_unittest.cc
+++ b/dbus/end_to_end_async_unittest.cc
@@ -299,14 +299,3 @@ TEST_F(EndToEndAsyncTest, TestSignal) {
WaitForTestSignal();
ASSERT_EQ(kMessage, test_signal_string_);
}
-
-TEST_F(EndToEndAsyncTest, TestSignalFromRoot) {
- const char kMessage[] = "hello, world";
- // Send the test signal from the root object path, to see if we can
- // handle signals sent from "/", like dbus-send does.
- test_service_->SendTestSignalFromRoot(kMessage);
- // Receive the signal with the object proxy. The signal is handled in
- // EndToEndAsyncTest::OnTestSignal() in the main thread.
- WaitForTestSignal();
- ASSERT_EQ(kMessage, test_signal_string_);
-}
satorux1 2012/02/29 06:18:24 Rather than removing it, can you write a test to m
keybuk 2012/03/01 00:10:45 Done.
« no previous file with comments | « no previous file | dbus/object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698