Home | History | Annotate | Download | only in sync

Lines Matching refs:EXPECT_CALL

44     EXPECT_CALL(*mock_pss_, AddObserver(_)).Times(AnyNumber());
45 EXPECT_CALL(*mock_pss_, RemoveObserver(_)).Times(AnyNumber());
46 EXPECT_CALL(*mock_pss_, GetAuthError()).
57 EXPECT_CALL(*mock_pss_, GetAuthError())
59 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false));
60 EXPECT_CALL(*mock_pss_, HasUnrecoverableError())
62 EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn())
74 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(true));
75 EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn())
77 EXPECT_CALL(observer_, SyncStartupCompleted());
84 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false));
85 EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn()).WillRepeatedly(
87 EXPECT_CALL(observer_, SyncStartupFailed());
94 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false));
95 EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn()).WillRepeatedly(
99 EXPECT_CALL(*mock_pss_, GetAuthError()).WillRepeatedly(ReturnRef(error));
100 EXPECT_CALL(observer_, SyncStartupFailed());
107 EXPECT_CALL(observer_, SyncStartupCompleted()).Times(0);
108 EXPECT_CALL(observer_, SyncStartupFailed()).Times(0);
112 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(true));
113 EXPECT_CALL(observer_, SyncStartupCompleted());
120 EXPECT_CALL(observer_, SyncStartupCompleted()).Times(0);
121 EXPECT_CALL(observer_, SyncStartupFailed()).Times(0);
127 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false));
128 EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn()).WillRepeatedly(
132 EXPECT_CALL(*mock_pss_, GetAuthError()).WillRepeatedly(ReturnRef(error));
133 EXPECT_CALL(observer_, SyncStartupFailed());
140 EXPECT_CALL(observer_, SyncStartupCompleted()).Times(0);
141 EXPECT_CALL(observer_, SyncStartupFailed()).Times(0);
147 EXPECT_CALL(*mock_pss_, sync_initialized()).WillRepeatedly(Return(false));
148 EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn()).WillRepeatedly(
152 EXPECT_CALL(*mock_pss_, GetAuthError()).WillRepeatedly(ReturnRef(error));
153 EXPECT_CALL(observer_, SyncStartupFailed());