Commit Graph
20 Commits
Author SHA1 Message Date
Reece H. Dunn 3c05eeb9ed libs: add the hamcrest jar files needed to build the espeak tests 2012-12-18 21:27:50 +00:00
Reece H. Dunn 7dd1d66e4a Fix the shared object name for API 8 compatibility, with tests. 2012-12-18 19:25:09 +00:00
Reece H. Dunn dc4f85865d SpeechSynthesis: fix the getSampleText behaviour when passed Java-style locale codes. 2012-12-18 15:39:00 +00:00
Reece H. Dunn 2a3a1a0a81 Move the sample text logic into SpeechSynthesis.getSampleText and add test cases for it. 2012-12-18 14:38:57 +00:00
Reece H. Dunn 0a69c19112 SpeechSynthesis.Voice.toString should report the language code (not the voice name), so the correct language name is displayed 2012-12-17 18:54:44 +00:00
Reece H. Dunn 54b9cb161b VoiceData: update the test data to check the es, fr-be, mk, pl and sw languages. 2012-12-17 17:01:17 +00:00
Reece H. Dunn 5a2cfb2e7c SpeechSynthesisTest: skip testing voice data for missing voices. 2012-12-17 16:50:24 +00:00
Reece H. Dunn aed6bc0365 SpeechSynthesisTest: calculate the added and removed voices in the getVoices method. 2012-12-17 16:45:50 +00:00
Reece H. Dunn ea623385d6 SpeechSynthesisTest: test for added and removed voices to make it easier to maintain and update the VoiceData.voices list. 2012-12-17 16:36:38 +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 87ccc3a61e SpeechSynthesisTest: check the number of voices against the length of the test data array (VoiceData.voices) instead of hard coding it. 2012-12-17 14:10:18 +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
Reece H. Dunn 8d586dd52c SpeechSynthesisTest: factor out the voice data into a reusable, queryable list 2012-12-16 01:11:38 +00:00
Reece H. Dunn 86fe261425 SpeechSynthesisTest: Add tests for Voice.match using 3-letter language and country codes. 2012-12-15 14:36:42 +00:00
Reece H. Dunn 51da7f2478 SpeechSynthesisTest: Add tests for Voice.toString. 2012-12-15 14:18:51 +00:00
Reece H. Dunn 5277a6788a SpeechSynthesisTest: Add tests for Voice.match. 2012-12-15 14:16:10 +00:00
Reece H. Dunn 1a28553d4c Add tests for the data returned by the SpeechSynthesis class, specifically the Voice locale entries. 2012-12-14 23:39:18 +00:00