Reece H. Dunn
3d2308e285
Use API 21.
10 years ago
Reece H. Dunn
cc0341e799
tests: map TextToSpeech.LANG_* to strings.
This creates a custom hamcrest matcher that maps the TextToSpeech
LANG_* constants to strings. This makes it easier to read the
text output when the tests fail.
10 years ago
Reece H. Dunn
4a1743b174
Factor out the TextToSpeech engine initialization to a TextToSpeechTestCase helper class.
12 years ago
Reece H. Dunn
8e1872c4e9
TextToSpeechTest: add context information to testLanguages.
12 years ago
Reece H. Dunn
e96f2e3a92
eSpeakTests: update the VoiceData to reflect the directory layout changes
12 years ago
Reece H. Dunn
f455a466c3
Do not add a voice if the Locale assigns a blank ISO3 language code.
12 years ago
Reece H. Dunn
32efff8500
VoiceData.Exception: use AssertionError instead of Exception to get the language in the JUnit results.
12 years ago
Reece H. Dunn
b30311a7d7
TextToSpeechTest: move out the unsupported language tests to a separate method and check that the language does not get updated.
12 years ago
Reece H. Dunn
7816a0a204
TtsService: set the language properties to the matched voice, not the requested voice
12 years ago
Reece H. Dunn
4cbf26883b
TextToSpeechTest: add tests for TextToSpeech.set/getLanguage.
12 years ago
Reece H. Dunn
2bdd4aab27
TextToSpeechTest: add tests for TextToSpeech.isLanguageAvailable.
12 years ago