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 <windows.h> | |
grt (UTC plus 2)
2016/03/10 19:43:44
iwyu here and below
scottmg
2016/03/10 23:51:40
Done.
| |
6 | |
7 #include "base/files/file_path.h" | |
8 #include "base/macros.h" | |
9 #include "base/scoped_native_library.h" | |
10 #include "base/win/win_util.h" | |
11 #include "base/win/windows_version.h" | |
12 #include "testing/gtest/include/gtest/gtest.h" | |
13 | |
14 namespace base { | |
15 namespace win { | |
16 namespace { | |
17 | |
18 TEST(WindowsVersion, GetVersionExAndKernelVersionMatch) { | |
19 // If this fails, we're running in compatibility mode, or need to update the | |
20 // application manifest. | |
21 EXPECT_EQ(OSInfo::GetInstance()->version(), | |
22 OSInfo::GetInstance()->Kernel32Version()); | |
23 } | |
24 | |
25 } // namespace | |
26 } // namespace win | |
27 } // namespace base | |
OLD | NEW |