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

Unified Diff: mojo/service_manager/service_manager_unittest.cc

Issue 394903005: mojo: terminate apps if the shell goes away (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable tests that touch nss for now Created 6 years, 4 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
Index: mojo/service_manager/service_manager_unittest.cc
diff --git a/mojo/service_manager/service_manager_unittest.cc b/mojo/service_manager/service_manager_unittest.cc
index 8f7d83d01347e9de4cd31a6e3e3b309ee820d06a..f42113f5a66ca4457dfe25c29e6c97d128c2b875 100644
--- a/mojo/service_manager/service_manager_unittest.cc
+++ b/mojo/service_manager/service_manager_unittest.cc
@@ -618,14 +618,7 @@ TEST_F(ServiceManagerTest, ANoLoadB) {
}
TEST_F(ServiceManagerTest, NoServiceNoLoad) {
- // Because we'll never successfully connect to anything here and apps are not
- // capable of noticing zero incoming connections and quitting, we need to use
- // a quittable loader.
- scoped_ptr<BackgroundShellServiceLoader> loader(MakeLoader(std::string()));
- loader->set_quit_on_shutdown();
- service_manager_->SetLoaderForURL(loader.PassAs<ServiceLoader>(),
- GURL(kTestAURLString));
-
+ AddLoaderForURL(GURL(kTestAURLString), std::string());
// There is no TestC service implementation registered with ServiceManager,
// so this cannot succeed (but also shouldn't crash).
« no previous file with comments | « mojo/service_manager/background_shell_service_loader_unittest.cc ('k') | mojo/services/native_viewport/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698