Kenneth Geisshirt
feb59ae859
Partial sync ( #1361 )
2017-10-02 20:29:36 +02:00
Kenneth Geisshirt
fe121ea27b
Client reset ( #1341 )
2017-10-02 19:44:24 +02:00
blagoev
fe09dc0d5f
disable failing permission test
2017-10-02 11:33:56 +03:00
blagoev
0b439d6c79
fix IncompatibleRealmSynced tests
2017-09-30 16:43:40 +03:00
blagoev
6d9f85759e
Fix IncompatibleSyncedRealm support
2017-09-29 21:43:04 +03:00
blagoev
8e984feedb
Merge branch '2.0.x' into kneth/v1_v2-upgrade
2017-09-29 12:42:27 +03:00
Kenneth Geisshirt
c370de6d5d
Linker issue.
2017-09-27 22:31:27 +02:00
Kenneth Geisshirt
f4248f5d30
wip
2017-09-27 15:59:21 +02:00
Kenneth Geisshirt
39fe8c6280
Creating a proper IncompatibleSyncedRealmError class.
2017-09-23 00:05:33 +02:00
Kenneth Geisshirt
4b2acf3b79
Updating documentation and test.
2017-09-22 13:50:17 +02:00
Kenneth Geisshirt
d9e50fc41d
better name for test
2017-09-20 14:53:28 +02:00
Kenneth Geisshirt
bdd9bf95f4
use local Realm
2017-09-20 09:26:30 +02:00
Kenneth Geisshirt
abe0781565
Encode exception type and path in string
2017-09-19 14:16:15 +02:00
Kenneth Geisshirt
c3b81c768d
wip
2017-09-19 11:31:58 +02:00
Kenneth Geisshirt
8606d37141
Fixes to issues reported by eslint ( #1313 )
2017-09-14 10:35:02 +02:00
blagoev
064b487c07
Merge branch 'master' into blagoev/promise3
2017-09-13 14:27:04 +03:00
blagoev
f7db865458
Fix typescript definitions
...
Fixes #1306
2017-09-13 12:37:44 +03:00
blagoev
1f5b98bb53
Use promisified methods for login and register to have backward compatibility testing as well
2017-09-12 23:08:54 +03:00
Maximilian Alexander
78515e3b48
adding promisified apis
2017-09-12 20:10:52 +03:00
blagoev
f2ea9e849b
readability
2017-09-11 15:50:44 +03:00
blagoev
e1cebe073a
add progress notifications api
2017-09-11 15:50:44 +03:00
Kenneth Geisshirt
1dd85b591a
Merge pull request #1190 from ejoy-jsc/master
...
correct testProgressNotificationsForRealmOpen
2017-08-16 14:56:14 +02:00
Kræn Hansen
e4e1431c55
Running js tests in Electron renderer process ( #1196 )
...
* First take on running the tests inside an Electron render process
* Making progress
* Making it possible to override the location of the admin token
* Ignoreing the realm-object-server files
* Fixing a console.log to return a string instead of a boolean
But it should probably be removed entirely
* Making the downloaded ROS log less
* Adjusting comments in the test.sh
* Checking number of windows to determine an Electron crash
* Added a test that triggers garbage collection of ArrayBuffers
* Enabled the ability to run the tests in Electrons main process
* Run tests first in main process and the render
* Added a README.md that documents how Electron tests can be run
* Added a comment on why the garbage-collection test was added.
* Waiting with reading the admin token, until it is actually used
* Disabling the GarbageCollectionTests for now
2017-08-11 10:30:57 +02:00
toanz
7d903cc96e
correct testProgressNotificationsForRealmOpen
...
ProgressNotifications is not working , this test is incorrect
2017-08-07 10:28:01 +07:00
Yavor Georgiev
ab29ac4490
Fix linter issues ( #1132 )
2017-07-10 16:53:00 +02:00
blagoev
30ad678dfa
rename test variable to reflect parameter meaning
2017-06-29 14:28:08 +03:00
blagoev
f54487c6cc
Rename the progress function to better reflect purpose
...
refactored registration code to remove the unneccesary lambda
2017-06-28 15:02:28 +03:00
blagoev
55542a492e
refactor code that runs helper out of process
...
as per review comments
2017-06-28 13:40:35 +03:00
blagoev
97f25cc1ab
Add progress notifications
...
Support download progress notifications for Realm open and openAsync methods
2017-06-28 13:40:35 +03:00
Yavor Georgiev
28fe678a1b
Use an uncached realm instance for _waitForDownload ( #1083 )
...
Fixes #1061
2017-06-19 13:58:19 +02:00
blagoev
aab7171643
add test for working with local realms with async open api
2017-05-19 09:18:48 +03:00
blagoev
ea7b10191a
Add test for async open api with no schema usage
2017-05-19 08:59:03 +03:00
blagoev
cb72fe1977
addressed pr review comments
2017-05-17 16:09:48 +03:00
blagoev
a0f963775b
Fix download api for RN
...
fix tests when run in RN
2017-05-17 16:09:19 +03:00
blagoev
4aecf90176
enable all session-tests and Realm.openAsync
2017-05-17 16:08:24 +03:00
blagoev
315b8c1a7a
Fix download api to wait correctly using schema less realm
...
Added tests using two processes (nodes only)
2017-05-17 16:08:01 +03:00
blagoev
216484aede
Initial download api support
2017-05-17 16:07:08 +03:00
blagoev
db8eb39b86
add semicolon
2017-04-20 18:23:30 +03:00
blagoev
c959cc799c
possible fix to session tests timeout
2017-04-20 18:23:30 +03:00
Yavor Georgiev
9a8dc1327f
remove assertion
2017-04-20 18:23:30 +03:00
Yavor Georgiev
95da4d81c3
refactor session tests
2017-04-20 18:23:30 +03:00
Adam Lebsack
5ce8afa559
Merge pull request #938 from realm/ajl-fix-tests
...
Bump up test timeout
2017-03-24 13:36:16 +01:00
Adam Lebsack
a5c0456a22
Bump up test timeout
2017-03-24 13:12:00 +01:00
Kristian Dupont
045b963d6f
Change fragile test to wait for signal rather than for a period of time ( #936 )
...
* Change test to wait for signal rather than for 4 seconds
* Tiny refactoring
2017-03-24 12:49:28 +01:00
Yavor Georgiev
b93cfaf909
Temporary disable realmjs target on CI ( #895 )
...
* Temporary disable realmjs target on CI
It's broken because it doesn't support the node-fetch module. Let's disable it for now.
* Temporarily disable Android tests
They need an Object Server to talk to on CI
* Disable test assertion
2017-03-07 17:41:19 +01:00
Radu Tutueanu
833baa2118
Increase timeouts to avoid spurious failures
2017-02-09 12:11:31 +01:00
Radu Tutueanu
be584856eb
Increase timeout to 3s
2017-02-08 16:35:36 +01:00
Radu Tutueanu
f19fd3e5dd
Increase bind timeout
2017-02-08 13:52:26 +01:00
Yavor Georgiev
7c1dab7079
Propagate token refresh errors to the session error handler ( #843 )
...
* Get a session’s error handler
* Change the signature of all methods to add the callee
* Deserialize rpc callbacks
* Expose the session error handle on its config property
* When a token refresh error occurs and there is a session error handler
propagate the error to the handler
2017-02-07 11:01:26 +01:00
Yavor Georgiev
b2da398559
Fix token refresh and session bugs in chrome debugging ( #831 )
2017-02-01 23:44:56 +01:00