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

Unified Diff: chrome/utility/local_discovery/service_discovery_client_unittest.cc

Issue 137343005: Send multiple queries when DiscoverNewServices is called on a service watcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « chrome/utility/local_discovery/service_discovery_client_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/local_discovery/service_discovery_client_unittest.cc
diff --git a/chrome/utility/local_discovery/service_discovery_client_unittest.cc b/chrome/utility/local_discovery/service_discovery_client_unittest.cc
index 9dcbcc348acd49f7455327ffb5be4ff1f174f8c5..82586e43d598662e5c487710875bab376cc625ac 100644
--- a/chrome/utility/local_discovery/service_discovery_client_unittest.cc
+++ b/chrome/utility/local_discovery/service_discovery_client_unittest.cc
@@ -245,6 +245,10 @@ TEST_F(ServiceDiscoveryTest, DiscoverNewServices) {
EXPECT_CALL(socket_factory_, OnSendTo(_)).Times(2);
watcher->DiscoverNewServices(false);
+
+ EXPECT_CALL(socket_factory_, OnSendTo(_)).Times(2);
+
+ RunFor(base::TimeDelta::FromSeconds(2));
};
TEST_F(ServiceDiscoveryTest, ReadCachedServices) {
« no previous file with comments | « chrome/utility/local_discovery/service_discovery_client_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698