Browse Source

SpeechSynthesisTest: Add tests for Voice.toString.

master
Reece H. Dunn 12 years ago
parent
commit
51da7f2478

+ 1
- 0
android/eSpeakTests/src/com/reecedunn/espeak/test/SpeechSynthesisTest.java View File

assertThat(voice.locale.getCountry(), is(country)); assertThat(voice.locale.getCountry(), is(country));
assertThat(voice.locale.getISO3Country(), is(iso3Country)); assertThat(voice.locale.getISO3Country(), is(iso3Country));
assertThat(voice.locale.getVariant(), is(variant)); assertThat(voice.locale.getVariant(), is(variant));
assertThat(voice.toString(), is(name));
} }


public void testConstruction() public void testConstruction()

Loading…
Cancel
Save