Searched refs:expectedTokens (Results 1 – 2 of 2) sorted by relevance
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 1793 String[] expectedTokens = new String[] {}; in testTokenizeSearchQuery() local 1794 assertArrayEquals(expectedTokens, mProvider.tokenizeSearchQuery(query)); in testTokenizeSearchQuery() 1797 expectedTokens = new String[] {"a"}; in testTokenizeSearchQuery() 1798 assertArrayEquals(expectedTokens, mProvider.tokenizeSearchQuery(query)); in testTokenizeSearchQuery() 1801 expectedTokens = new String[] {"word"}; in testTokenizeSearchQuery() 1802 assertArrayEquals(expectedTokens, mProvider.tokenizeSearchQuery(query)); in testTokenizeSearchQuery() 1805 expectedTokens = new String[] {"two", "words"}; in testTokenizeSearchQuery() 1806 assertArrayEquals(expectedTokens, mProvider.tokenizeSearchQuery(query)); in testTokenizeSearchQuery() 1809 expectedTokens = new String[] {"test", "punctuation"}; in testTokenizeSearchQuery() 1810 assertArrayEquals(expectedTokens, mProvider.tokenizeSearchQuery(query)); in testTokenizeSearchQuery() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | SearchIndexManagerTest.java | 499 private void checkSplitIntoFtsTokens(String input, String... expectedTokens) { in checkSplitIntoFtsTokens() argument 500 MoreAsserts.assertEquals(expectedTokens, in checkSplitIntoFtsTokens() 532 long contactId, String expectedContent, String expectedName, String expectedTokens) { in assertSearchIndex() argument 536 assertEquals(expectedTokens, dbHelper.querySearchIndexTokensForTest(contactId)); in assertSearchIndex()
|