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

Unified Diff: chrome/common/gpu_info_unittest.cc

Issue 6673003: Move GPU messages to content. I've also switched the IPC structs to use the ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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.h » ('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 77652)
+++ chrome/common/gpu_info_unittest.cc (working copy)
@@ -1,26 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/common/gpu_info.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-// Test that an empty GPUInfo has valid members
-TEST(GPUInfoBasicTest, EmptyGPUInfo) {
- GPUInfo gpu_info;
- EXPECT_EQ(gpu_info.level, 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_vendor, "");
- EXPECT_EQ(gpu_info.driver_version, "");
- EXPECT_EQ(gpu_info.driver_date, "");
- 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.gl_extensions, "");
- EXPECT_EQ(gpu_info.can_lose_context, false);
-}
« no previous file with comments | « chrome/common/gpu_info.cc ('k') | chrome/common/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698