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

Unified Diff: chrome/installer/test/upgrade_test.cc

Issue 6338020: Command-line tool to generate a newly versioned mini_installer.exe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/test/alternate_version_generator_main.cc ('k') | chrome/installer/upgrade_test.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/test/upgrade_test.cc
===================================================================
--- chrome/installer/test/upgrade_test.cc (revision 72966)
+++ chrome/installer/test/upgrade_test.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -24,8 +24,10 @@
ASSERT_TRUE(PathService::Get(base::DIR_EXE, &dir_exe));
ASSERT_TRUE(file_util::CreateTemporaryFile(&next_mini_installer_path_));
ASSERT_TRUE(
- upgrade_test::GenerateNextVersion(dir_exe.Append(&kMiniInstallerExe[0]),
- next_mini_installer_path_));
+ upgrade_test::GenerateAlternateVersion(
+ dir_exe.Append(&kMiniInstallerExe[0]),
+ next_mini_installer_path_,
+ upgrade_test::NEXT_VERSION, NULL, NULL));
}
// Clean up by deleting the created newer version of mini_installer.exe.
« no previous file with comments | « chrome/installer/test/alternate_version_generator_main.cc ('k') | chrome/installer/upgrade_test.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698