summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/unittest_main.cc
blob: c305c1c4f7add96e0e90fcaa93d055f712e1ef66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 "base/command_line.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);
  CommandLine::Init(argc, argv);
  testing::InitGoogleMock(&argc, argv);
  return RUN_ALL_TESTS();
}