Browse Source

TextToSpeechTest: languages with codes not supported by Android are not present

master
Reece H. Dunn 10 years ago
parent
commit
daa9326eb2

+ 0
- 3
android/eSpeakTests/src/com/reecedunn/espeak/test/TextToSpeechTest.java View File

@@ -132,9 +132,6 @@ public class TextToSpeechTest extends TextToSpeechTestCase

for (VoiceData.Voice data : VoiceData.voices)
{
// Skip the voice if the language code is not supported by Android:
if (data.javaLanguage.equals("")) continue;

final Locale iana1 = new Locale(data.ianaLanguage, data.ianaCountry, data.variant);
final Locale iana2 = new Locale(data.ianaLanguage, data.ianaCountry, "test");
final Locale iana3 = new Locale(data.ianaLanguage, "VU", data.variant);

Loading…
Cancel
Save