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

Side by Side Diff: gpu/config/gpu_info_unittest.cc

Issue 681713002: Update from chromium https://crrev.com/301315 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | mojo/services/native_viewport/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/config/gpu_info.h" 5 #include "gpu/config/gpu_info.h"
6 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
7 7
8 namespace gpu { 8 namespace gpu {
9 9
10 // Test that an empty GPUInfo has valid members 10 // Test that an empty GPUInfo has valid members
(...skipping 14 matching lines...) Expand all
25 EXPECT_EQ(gpu_info.gl_extensions, ""); 25 EXPECT_EQ(gpu_info.gl_extensions, "");
26 EXPECT_EQ(gpu_info.gl_ws_vendor, ""); 26 EXPECT_EQ(gpu_info.gl_ws_vendor, "");
27 EXPECT_EQ(gpu_info.gl_ws_version, ""); 27 EXPECT_EQ(gpu_info.gl_ws_version, "");
28 EXPECT_EQ(gpu_info.gl_ws_extensions, ""); 28 EXPECT_EQ(gpu_info.gl_ws_extensions, "");
29 EXPECT_EQ(gpu_info.can_lose_context, false); 29 EXPECT_EQ(gpu_info.can_lose_context, false);
30 EXPECT_EQ(gpu_info.basic_info_state, kCollectInfoNone); 30 EXPECT_EQ(gpu_info.basic_info_state, kCollectInfoNone);
31 EXPECT_EQ(gpu_info.context_info_state, kCollectInfoNone); 31 EXPECT_EQ(gpu_info.context_info_state, kCollectInfoNone);
32 #if defined(OS_WIN) 32 #if defined(OS_WIN)
33 EXPECT_EQ(gpu_info.dx_diagnostics_info_state, kCollectInfoNone); 33 EXPECT_EQ(gpu_info.dx_diagnostics_info_state, kCollectInfoNone);
34 #endif 34 #endif
35 EXPECT_EQ(gpu_info.video_encode_accelerator_supported_profiles.size(), 0u);
35 } 36 }
36 37
37 } // namespace gpu 38 } // namespace gpu
38 39
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | mojo/services/native_viewport/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698