Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chrome/test/mini_installer_test/test.cc

Issue 27171: Add a test case to be sure that InstallerUtil::IsOSSupported returns... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698