Skip to content

Commit 69eac52

Browse files
committed
rebase
1 parent 6caf02f commit 69eac52

File tree

2 files changed

+3
-374
lines changed

2 files changed

+3
-374
lines changed

firebase-firestore/src/androidTest/java/com/google/firebase/firestore/AutoIndexingExperiment.java

Lines changed: 0 additions & 371 deletions
This file was deleted.

firebase-firestore/src/test/java/com/google/firebase/firestore/local/AutoIndexingExperiment.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public ImmutableSortedMap<DocumentKey, Document> getDocumentsMatchingQuery(
8989
return super.getDocumentsMatchingQuery(query, offset);
9090
}
9191
};
92-
queryEngine.initialize(localDocuments, indexManager, false);
92+
queryEngine.initialize(localDocuments, indexManager);
9393
}
9494

9595
/** Adds the provided documents to the remote document cache. */
@@ -232,7 +232,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
232232
TimeUnit.MILLISECONDS.convert(
233233
(beforeAutoEnd - beforeAutoStart), TimeUnit.NANOSECONDS);
234234
totalBeforeIndex += (beforeAutoEnd - beforeAutoStart);
235-
totalDocumentCount += counterWithoutIndex.fullScanCount;
235+
totalDocumentCount += counterWithoutIndex.getDocumentCount();
236236
assertEquals(portion * totalSetCount, results.size());
237237

238238
QueryContext counterWithIndex = new QueryContext();
@@ -254,7 +254,7 @@ public void testCombinesIndexedWithNonIndexedResults() throws Exception {
254254
+ numOfFields
255255
+ " fields.\n"
256256
+ "Weight result for without auto indexing is "
257-
+ without * counterWithoutIndex.fullScanCount
257+
+ without * counterWithoutIndex.getDocumentCount()
258258
+ ". And weight result for auto indexing is "
259259
+ with * results.size());
260260
}

0 commit comments

Comments
 (0)