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

Unified Diff: chrome/common/gpu_info_unittest.cc

Issue 6346007: Refactor and improve gpu_info_collector: collect information on linux;... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: This should turn three trybots green Created 9 years, 11 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 | « chrome/common/gpu_info.cc ('k') | chrome/common/gpu_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gpu_info_unittest.cc
===================================================================
--- chrome/common/gpu_info_unittest.cc (revision 71329)
+++ chrome/common/gpu_info_unittest.cc (working copy)
@@ -8,9 +8,17 @@
// Test that an empty GPUInfo has valid members
TEST(GPUInfoBasicTest, EmptyGPUInfo) {
GPUInfo gpu_info;
+ EXPECT_EQ(gpu_info.progress(), GPUInfo::kUninitialized);
+ EXPECT_EQ(gpu_info.initialization_time().ToInternalValue(), 0);
EXPECT_EQ(gpu_info.vendor_id(), 0u);
EXPECT_EQ(gpu_info.device_id(), 0u);
- EXPECT_EQ(gpu_info.driver_version(), L"");
+ EXPECT_EQ(gpu_info.driver_vendor(), "");
+ EXPECT_EQ(gpu_info.driver_version(), "");
EXPECT_EQ(gpu_info.pixel_shader_version(), 0u);
EXPECT_EQ(gpu_info.vertex_shader_version(), 0u);
+ EXPECT_EQ(gpu_info.gl_version(), 0u);
+ EXPECT_EQ(gpu_info.gl_version_string(), "");
+ EXPECT_EQ(gpu_info.gl_vendor(), "");
+ EXPECT_EQ(gpu_info.gl_renderer(), "");
+ EXPECT_EQ(gpu_info.can_lose_context(), false);
}
« no previous file with comments | « chrome/common/gpu_info.cc ('k') | chrome/common/gpu_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698