OLD | NEW |
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 Loading... |
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 |
OLD | NEW |