Chromium Code Reviews| Index: chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc |
| =================================================================== |
| --- chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc (revision 180445) |
| +++ chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc (working copy) |
| @@ -285,9 +285,12 @@ |
| TEST_F(ProfileShortcutManagerTest, ShortcutFilename) { |
| const string16 kProfileName = L"Harry"; |
| BrowserDistribution* distribution = GetDistribution(); |
| - const string16 expected_name = kProfileName + L" - " + |
| - distribution->GetAppShortCutName() + installer::kLnkExt; |
| - EXPECT_EQ(expected_name, |
| +#if defined(GOOGLE_CHROME_BUILD) |
|
sail
2013/02/05 20:30:43
I don't think this is a good idea. You should use
Alexei Svitkine (slow)
2013/02/05 20:56:00
Done.
|
| + const string16 expected_name = L"Harry - Chrome"; |
| +#else |
| + const string16 expected_name = L"Harry - Chromium"; |
| +#endif |
| + EXPECT_EQ(expected_name + installer::kLnkExt, |
| profiles::internal::GetShortcutFilenameForProfile(kProfileName, |
| distribution)); |
| } |