GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / content / app / mojo / mojo_browsertest.cc
blobc7f179cd17390622f3553742c8143ec384d7a97e
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/public/test/content_browser_test.h"
6 #include "testing/gtest/include/gtest/gtest.h"
7 #include "third_party/mojo/src/mojo/public/c/system/core.h"
9 namespace content {
11 class MojoTest : public ContentBrowserTest {
12 public:
13 MojoTest() {}
15 protected:
16 bool IsMojoInitialized() {
17 // Check |MojoGetTimeTicksNow()| is accessible.
18 MojoGetTimeTicksNow();
19 return true;
22 private:
23 DISALLOW_COPY_AND_ASSIGN(MojoTest);
26 // Placeholder test to confirm we are initializing Mojo.
27 IN_PROC_BROWSER_TEST_F(MojoTest, Init) {
28 EXPECT_TRUE(IsMojoInitialized());
31 } // namespace content