Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/
DTtsEnginePreferenceFragmentTest.java54 private TtsEnginePreferenceFragment mTtsEnginePreferenceFragment; field in TtsEnginePreferenceFragmentTest
80 mTtsEnginePreferenceFragment = FragmentController.of(new TtsEnginePreferenceFragment(), in getCandidates_AddEngines_returnCorrectEngines()
85 assertThat(mTtsEnginePreferenceFragment.getCandidates().size()).isEqualTo(1); in getCandidates_AddEngines_returnCorrectEngines()
94 mTtsEnginePreferenceFragment = FragmentController.of(new TtsEnginePreferenceFragment(), in getDefaultKey_validKey_returnCorrectKey()
100 assertThat(mTtsEnginePreferenceFragment.getDefaultKey()).isEqualTo(TEST_ENGINE); in getDefaultKey_validKey_returnCorrectKey()
108 mTtsEnginePreferenceFragment = FragmentController.of(new TtsEnginePreferenceFragment(), in setDefaultKey_validKey_callingTtsEngineFunction()
113 mTtsEnginePreferenceFragment.setDefaultKey(mContext.getPackageName()); in setDefaultKey_validKey_callingTtsEngineFunction()
120 mTtsEnginePreferenceFragment = spy(FragmentController.of(new TtsEnginePreferenceFragment(), in setDefaultKey_validKey_updateCheckedState()
125 mTtsEnginePreferenceFragment.setDefaultKey(mContext.getPackageName()); in setDefaultKey_validKey_updateCheckedState()
127 verify(mTtsEnginePreferenceFragment).updateCheckedState(mContext.getPackageName()); in setDefaultKey_validKey_updateCheckedState()