Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: content/gpu/gpu_info_collector_unittest.cc

Issue 6722026: Refactor: Move app/gfx/gl ==> ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try removing a dep. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/gpu/gpu_info_collector_mac.mm ('k') | content/gpu/gpu_info_collector_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "app/gfx/gl/gl_implementation.h"
6 #include "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
7 #include "content/common/gpu_info.h" 6 #include "content/common/gpu_info.h"
8 #include "content/gpu/gpu_info_collector.h" 7 #include "content/gpu/gpu_info_collector.h"
9 #include "gpu/command_buffer/common/gl_mock.h" 8 #include "gpu/command_buffer/common/gl_mock.h"
10 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/gfx/gl/gl_implementation.h"
12 12
13 using ::gfx::MockGLInterface; 13 using ::gfx::MockGLInterface;
14 using ::testing::Return; 14 using ::testing::Return;
15 15
16 class GPUInfoCollectorTest : public testing::Test { 16 class GPUInfoCollectorTest : public testing::Test {
17 public: 17 public:
18 GPUInfoCollectorTest() {} 18 GPUInfoCollectorTest() {}
19 virtual ~GPUInfoCollectorTest() { } 19 virtual ~GPUInfoCollectorTest() { }
20 20
21 void SetUp() { 21 void SetUp() {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 EXPECT_EQ(test_values_.gl_vendor, 167 EXPECT_EQ(test_values_.gl_vendor,
168 gpu_info.gl_vendor); 168 gpu_info.gl_vendor);
169 } 169 }
170 170
171 TEST_F(GPUInfoCollectorTest, GLExtensionsGL) { 171 TEST_F(GPUInfoCollectorTest, GLExtensionsGL) {
172 GPUInfo gpu_info; 172 GPUInfo gpu_info;
173 gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); 173 gpu_info_collector::CollectGraphicsInfoGL(&gpu_info);
174 EXPECT_EQ(test_values_.gl_extensions, 174 EXPECT_EQ(test_values_.gl_extensions,
175 gpu_info.gl_extensions); 175 gpu_info.gl_extensions);
176 } 176 }
OLDNEW
« no previous file with comments | « content/gpu/gpu_info_collector_mac.mm ('k') | content/gpu/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698