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

Side by Side Diff: chrome/browser/sync/sync_ui_util_unittest.cc

Issue 13871009: Move signin_manager_fake.* to fake_signin_manager.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to TOT Created 7 years, 8 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
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 #include <set> 5 #include <set>
6 #include "base/basictypes.h" 6 #include "base/basictypes.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/signin/fake_auth_status_provider.h" 9 #include "chrome/browser/signin/fake_auth_status_provider.h"
10 #include "chrome/browser/signin/fake_signin_manager.h"
10 #include "chrome/browser/signin/signin_manager.h" 11 #include "chrome/browser/signin/signin_manager.h"
11 #include "chrome/browser/signin/signin_manager_fake.h"
12 #include "chrome/browser/sync/profile_sync_service_mock.h" 12 #include "chrome/browser/sync/profile_sync_service_mock.h"
13 #include "chrome/browser/sync/sync_ui_util.h" 13 #include "chrome/browser/sync/sync_ui_util.h"
14 #include "content/public/test/test_browser_thread.h" 14 #include "content/public/test/test_browser_thread.h"
15 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
16 #include "testing/gmock/include/gmock/gmock-actions.h" 16 #include "testing/gmock/include/gmock/gmock-actions.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "ui/base/l10n/l10n_util.h" 19 #include "ui/base/l10n/l10n_util.h"
20 20
21 using ::testing::AtMost; 21 using ::testing::AtMost;
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 // Ensures a search for string 'href' (found in links, not a string to be 342 // Ensures a search for string 'href' (found in links, not a string to be
343 // found in an English language message) fails when links are excluded from 343 // found in an English language message) fails when links are excluded from
344 // the status label. 344 // the status label.
345 EXPECT_FALSE(status_label.empty()); 345 EXPECT_FALSE(status_label.empty());
346 EXPECT_EQ(status_label.find(string16(ASCIIToUTF16("href"))), 346 EXPECT_EQ(status_label.find(string16(ASCIIToUTF16("href"))),
347 string16::npos); 347 string16::npos);
348 testing::Mock::VerifyAndClearExpectations(&service); 348 testing::Mock::VerifyAndClearExpectations(&service);
349 testing::Mock::VerifyAndClearExpectations(&signin); 349 testing::Mock::VerifyAndClearExpectations(&signin);
350 } 350 }
351 } 351 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698