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

Unified Diff: services/catalog/entry_unittest.cc

Issue 1943993005: Remove wildcard usage in interface lists (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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/shell/background/tests/test_catalog_store.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 3b4ffbc690e757a482dc282aa1aedbb0e93896d9..80dabf6e6a3e64cce925406b86021d8b7b67a34a 100644
--- a/services/catalog/entry_unittest.cc
+++ b/services/catalog/entry_unittest.cc
@@ -60,6 +60,11 @@ TEST_F(EntryTest, Simple) {
EXPECT_EQ("Foo", entry->display_name());
}
+TEST_F(EntryTest, NoWildcardInInterfaces) {
+ std::unique_ptr<Entry> entry = ReadEntry("wildcard_interfaces", nullptr);
+ EXPECT_EQ(nullptr, entry.get());
+}
+
TEST_F(EntryTest, Instance) {
std::unique_ptr<Entry> entry = ReadEntry("instance", nullptr);
EXPECT_EQ("mojo:foo", entry->name());
« no previous file with comments | « services/catalog/entry.cc ('k') | services/shell/background/tests/test_catalog_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698