Commit Graph
36 Commits
Author SHA1 Message Date
Reece H. Dunn 7ee59ed331 SpeechSynthesis: factor out the Voice class into its own file. 2013-05-09 13:56:02 +01:00
Reece H. Dunn 8e1872c4e9 TextToSpeechTest: add context information to testLanguages. 2013-05-09 12:58:10 +01:00
Reece H. Dunn 6aa2538104 Fix up a test failure (sync the expected string for the pt-BR sample text) 2013-05-07 22:19:48 +01:00
Reece H. Dunn 0867c97336 When specifying dialects of Vietnamese, specify the country code as well as the variant code. 2013-05-05 14:21:48 +01:00
Reece H. Dunn 3a92ee34f2 Support the new voices. 2013-04-29 10:53:54 +01:00
Reece H. Dunn cd1bd5fcef Include the test voices (these were excluded by espeak_ListVoices in a recent upstream change) 2013-04-03 10:30:21 +01:00
Reece H. Dunn 153d5dabc3 Update the eclipse settings files. 2013-04-03 09:46:35 +01:00
Reece H. Dunn 42bd45c383 eSpeakTests: en-uk is now reported as en-gb by espeak, so update the tests 2013-04-03 09:45:29 +01:00
Reece H. Dunn 44bd818bc3 Update the tests to cover the voice changes in eSpeak. 2013-03-26 11:39:17 +00:00
Reece H. Dunn 956b5179fd VoiceData.java: test/an has moved to europe/an 2013-03-17 12:25:33 +00: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 c6cca792ee Correctly handle the new vi-hue language. 2013-03-13 22:05:41 +00:00
Reece H. Dunn 3f5b5bb521 android: support the Aragonese and Farsi/Persian voices from 1.46.31 2013-01-25 17:14:27 +00:00
Reece H. Dunn 6edd17eb0c Add tests verifying that calling getSampleText does not change the apps locale. 2013-01-16 18:58:11 +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 df1adcfcfb Use zh-HK for Cantonese Chinese as Android does not properly support the yue language code. 2013-01-16 18:27:07 +00:00
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