Home | History | Annotate | Download | only in win
      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"
      6 
      7 #include "testing/gtest/include/gtest/gtest.h"
      8 
      9 namespace base {
     10 namespace win {
     11 namespace {
     12 
     13 TEST(WindowsVersion, GetVersionExAndKernelVersionMatch) {
     14   // If this fails, we're running in compatibility mode, or need to update the
     15   // application manifest.
     16   EXPECT_EQ(OSInfo::GetInstance()->version(),
     17             OSInfo::GetInstance()->Kernel32Version());
     18 }
     19 
     20 }  // namespace
     21 }  // namespace win
     22 }  // namespace base
     23