This source file includes following definitions.
- HasCreatedInstance
- IN_PROC_BROWSER_TEST_F
#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);
};
IN_PROC_BROWSER_TEST_F(MojoTest, Init) {
EXPECT_TRUE(HasCreatedInstance());
}
}