mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-17 18:40:50 +00:00
SpeechSynthesis.Voice.toString should report the language code (not the voice name), so the correct language name is displayed
This commit is contained in:
@@ -203,7 +203,7 @@ public class SpeechSynthesisTest extends AndroidTestCase
|
||||
assertThat(voice.locale.getCountry(), is(data.ianaCountry));
|
||||
assertThat(voice.locale.getISO3Country(), is(data.javaCountry));
|
||||
assertThat(voice.locale.getVariant(), is(data.variant));
|
||||
assertThat(voice.toString(), is(data.name));
|
||||
assertThat(voice.toString(), is(data.locale));
|
||||
}
|
||||
catch (AssertionError e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user