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

Unified Diff: content/app/mojo/mojo_browsertest.cc

Issue 187183002: Add creation of ServiceManager to Content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge problem Created 6 years, 9 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 | « content/app/content_main_runner.cc ('k') | content/app/mojo/mojo_init.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/mojo/mojo_browsertest.cc
diff --git a/content/app/mojo/mojo_browsertest.cc b/content/app/mojo/mojo_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..eaada425e7a0a7a8b3761302c03b9bea6e4eec1d
--- /dev/null
+++ b/content/app/mojo/mojo_browsertest.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/test/content_browser_test.h"
+#include "mojo/service_manager/service_manager.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace content {
+
+class MojoTest : public ContentBrowserTest {
+ public:
+ MojoTest() {}
+
+ protected:
+ bool HasCreatedInstance() {
+ return mojo::ServiceManager::TestAPI::HasCreatedInstance();
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(MojoTest);
+};
+
+// Placeholder test to confirm we are initializing Mojo.
+IN_PROC_BROWSER_TEST_F(MojoTest, Init) {
+ EXPECT_TRUE(HasCreatedInstance());
+}
+
+} // namespace content
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/app/mojo/mojo_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698