OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/win/windows_version.h" | |
grt (UTC plus 2)
2016/03/11 16:13:42
nit: blank line between this header and those belo
scottmg
2016/03/11 22:44:26
Done.
| |
6 #include "testing/gtest/include/gtest/gtest.h" | |
7 | |
8 namespace base { | |
9 namespace win { | |
10 namespace { | |
11 | |
12 TEST(WindowsVersion, GetVersionExAndKernelVersionMatch) { | |
13 // If this fails, we're running in compatibility mode, or need to update the | |
14 // application manifest. | |
15 EXPECT_EQ(OSInfo::GetInstance()->version(), | |
16 OSInfo::GetInstance()->Kernel32Version()); | |
17 } | |
18 | |
19 } // namespace | |
20 } // namespace win | |
21 } // namespace base | |
OLD | NEW |