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.
2014-10-28 16:11:51 +00:00
Reece H. Dunn
4a1743b174
Factor out the TextToSpeech engine initialization to a TextToSpeechTestCase helper class.
2013-07-28 16:31:48 +01:00
Reece H. Dunn
8e1872c4e9
TextToSpeechTest: add context information to testLanguages.
2013-05-09 12:58:10 +01:00
Reece H. Dunn
e96f2e3a92
eSpeakTests: update the VoiceData to reflect the directory layout changes
2013-03-14 17:53:18 +00:00
Reece H. Dunn
f455a466c3
Do not add a voice if the Locale assigns a blank ISO3 language code.
2013-01-16 18:42:33 +00:00
Reece H. Dunn
32efff8500
VoiceData.Exception: use AssertionError instead of Exception to get the language in the JUnit results.
2012-12-17 14:13:09 +00:00
Reece H. Dunn
b30311a7d7
TextToSpeechTest: move out the unsupported language tests to a separate method and check that the language does not get updated.
2012-12-16 11:27:33 +00:00
Reece H. Dunn
7816a0a204
TtsService: set the language properties to the matched voice, not the requested voice
2012-12-16 11:14:12 +00:00
Reece H. Dunn
4cbf26883b
TextToSpeechTest: add tests for TextToSpeech.set/getLanguage.
2012-12-16 01:43:41 +00:00
Reece H. Dunn
2bdd4aab27
TextToSpeechTest: add tests for TextToSpeech.isLanguageAvailable.
2012-12-16 01:34:20 +00:00