summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros/cros_mock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/cros/cros_mock.cc')
-rw-r--r--chrome/browser/chromeos/cros/cros_mock.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/cros/cros_mock.cc b/chrome/browser/chromeos/cros/cros_mock.cc
index 49f79da..5baa999 100644
--- a/chrome/browser/chromeos/cros/cros_mock.cc
+++ b/chrome/browser/chromeos/cros/cros_mock.cc
@@ -287,15 +287,21 @@ void CrosMock::SetSpeechSynthesisLibraryExpectations() {
EXPECT_CALL(*mock_speech_synthesis_library_, StopSpeaking())
.WillOnce(Return(true))
.RetiresOnSaturation();
+ EXPECT_CALL(*mock_speech_synthesis_library_, SetSpeakProperties(_))
+ .WillOnce(Return(true))
+ .RetiresOnSaturation();
EXPECT_CALL(*mock_speech_synthesis_library_, Speak(_))
.WillOnce(Return(true))
.RetiresOnSaturation();
EXPECT_CALL(*mock_speech_synthesis_library_, IsSpeaking())
- .Times(AnyNumber())
- .WillRepeatedly(Return(true));
+ .WillOnce(Return(true))
+ .RetiresOnSaturation();
EXPECT_CALL(*mock_speech_synthesis_library_, StopSpeaking())
.WillOnce(Return(true))
.RetiresOnSaturation();
+ EXPECT_CALL(*mock_speech_synthesis_library_, SetSpeakProperties(_))
+ .WillOnce(Return(true))
+ .RetiresOnSaturation();
EXPECT_CALL(*mock_speech_synthesis_library_, Speak(_))
.WillOnce(Return(true))
.RetiresOnSaturation();