Commit 6509d81
Alex Ames
Added a new test suite for SyncPoints.
The new test suit is driven by the same master set of test cases that
drive SyncPoint tests on the iOS and Android implementation.
All tests are run twice, once at the root, and once again at a deeper
level, to ensure that the depth of the changes made does not matter.
Some tests currently fail. It's not clear if these are legitimate bugs
in the test suite, or if there are some bugs in the DB implementation.
For the time being, these tests are skipped using `GTEST_SKIP();` and
are annotated with whether they result in an assert being triggered or
just a failure due to unmet expectations.
Also included is a minor change to what is considered a valid priority
(null priorities are valid) and how QueryParams determine if they have a
start or end ranges (null values are allowed, if there is a start or end
key name supplied). I tried to keep bug fixes in separate commits, but
allowing null was necessary or almost none of the tests would pass.1 parent 886eca4 commit 6509d81
File tree
2 files changed
+888
-3
lines changed- database
- src/desktop
- tests/desktop/core
2 files changed
+888
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
990 | 990 | | |
991 | 991 | | |
992 | 992 | | |
993 | | - | |
| 993 | + | |
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
| 1025 | + | |
| 1026 | + | |
1026 | 1027 | | |
1027 | 1028 | | |
1028 | 1029 | | |
1029 | | - | |
| 1030 | + | |
| 1031 | + | |
1030 | 1032 | | |
1031 | 1033 | | |
1032 | 1034 | | |
| |||
0 commit comments