OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "base/win_util.h" | 4 #include "base/win_util.h" |
5 #include "chrome/installer/util/install_util.h" | 5 #include "chrome/installer/util/install_util.h" |
6 #include "chrome/test/mini_installer_test/mini_installer_test_constants.h" | 6 #include "chrome/test/mini_installer_test/mini_installer_test_constants.h" |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 | 8 |
9 #include "chrome_mini_installer.h" | 9 #include "chrome_mini_installer.h" |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 ChromeMiniInstaller installer(mini_installer_constants::kSystemInstall); | 38 ChromeMiniInstaller installer(mini_installer_constants::kSystemInstall); |
39 installer.InstallMiniInstaller(); | 39 installer.InstallMiniInstaller(); |
40 } | 40 } |
41 } | 41 } |
42 | 42 |
43 TEST_F(MiniInstallTest, MiniInstallerUserInstallTest) { | 43 TEST_F(MiniInstallTest, MiniInstallerUserInstallTest) { |
44 ChromeMiniInstaller installer(mini_installer_constants::kUserInstall); | 44 ChromeMiniInstaller installer(mini_installer_constants::kUserInstall); |
45 installer.InstallMiniInstaller(); | 45 installer.InstallMiniInstaller(); |
46 } | 46 } |
47 | 47 |
| 48 TEST(InstallUtilTests, MiniInstallTestValidWindowsVersion) { |
| 49 // We run the tests on all supported OSes. |
| 50 // Make sure the code agrees. |
| 51 EXPECT_TRUE(InstallUtil::IsOSSupported()); |
| 52 } |
| 53 |
OLD | NEW |