mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-22 11:46:24 +00:00
Do not add a voice if the Locale assigns a blank ISO3 language code.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2012 Reece H. Dunn
|
||||
* Copyright (C) 2012-2013 Reece H. Dunn
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -206,7 +206,7 @@ public class SpeechSynthesisTest extends AndroidTestCase
|
||||
public void testRemovedVoices()
|
||||
{
|
||||
getVoices(); // Ensure that the voice data has been populated.
|
||||
assertThat(mRemoved.toString(), is("[]"));
|
||||
assertThat(mRemoved.toString(), is("[nci, prs]"));
|
||||
}
|
||||
|
||||
public void testVoiceData()
|
||||
|
||||
Reference in New Issue
Block a user