| final SpeechSynthesis synth = new SpeechSynthesis(getContext(), mCallback); | final SpeechSynthesis synth = new SpeechSynthesis(getContext(), mCallback); | ||||
| mVoices = synth.getAvailableVoices(); | mVoices = synth.getAvailableVoices(); | ||||
| assertThat(mVoices, is(notNullValue())); | assertThat(mVoices, is(notNullValue())); | ||||
| assertThat(mVoices.size(), is(78)); | |||||
| assertThat(mVoices.size(), is(VoiceData.voices.length)); | |||||
| } | } | ||||
| return mVoices; | return mVoices; | ||||
| } | } |