Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DSuggestionSpanUtilsTest.java81 final String[] expectedSuggestions, @Nullable final Locale expectedLocale, in assertSuggestionSpan() argument
96 if (expectedSuggestions != null) { in assertSuggestionSpan()
98 assertEquals(expectedSuggestions.length, actualSuggestions.length); in assertSuggestionSpan()
99 for (int i = 0; i < expectedSuggestions.length; ++i) { in assertSuggestionSpan()
100 assertEquals(expectedSuggestions[i], actualSuggestions[i]); in assertSuggestionSpan()
199 final ArrayList<String> expectedSuggestions = new ArrayList<>(); in testGetTextWithSuggestionSpan() local
201 if (expectedSuggestions.size() >= SuggestionSpan.SUGGESTIONS_MAX_SIZE) { in testGetTextWithSuggestionSpan()
213 expectedSuggestions.add(suggestedWord); in testGetTextWithSuggestionSpan()
221 expectedSuggestions.toArray(new String[expectedSuggestions.size()]), in testGetTextWithSuggestionSpan()
231 expectedSuggestions.toArray(new String[expectedSuggestions.size()]), in testGetTextWithSuggestionSpan()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java3670 private void assertSuggestionsEquals(Set<WifiNetworkSuggestion> expectedSuggestions, in assertSuggestionsEquals() argument
3675 assertEquals(expectedSuggestions, actualSuggestions); in assertSuggestionsEquals()