Home
last modified time | relevance | path

Searched refs:mock_pss_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/sync/
Dsync_startup_tracker_unittest.cc34 mock_pss_ = static_cast<ProfileSyncServiceMock*>( in SetUp()
41 EXPECT_CALL(*mock_pss_, AddObserver(_)).Times(AnyNumber()); in SetUp()
42 EXPECT_CALL(*mock_pss_, RemoveObserver(_)).Times(AnyNumber()); in SetUp()
43 EXPECT_CALL(*mock_pss_, GetAuthError()). in SetUp()
45 ON_CALL(*mock_pss_, GetRegisteredDataTypes()) in SetUp()
47 mock_pss_->Initialize(); in SetUp()
55 EXPECT_CALL(*mock_pss_, GetAuthError()) in SetupNonInitializedPSS()
57 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false)); in SetupNonInitializedPSS()
58 EXPECT_CALL(*mock_pss_, HasUnrecoverableError()) in SetupNonInitializedPSS()
60 EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn()) in SetupNonInitializedPSS()
[all …]
/external/chromium_org/chrome/browser/ui/webui/
Dsync_setup_handler_unittest.cc294 mock_pss_ = static_cast<ProfileSyncServiceMock*>( in SetUp()
298 EXPECT_CALL(*mock_pss_, GetAuthError()).WillRepeatedly(ReturnRef(error_)); in SetUp()
299 ON_CALL(*mock_pss_, GetPassphraseType()).WillByDefault( in SetUp()
301 ON_CALL(*mock_pss_, GetPassphraseTime()).WillByDefault( in SetUp()
303 ON_CALL(*mock_pss_, GetExplicitPassphraseTime()).WillByDefault( in SetUp()
305 ON_CALL(*mock_pss_, GetRegisteredDataTypes()) in SetUp()
308 mock_pss_->Initialize(); in SetUp()
315 EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn()). in SetDefaultExpectationsForConfigPage()
317 EXPECT_CALL(*mock_pss_, GetRegisteredDataTypes()). in SetDefaultExpectationsForConfigPage()
319 EXPECT_CALL(*mock_pss_, GetPreferredDataTypes()). in SetDefaultExpectationsForConfigPage()
[all …]