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

This commit is contained in:
Reece H. Dunn
2014-10-29 19:18:41 +00:00
parent 83326027bf
commit daa9326eb2
@@ -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);