blob: f578b5724601fabe7a0ce7cde92d28f98dde0b7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright 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/public/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
|