summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/unittest_main.cc
blob: b9277db97cea76f7d76dcb78528b37121ff26f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2011 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 "base/at_exit.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/gl/gl_implementation.h"

int main(int argc, char** argv) {
  base::AtExitManager exit_manager;
  gfx::InitializeGLBindings(gfx::kGLImplementationMockGL);
  testing::InitGoogleMock(&argc, argv);
  return RUN_ALL_TESTS();
}