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

Unified Diff: chrome/test/mini_installer_test/test.cc

Issue 28128: Fix all places where we used the GetWinVersion function... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/shell_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/mini_installer_test/test.cc
===================================================================
--- chrome/test/mini_installer_test/test.cc (revision 10275)
+++ chrome/test/mini_installer_test/test.cc (working copy)
@@ -14,7 +14,7 @@
virtual void SetUp() {
ChromeMiniInstaller userinstall(mini_installer_constants::kUserInstall);
userinstall.UnInstall();
- if (win_util::GetWinVersion() != win_util::WINVERSION_VISTA) {
+ if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA) {
ChromeMiniInstaller systeminstall(
mini_installer_constants::kSystemInstall);
systeminstall.UnInstall();
@@ -34,7 +34,7 @@
}
TEST_F(MiniInstallTest, MiniInstallerSystemInstallTest) {
- if (win_util::GetWinVersion() != win_util::WINVERSION_VISTA) {
+ if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA) {
ChromeMiniInstaller installer(mini_installer_constants::kSystemInstall);
installer.InstallMiniInstaller();
}
« no previous file with comments | « chrome/installer/util/shell_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698