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

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

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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_control_list.cc ('k') | gpu/config/gpu_control_list_number_info_unittest.cc » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <stddef.h>
6
5 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
6 #include "gpu/config/gpu_control_list.h" 8 #include "gpu/config/gpu_control_list.h"
7 #include "gpu/config/gpu_info.h" 9 #include "gpu/config/gpu_info.h"
8 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
9 11
10 #define LONG_STRING_CONST(...) #__VA_ARGS__ 12 #define LONG_STRING_CONST(...) #__VA_ARGS__
11 13
12 namespace gpu { 14 namespace gpu {
13 15
14 enum TestFeatureType { 16 enum TestFeatureType {
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 EXPECT_TRUE(entry->Contains(GpuControlList::kOsLinux, 1267 EXPECT_TRUE(entry->Contains(GpuControlList::kOsLinux,
1266 "3.13.0-63-generic", 1268 "3.13.0-63-generic",
1267 gpu_info)); 1269 gpu_info));
1268 EXPECT_FALSE(entry->Contains(GpuControlList::kOsLinux, 1270 EXPECT_FALSE(entry->Contains(GpuControlList::kOsLinux,
1269 "3.19.2-1-generic", 1271 "3.19.2-1-generic",
1270 gpu_info)); 1272 gpu_info));
1271 } 1273 }
1272 1274
1273 } // namespace gpu 1275 } // namespace gpu
1274 1276
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list.cc ('k') | gpu/config/gpu_control_list_number_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698