Searched refs:documents (Results 1 – 7 of 7) sorted by relevance
193 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testHasEnterpriseAccess() local194 assertThat(documents).isNotEmpty(); in testHasEnterpriseAccess()210 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testDoesNotHaveEnterpriseAccess() local211 assertThat(documents).isEmpty(); in testDoesNotHaveEnterpriseAccess()303 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testSearchEnterpriseContacts() local304 assertThat(documents).hasSize(3); in testSearchEnterpriseContacts()305 for (GenericDocument document : documents) { in testSearchEnterpriseContacts()323 documents = convertSearchResultsToDocuments(searchResults); in testSearchEnterpriseContacts()324 assertThat(documents).isEmpty(); in testSearchEnterpriseContacts()341 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testSearchEnterpriseContacts_withProjection() local[all …]
2442 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testQuery() local2443 assertThat(documents).hasSize(1); in testQuery()2444 assertThat(documents.get(0)).isEqualTo(inEmail); in testQuery()2453 documents = convertSearchResultsToDocuments(searchResults); in testQuery()2454 assertThat(documents).hasSize(1); in testQuery()2455 assertThat(documents.get(0)).isEqualTo(inEmail); in testQuery()2488 List<GenericDocument> documents = new ArrayList<>(); in testQuery_getNextPage() local2498 documents.add(result.getGenericDocument()); in testQuery_getNextPage()2503 assertThat(documents).containsExactlyElementsIn(emailSet); in testQuery_getNextPage()2555 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testQueryIndexableLongProperty_numericSearchEnabledSucceeds() local[all …]
335 List<GenericDocument> documents = new ArrayList<>(); in testGlobalQuery_getNextPage() local345 documents.add(result.getGenericDocument()); in testGlobalQuery_getNextPage()350 assertAddedBetweenSnapshots(beforeBodyDocuments, documents, emailList); in testGlobalQuery_getNextPage()352 int totalDocuments = beforeBodyDocuments.size() + documents.size(); in testGlobalQuery_getNextPage()605 List<GenericDocument> documents = in testGlobalQuery_projectionTwoInstances() local629 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionTwoInstances()668 List<GenericDocument> documents = in testGlobalQuery_projectionEmptyTwoInstances() local685 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionEmptyTwoInstances()724 List<GenericDocument> documents = in testGlobalQuery_projectionNonExistentTypeTwoInstances() local749 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionNonExistentTypeTwoInstances()[all …]
1077 GenericDocument[] documents = document.getPropertyDocumentArray("docKey1"); in testDocumentGetPropertyNamesMultiLevel() local1078 assertThat(documents).asList().containsExactly(innerDoc0, innerDoc1).inOrder(); in testDocumentGetPropertyNamesMultiLevel()1079 assertThat(documents[0].getPropertyNames()) in testDocumentGetPropertyNamesMultiLevel()1081 assertThat(documents[1].getPropertyNames()) in testDocumentGetPropertyNamesMultiLevel()
1570 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testSchemaMigration_loadTest() local1571 assertThat(documents).containsExactlyElementsIn(expectedDocs); in testSchemaMigration_loadTest()
100 List<GenericDocument> documents = new ArrayList<>(results.size()); in convertSearchResultsToDocuments() local102 documents.add(result.getGenericDocument()); in convertSearchResultsToDocuments()104 return documents; in convertSearchResultsToDocuments()
11782 … static final String EXTERNAL_STORAGE_PROVIDER_AUTHORITY = "com.android.externalstorage.documents";