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 "gpu/config/gpu_control_list.h" | 7 #include "gpu/config/gpu_control_list.h" |
6 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
7 | 9 |
8 namespace gpu { | 10 namespace gpu { |
9 | 11 |
10 class OsInfoTest : public testing::Test { | 12 class OsInfoTest : public testing::Test { |
11 public: | 13 public: |
12 OsInfoTest() { } | 14 OsInfoTest() { } |
13 ~OsInfoTest() override {} | 15 ~OsInfoTest() override {} |
14 | 16 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 EXPECT_FALSE(info.Contains(GpuControlList::kOsWin, std::string())); | 144 EXPECT_FALSE(info.Contains(GpuControlList::kOsWin, std::string())); |
143 EXPECT_TRUE(info.Contains(GpuControlList::kOsWin, "6")); | 145 EXPECT_TRUE(info.Contains(GpuControlList::kOsWin, "6")); |
144 EXPECT_TRUE(info.Contains(GpuControlList::kOsWin, "6.1")); | 146 EXPECT_TRUE(info.Contains(GpuControlList::kOsWin, "6.1")); |
145 EXPECT_TRUE(info.Contains(GpuControlList::kOsWin, "7")); | 147 EXPECT_TRUE(info.Contains(GpuControlList::kOsWin, "7")); |
146 EXPECT_FALSE(info.Contains(GpuControlList::kOsWin, "5")); | 148 EXPECT_FALSE(info.Contains(GpuControlList::kOsWin, "5")); |
147 } | 149 } |
148 } | 150 } |
149 | 151 |
150 } // namespace gpu | 152 } // namespace gpu |
151 | 153 |
OLD | NEW |