| 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 "content/browser/gpu/gpu_control_list.h" | 5 #include "gpu/config/gpu_control_list.h" |
| 6 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
| 7 | 7 |
| 8 namespace content { | 8 namespace gpu { |
| 9 | 9 |
| 10 class VersionInfoTest : public testing::Test { | 10 class VersionInfoTest : public testing::Test { |
| 11 public: | 11 public: |
| 12 VersionInfoTest() { } | 12 VersionInfoTest() { } |
| 13 virtual ~VersionInfoTest() { } | 13 virtual ~VersionInfoTest() { } |
| 14 | 14 |
| 15 typedef GpuControlList::VersionInfo VersionInfo; | 15 typedef GpuControlList::VersionInfo VersionInfo; |
| 16 }; | 16 }; |
| 17 | 17 |
| 18 TEST_F(VersionInfoTest, ValidVersionInfo) { | 18 TEST_F(VersionInfoTest, ValidVersionInfo) { |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 EXPECT_TRUE(info.Contains("8.2010")); | 247 EXPECT_TRUE(info.Contains("8.2010")); |
| 248 EXPECT_TRUE(info.Contains("8.21")); | 248 EXPECT_TRUE(info.Contains("8.21")); |
| 249 EXPECT_TRUE(info.Contains("8.21.100")); | 249 EXPECT_TRUE(info.Contains("8.21.100")); |
| 250 EXPECT_FALSE(info.Contains("9.002")); | 250 EXPECT_FALSE(info.Contains("9.002")); |
| 251 EXPECT_FALSE(info.Contains("9.201")); | 251 EXPECT_FALSE(info.Contains("9.201")); |
| 252 EXPECT_FALSE(info.Contains("12")); | 252 EXPECT_FALSE(info.Contains("12")); |
| 253 EXPECT_FALSE(info.Contains("12.201")); | 253 EXPECT_FALSE(info.Contains("12.201")); |
| 254 } | 254 } |
| 255 } | 255 } |
| 256 | 256 |
| 257 } // namespace content | 257 } // namespace gpu |
| 258 | 258 |
| OLD | NEW |