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

Side by Side Diff: chrome/installer/util/browser_distribution_unittest.cc

Issue 10818021: Revert 147650 - Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1215/src/
Patch Set: Created 8 years, 5 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 | « chrome/installer/util/browser_distribution.cc ('k') | chrome/installer/util/channel_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // 4 //
5 // Unit tests for BrowserDistribution class. 5 // Unit tests for BrowserDistribution class.
6 6
7 #include "chrome/installer/util/browser_distribution.h" 7 #include "chrome/installer/util/browser_distribution.h"
8 #include "chrome/installer/util/shell_util.h" 8 #include "chrome/installer/util/shell_util.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 30 matching lines...) Expand all
41 &appended_name_one)); 41 &appended_name_one));
42 EXPECT_TRUE(ShellUtil::GetChromeShortcutName(dist, true, L"Sparkles", 42 EXPECT_TRUE(ShellUtil::GetChromeShortcutName(dist, true, L"Sparkles",
43 &appended_name_two)); 43 &appended_name_two));
44 EXPECT_NE(normal_name, alternate_name); 44 EXPECT_NE(normal_name, alternate_name);
45 EXPECT_NE(appended_name_one, appended_name_two); 45 EXPECT_NE(appended_name_one, appended_name_two);
46 EXPECT_FALSE(normal_name.empty()); 46 EXPECT_FALSE(normal_name.empty());
47 EXPECT_FALSE(alternate_name.empty()); 47 EXPECT_FALSE(alternate_name.empty());
48 EXPECT_FALSE(appended_name_one.empty()); 48 EXPECT_FALSE(appended_name_one.empty());
49 EXPECT_FALSE(appended_name_two.empty()); 49 EXPECT_FALSE(appended_name_two.empty());
50 } 50 }
OLDNEW
« no previous file with comments | « chrome/installer/util/browser_distribution.cc ('k') | chrome/installer/util/channel_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698