diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 23:56:55 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 23:56:55 +0000 |
commit | a80f5ece3d46eeb0734cfca6c716d69e7ab7aaa2 (patch) | |
tree | e1b989fd7c67f745061a481692671b1331cffe02 /content/gpu/gpu_info_collector_unittest.cc | |
parent | 56cbcc3ce45c1b68f9fbdbed6244bebe1f203403 (diff) | |
download | chromium_src-a80f5ece3d46eeb0734cfca6c716d69e7ab7aaa2.zip chromium_src-a80f5ece3d46eeb0734cfca6c716d69e7ab7aaa2.tar.gz chromium_src-a80f5ece3d46eeb0734cfca6c716d69e7ab7aaa2.tar.bz2 |
Move GPUInfo to content/public/common and put it into the content namespace.
BUG=98716
Review URL: http://codereview.chromium.org/8363007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu/gpu_info_collector_unittest.cc')
-rw-r--r-- | content/gpu/gpu_info_collector_unittest.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/content/gpu/gpu_info_collector_unittest.cc b/content/gpu/gpu_info_collector_unittest.cc index 9287af2..eaca0f2 100644 --- a/content/gpu/gpu_info_collector_unittest.cc +++ b/content/gpu/gpu_info_collector_unittest.cc @@ -3,8 +3,8 @@ // found in the LICENSE file. #include "base/memory/scoped_ptr.h" -#include "content/common/gpu/gpu_info.h" #include "content/gpu/gpu_info_collector.h" +#include "content/public/common/gpu_info.h" #include "gpu/command_buffer/common/gl_mock.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" @@ -106,7 +106,7 @@ class GPUInfoCollectorTest : public testing::Test { public: // Use StrictMock to make 100% sure we know how GL will be called. scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; - GPUInfo test_values_; + content::GPUInfo test_values_; }; // TODO(rlp): Test the vendor and device id collection if deemed necessary as @@ -115,7 +115,7 @@ class GPUInfoCollectorTest : public testing::Test { // TODO(kbr): re-enable these tests; see http://crbug.com/100285 . TEST_F(GPUInfoCollectorTest, DISABLED_DriverVendorGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.driver_vendor, gpu_info.driver_vendor); @@ -124,7 +124,7 @@ TEST_F(GPUInfoCollectorTest, DISABLED_DriverVendorGL) { // Skip Windows because the driver version is obtained from bot registry. #if !defined(OS_WIN) TEST_F(GPUInfoCollectorTest, DISABLED_DriverVersionGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.driver_version, gpu_info.driver_version); @@ -132,49 +132,49 @@ TEST_F(GPUInfoCollectorTest, DISABLED_DriverVersionGL) { #endif TEST_F(GPUInfoCollectorTest, DISABLED_PixelShaderVersionGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.pixel_shader_version, gpu_info.pixel_shader_version); } TEST_F(GPUInfoCollectorTest, DISABLED_VertexShaderVersionGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.vertex_shader_version, gpu_info.vertex_shader_version); } TEST_F(GPUInfoCollectorTest, DISABLED_GLVersionGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.gl_version, gpu_info.gl_version); } TEST_F(GPUInfoCollectorTest, DISABLED_GLVersionStringGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.gl_version_string, gpu_info.gl_version_string); } TEST_F(GPUInfoCollectorTest, DISABLED_GLRendererGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.gl_renderer, gpu_info.gl_renderer); } TEST_F(GPUInfoCollectorTest, DISABLED_GLVendorGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.gl_vendor, gpu_info.gl_vendor); } TEST_F(GPUInfoCollectorTest, DISABLED_GLExtensionsGL) { - GPUInfo gpu_info; + content::GPUInfo gpu_info; gpu_info_collector::CollectGraphicsInfoGL(&gpu_info); EXPECT_EQ(test_values_.gl_extensions, gpu_info.gl_extensions); |