Home
last modified time | relevance | path

Searched refs:mTtsHelper (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTtsEnginesTests.java9 private TtsEngines mTtsHelper; field in TtsEnginesTests
13 mTtsHelper = new TtsEngines(getInstrumentation().getContext()); in setUp()
17 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("eng-usa")); in testParseLocaleString()
18 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("eng-USA")); in testParseLocaleString()
19 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("en-US")); in testParseLocaleString()
20 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("en_us")); in testParseLocaleString()
21 assertEquals(new Locale("en", "US"), mTtsHelper.parseLocaleString("eng_US")); in testParseLocaleString()
23 mTtsHelper.parseLocaleString("eng_US-foobar")); in testParseLocaleString()
24 assertEquals(new Locale("en", "", "foobar"), mTtsHelper.parseLocaleString("eng__foobar")); in testParseLocaleString()
25 assertNull(mTtsHelper.parseLocaleString("cc_xx_barbar")); in testParseLocaleString()
[all …]