diff options
Diffstat (limited to 'chrome/common/gpu_info_unittest.cc')
-rw-r--r-- | chrome/common/gpu_info_unittest.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/common/gpu_info_unittest.cc b/chrome/common/gpu_info_unittest.cc index a209aa9..2dc2de7 100644 --- a/chrome/common/gpu_info_unittest.cc +++ b/chrome/common/gpu_info_unittest.cc @@ -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); } |