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

Unified Diff: services/catalog/entry_unittest.cc

Issue 2390013002: Rename mojo: to service: (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/data/wildcard_interfaces ('k') | services/catalog/instance.cc » ('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 80dabf6e6a3e64cce925406b86021d8b7b67a34a..a10c8e67e706598d4e869a69a6972d0e3ed6ccce 100644
--- a/services/catalog/entry_unittest.cc
+++ b/services/catalog/entry_unittest.cc
@@ -55,7 +55,7 @@ class EntryTest : public testing::Test {
TEST_F(EntryTest, Simple) {
std::unique_ptr<Entry> entry = ReadEntry("simple", nullptr);
- EXPECT_EQ("mojo:foo", entry->name());
+ EXPECT_EQ("service:foo", entry->name());
EXPECT_EQ(shell::GetNamePath(entry->name()), entry->qualifier());
EXPECT_EQ("Foo", entry->display_name());
}
@@ -67,7 +67,7 @@ TEST_F(EntryTest, NoWildcardInInterfaces) {
TEST_F(EntryTest, Instance) {
std::unique_ptr<Entry> entry = ReadEntry("instance", nullptr);
- EXPECT_EQ("mojo:foo", entry->name());
+ EXPECT_EQ("service:foo", entry->name());
EXPECT_EQ("bar", entry->qualifier());
EXPECT_EQ("Foo", entry->display_name());
}
@@ -75,13 +75,13 @@ TEST_F(EntryTest, Instance) {
TEST_F(EntryTest, Capabilities) {
std::unique_ptr<Entry> entry = ReadEntry("capabilities", nullptr);
- EXPECT_EQ("mojo:foo", entry->name());
+ EXPECT_EQ("service:foo", entry->name());
EXPECT_EQ("bar", entry->qualifier());
EXPECT_EQ("Foo", entry->display_name());
shell::CapabilitySpec spec;
shell::CapabilityRequest request;
request.interfaces.insert("mojo::Bar");
- spec.required["mojo:bar"] = request;
+ spec.required["service:bar"] = request;
EXPECT_EQ(spec, entry->capabilities());
}
« no previous file with comments | « services/catalog/data/wildcard_interfaces ('k') | services/catalog/instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698