summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/unittest_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/unittest_main.cc')
-rw-r--r--gpu/command_buffer/common/unittest_main.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/unittest_main.cc b/gpu/command_buffer/common/unittest_main.cc
new file mode 100644
index 0000000..f0df23f
--- /dev/null
+++ b/gpu/command_buffer/common/unittest_main.cc
@@ -0,0 +1,13 @@
+// Copyright (c) 2010 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 "app/gfx/gl/gl_implementation.h"
+#include "testing/gmock/include/gmock/gmock.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+int main(int argc, char** argv) {
+ gfx::InitializeGLBindings(gfx::kGLImplementationMockGL);
+ testing::InitGoogleMock(&argc, argv);
+ return RUN_ALL_TESTS();
+}