Searched refs:searchResultPage (Results 1 – 6 of 6) sorted by relevance
95 SearchResultPage searchResultPage = in testSingleStringSnippet() local101 assertThat(searchResultPage.getResults()).hasSize(1); in testSingleStringSnippet()102 SearchResult.MatchInfo match = searchResultPage.getResults().get(0).getMatchInfos().get(0); in testSingleStringSnippet()140 SearchResultPage searchResultPage = in testNoSnippets() local146 assertThat(searchResultPage.getResults()).hasSize(1); in testNoSnippets()147 assertThat(searchResultPage.getResults().get(0).getMatchInfos()).isEmpty(); in testNoSnippets()204 SearchResultPage searchResultPage = in testMultipleStringSnippet() local210 assertThat(searchResultPage.getResults()).hasSize(1); in testMultipleStringSnippet()211 SearchResult.MatchInfo match1 = searchResultPage.getResults().get(0).getMatchInfos().get(0); in testMultipleStringSnippet()221 SearchResult.MatchInfo match2 = searchResultPage.getResults().get(0).getMatchInfos().get(1); in testMultipleStringSnippet()[all …]
737 SearchResultPage searchResultPage = in testQueryEmptyDatabase() local739 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryEmptyDatabase()782 SearchResultPage searchResultPage = in testQueryWithMultiplePackages_noPackageFilters() local784 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryWithMultiplePackages_noPackageFilters()791 searchResultPage = in testQueryWithMultiplePackages_noPackageFilters()794 assertThat(searchResultPage.getResults()).hasSize(1); in testQueryWithMultiplePackages_noPackageFilters()795 assertThat(searchResultPage.getResults().get(0).getGenericDocument()).isEqualTo(document); in testQueryWithMultiplePackages_noPackageFilters()842 SearchResultPage searchResultPage = in testQueryWithMultiplePackages_withPackageFilters() local844 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryWithMultiplePackages_withPackageFilters()856 searchResultPage = in testQueryWithMultiplePackages_withPackageFilters()[all …]
619 SearchResultPage searchResultPage = in testLoggingStats_search_success() local623 assertThat(searchResultPage.getResults()).hasSize(2); in testLoggingStats_search_success()625 assertThat(searchResultPage.getResults().get(0).getGenericDocument()).isEqualTo(document2); in testLoggingStats_search_success()626 assertThat(searchResultPage.getResults().get(1).getGenericDocument()).isEqualTo(document1); in testLoggingStats_search_success()
163 SearchResultPage searchResultPage =165 mNextPageToken = searchResultPage.getNextPageToken();167 searchResultPage.getResults()));
667 SearchResultPage searchResultPage = instance.getAppSearchImpl().query( in query() local676 AppSearchResult.newSuccessfulResult(searchResultPage.getBundle())); in query()736 SearchResultPage searchResultPage = instance.getAppSearchImpl().globalQuery( in globalQuery() local747 AppSearchResult.newSuccessfulResult(searchResultPage.getBundle())); in globalQuery()797 SearchResultPage searchResultPage = in getNextPage() local801 AppSearchResult.newSuccessfulResult(searchResultPage.getBundle())); in getNextPage()861 SearchResultPage searchResultPage = instance.getAppSearchImpl().query( in writeQueryResultsToFile() local867 while (!searchResultPage.getResults().isEmpty()) { in writeQueryResultsToFile()868 for (int i = 0; i < searchResultPage.getResults().size(); i++) { in writeQueryResultsToFile()870 outputStream, searchResultPage.getResults().get(i) in writeQueryResultsToFile()[all …]
862 SearchResultPage searchResultPage = in query() local869 addNextPageToken(packageName, searchResultPage.getNextPageToken()); in query()870 return searchResultPage; in query()984 SearchResultPage searchResultPage = in globalQuery() local991 addNextPageToken(callerPackageName, searchResultPage.getNextPageToken()); in globalQuery()992 return searchResultPage; in globalQuery()