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

Unified Diff: gpu/config/gpu_info_unittest.cc

Issue 15385003: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/config/gpu_info.cc ('k') | gpu/config/gpu_performance_stats.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info_unittest.cc
===================================================================
--- gpu/config/gpu_info_unittest.cc (revision 0)
+++ gpu/config/gpu_info_unittest.cc (working copy)
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/common/gpu_info.h"
+#include "gpu/config/gpu_info.h"
#include "testing/gtest/include/gtest/gtest.h"
+namespace gpu {
+
// Test that an empty GPUInfo has valid members
TEST(GPUInfoBasicTest, EmptyGPUInfo) {
- content::GPUInfo gpu_info;
+ GPUInfo gpu_info;
EXPECT_EQ(gpu_info.finalized, false);
EXPECT_EQ(gpu_info.initialization_time.ToInternalValue(), 0);
EXPECT_EQ(gpu_info.gpu.vendor_id, 0u);
@@ -25,3 +27,6 @@
EXPECT_EQ(gpu_info.gl_extensions, "");
EXPECT_EQ(gpu_info.can_lose_context, false);
}
+
+} // namespace gpu
+
« no previous file with comments | « gpu/config/gpu_info.cc ('k') | gpu/config/gpu_performance_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698