Home | History | Annotate | Download | only in tts

Lines Matching refs:when

50         Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(passThrough)
53 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(passThrough)
80 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onIsLanguageAvailable(
82 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onLoadLanguage(
99 // Test 2 : Tests that when the language is successfully set
102 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable(
104 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable(
106 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onLoadLanguage(
125 // TEST 3 : Tests that the language that is set does not change when the
127 Mockito.doReturn(TextToSpeech.LANG_NOT_SUPPORTED).when(
129 Mockito.doReturn(TextToSpeech.LANG_NOT_SUPPORTED).when(
149 Mockito.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(
166 when(delegate).onIsLanguageAvailable(
171 when(delegate).onLoadLanguage(
191 doCountDown(latch).when(mock).onSynthesizeText(Mockito.<SynthesisRequest>anyObject(),
204 doCountDown(latch).when(listener).onInit(errorCode);
220 public <T> T when(T mock) {
227 }).when(mock);
234 public <T> T when(T mock) {
241 }).when(mock);