Mila
3cc143b8e7
Move MIEQ to composite index tests ( #12416 )
2024-03-29 10:19:39 -04:00
Mila
8d66bdcfed
Add MIEQ negative test cases ( #11934 )
2023-10-23 12:08:06 -04:00
Mila
33cf8158c7
Testing composite index queries against production ( #11865 )
2023-10-20 10:15:30 -04:00
Mark Duckworth
54d4d703b6
sum avg ( #11650 )
2023-10-16 21:10:30 -06:00
Ehsan
84c8bd0e0e
Clean up and update OR query tests. ( #11826 )
2023-10-02 10:29:18 -07:00
Mila
f3c7db7845
Multiple inequality support ( #11626 )
2023-09-13 17:10:35 -04:00
Mila
a08f405428
Add test cases for existence filter with updated, removed, added documents ( #11782 )
2023-09-08 11:40:30 -04:00
Denver Coneybeare
0e3f78bf35
Firestore: FIRQueryTests.mm: Add test testBloomFilterShouldCorrectlyEncodeComplexUnicodeCharacters ( #11679 )
2023-09-07 16:05:50 -04:00
Denver Coneybeare
7a59c55eba
Firestore: FIRQueryTests.mm: Replace SortedStringsNotIn() custom function ( #11649 )
2023-08-15 10:44:14 -04:00
Denver Coneybeare
a4ee260014
Firestore: Convert testing_hooks_util.h/cc from C++ to Objective-C in FSTTestingHooks.h/mm ( #11639 )
2023-08-03 17:00:59 -04:00
Denver Coneybeare
78b2feaeb7
Firestore: FIRQueryTests.mm: Use a different Firestore instance to delete documents ( #11615 )
2023-08-01 12:30:04 -04:00
Denver Coneybeare
013d86980f
Firestore: Disable bloom filter integration tests when using Firestore emulator ( #11555 )
2023-07-18 09:50:32 -04:00
Mila
3f5972f920
Firestore: Optimize local cache sync when resuming a query that had docs deleted ( #11457 )
2023-06-20 12:10:39 -04:00
Denver Coneybeare
a00925f7eb
FIRQueryTests.mm: improve the test that resumes a query with existence filter to actually validate the existence filter ( #11209 )
2023-05-05 14:58:26 -04:00
Denver Coneybeare
0c58855437
Firestore: FIRQueryTests.mm: add a test that resumes a query with existence filter ( #10974 )
2023-05-02 11:32:33 -04:00
cherylEnkidu
b2383a9d3c
Reorganize OR query test ( #10902 )
...
* Reorganize OR query test
* Address comments
* Change message
2023-03-14 22:48:51 -04:00
cherylEnkidu and Ehsan Nasiri
c0e6ac1cf2
Add Public API for Or Query ( #10352 )
...
* Add Public API for Or Query
* Add Or query swift tests
* Add Swift tests for IN
* Adding back FIRFirestore+Internal as include file
* Add Documentation
* Address feedback
* Update the changelog.
---------
Co-authored-by: Ehsan Nasiri <ehsann@google.com >
2023-03-06 09:43:06 -08:00
cherylEnkidu
6d9f33435a
Remove some query restrictions and add integration tests ( #10449 )
...
* Adding test
* Remove more restrictions
2023-02-17 11:18:34 -05:00
Denver Coneybeare
92e269c34e
Fix Firestore failing to return empty results from the local cache ( #10437 )
2022-11-08 20:50:01 -05:00
cherylEnkidu
6d24463357
Update Limit and OrderBy filtering mechanism for Or Query ( #10307 )
...
* Update Limit and OrderBy filtering mechanism for Or Query
* Remove TODO
2022-10-13 10:47:51 -04:00
wu-hui
939f1318ca
Fix a bug with limitToLast and cursors ( #9675 )
2022-04-20 13:07:26 -04:00
Konstantin Varlamov
ac04fb69df
Fix a duplicate key in test data ( #7327 )
...
This triggers the -Wobjc-dictionary-duplicate-keys warning, causing the compilation to fail when -Werror is used. Introduced in #6871 .
#no-changelog
2021-01-19 17:24:28 -05:00
Brian Chen
1c1ca000c6
Allow null/NAN values in filters ( #6871 )
2020-11-02 12:52:30 -06:00
Brian Chen
21921e9851
Add != and notIn support ( #6418 )
2020-09-15 16:12:44 -05:00
Gil
74f4ceb4c9
Fix unused variable warnings ( #5389 )
...
* Fix unused variable warnings
These are now exposed because libprotobuf is no longer polluting the
compiler command-line with -Wno-unused-parameter.
* Convert (void)var to __unused where possible
2020-04-20 14:23:36 -07:00
wu-hui
14e28121e2
Release LimitToLast ( #4616 )
...
* [1/4] Split Query and Target, and make LocalStore/RemoteStore work with Target. (#4413 )
* [2/4]LimitToLast: Make SyncEngine work with Target (#4491 )
* [3/4] Implement LimitToLast (#4505 )
2020-01-08 09:04:28 -08:00
wu-hui
2a8d069b77
Run integration tests from CMake on mac ( #4276 )
2019-11-19 13:40:43 -05:00
Brian Chen
0170957544
Allow querying for arrays in IN queries ( #4285 )
2019-11-12 13:07:58 -08:00
Brian Chen
251a70f26a
Make IN queries publicly available ( #4174 )
2019-10-29 14:13:02 -07:00
Brian Chen
86b09fa469
Add IN and ARRAY_CONTAINS_ANY (not publicly exposed) ( #3492 )
2019-08-05 11:47:06 -07:00
Gil
ec3557601b
Fix FIRDocumentChange returning incorrect values for not found ( #3361 )
...
Fixes #3298 .
2019-07-15 18:00:18 -07:00
Gil
c866936c7d
Upgrade the emulator we use for integration testing to 1.4.6 ( #3038 )
...
* Bump to cloud-firestore-emulator 1.4.6
* Re-enable transform-related integration tests against the emulator
* Re-enable collection-group query integration tests
* Re-enable most transaction-related tests
2019-05-20 21:42:58 -07:00
Gil
547ed27027
Add support for running Firestore integration tests against the emulator ( #2922 )
2019-05-03 07:55:57 -07:00
Michael Lehenbauer
754d5c07d4
Expose Collection Group queries. ( #2786 )
2019-04-09 20:50:58 -07:00
Michael Lehenbauer
bd0b8e9449
Collection Group Query Internals ( #2378 )
...
Includes the new index and all internals for collection group queries, but the public API will not be exposed until backend support is ready.
2019-03-08 13:37:00 -08:00
Paul Beusterien
7c53489e03
Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) ( #2222 )
...
* Travis to Xcode 10.1
* Update to clang-format 8
* Update clang-format homebrew link
* Work around space in filename style.sh issue
2019-01-02 09:27:31 -08:00
zxu
b86911573f
Clean up test. The issue has already been fixed and we are now running integration test with actual server instead of hexa. ( #2007 )
2018-10-25 17:10:44 -04:00
Michael Lehenbauer
b88f95c44f
Reformat using 'clang-format version 7.0.0 (tags/google/stable/2018-04-24)' ( #1681 )
...
This is the version of clang-format that travis is currently using.
2018-08-13 14:18:02 -07:00
Michael Lehenbauer
25f8691970
Expose array transforms and array contains queries. ( #1514 )
...
Also remove test code that was combining multiple array contains
queries since those were disallowed in
https://github.com/firebase/firebase-ios-sdk/commit/0ec836f9ca71b27fa54a11ae9e07e60b8c5cc002
2018-07-10 16:58:56 -07:00
Michael Lehenbauer
e4384c3e80
Array Contains Queries (not added to public headers yet). ( #1138 )
2018-04-23 10:03:55 -07:00
Gil
4de2d80e43
Replace QueryListenOptions with simple booleans ( #1106 )
...
* Replace `QueryListenOptions` with simple booleans
Instead of calling
addSnapshotListener(
options:QueryListenOptions.includeQueryMetadataChanges()
.includeDocumentMetadataChanges())
call
addSnapshotListener(includeMetadataChanges:true)
Also change `QuerySnapshot.documentChanges()` into a method which
optionally takes `includeMetadataChanges:true`. By default even when
listening to a query with `inlcudeMetadataChanges:true` metadata-only
document changes are suppressed because they're confusing.
* Revert QuerySnapshot.documentChanges back to a property
Add usage.
2018-04-15 16:56:43 -07:00
Gil
729b8d176c
Move all Firestore Objective-C to Objective-C++ ( #734 )
...
* Move all Firestore files to Objective-C++
* Update project file references
* Don't use module imports from Objective-C++
* Use extern "C" for C-accessible globals
* Work around more stringent type checking in Objective-C++
* NSMutableDictionary ivars aren't implicitly casted to NSDictionary
* FSTMaybeDocument callback can't be passed a function that accepts
FSTDocument
* NSComparisonResult can't be multiplied by -1 without casting
* Add a #include <inttypes.h> where needed
* Avoid using C++ keywords as variables
* Remove #if __cplusplus guards
2018-01-31 11:23:55 -08:00