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

Unified Diff: services/catalog/entry_unittest.cc

Issue 2425563004: Support reading multiple InterfaceProviderSpecs from manifests (Closed)
Patch Set: . Created 4 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 | « services/catalog/entry.cc ('k') | services/catalog/instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/entry_unittest.cc
diff --git a/services/catalog/entry_unittest.cc b/services/catalog/entry_unittest.cc
index 4d0a46bf5484ad73e946e78adac65cf6d5052b21..897b871c38982c2a01c1631893f2019b2299415b 100644
--- a/services/catalog/entry_unittest.cc
+++ b/services/catalog/entry_unittest.cc
@@ -77,7 +77,9 @@ TEST_F(EntryTest, ConnectionSpec) {
service_manager::CapabilitySet capabilities;
capabilities.insert("bar:bar");
spec.requires["service:bar"] = capabilities;
- EXPECT_EQ(spec, entry->connection_spec());
+ service_manager::InterfaceProviderSpecMap specs;
+ specs[service_manager::mojom::kServiceManager_ConnectorSpec] = spec;
+ EXPECT_EQ(specs, entry->interface_provider_specs());
}
TEST_F(EntryTest, Serialization) {
« no previous file with comments | « services/catalog/entry.cc ('k') | services/catalog/instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698