-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable all tests after bad rebase (#5595)
* Importing all tests * Temporarily skipping "open-behavior" as they crash * Updating error messages to match the new SDK * Throw when setting length of Results * Correct error when assigning to OrderedCollection * Updated tests to use new error codes See https://github.com/realm/realm-core/blob/13ce20f6b94d8e0686882378f7e3a35d322a4600/src/realm/error_codes.h#L180 * Adding a missing Realm import * Re-arming the Realm.open tests * Cancel unresolved tasks when clearing test state The bindgen SDK's variant of #5436 Removed ProgressRealmPromise.cancelUnresolvedTasks Reference task only if it isn't resat * Clear test state after compensating writes test * Moved clearTestState up * nit * Using isValid to assert object deletion * Adding a fast-track for common types * Convert typed arrays to arraybuffer * Fixing nested lists test * Fixing api-key client test * Fixed timeout test * Fixing test to avoid mutating object schema when normalizing * Fixed flexible sync clearTestState * Fixed ProgressRealmPromise TSR race * Fixed invalid sync config tests * Made PromiseHandle directly awaitable and tested * Renamed "RealmListeners#callback" to "notify" * Spreading RealmListeners#listeners when notifying This avoids firing listeners that gets added from other listeners * Fixed linkingObjects assert * Fixed "Bad changeset (UPLOAD)" by passing partition * Asserting a valid object after thrown from defaultGet and defaultSet * Updated type asserts on OrderedCollection#sorted * Updated expected message from prohibited upgrades * Adding ORG_GRADLE_PROJECT_* to test:android * Fix bigIntToI64 and bigIntToU64 on JSC * Throw from _objectForObjectKey if objectKey is not numeric * Transform colKey to string before storing and looking it up * Made stackTrace test less platform dependent * Update integration-tests/tests/src/tests.ts Co-authored-by: LJ <[email protected]> * Update integration-tests/tests/src/tests/sync/sync-session.ts Co-authored-by: LJ <[email protected]> * Apply suggestions from code review Co-authored-by: LJ <[email protected]> --------- Co-authored-by: LJ <[email protected]>
- Loading branch information
1 parent
45dd275
commit 7600aea
Showing
30 changed files
with
330 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.