Adam Lebsack
9900d24181
Merge pull request #664 from realm/ajl/add-tests
...
Added tests directory to package.json
2016-11-28 13:44:44 +01:00
Adam Lebsack
88e840f315
Merge remote-tracking branch 'origin/master' into ajl/jenkinsfile
2016-11-25 11:33:48 +01:00
Adam Lebsack
5ac6d97833
Added support for React tests on android in docker (phew)
2016-11-24 16:58:16 +01:00
Ari Lazier
19e91c1f7b
don't include ios app in the package
2016-11-17 07:35:51 -08:00
Radu Tutueanu
8d5acd7da5
Fix docs and test according to new api
2016-11-16 13:36:41 +01:00
Ari Lazier
fabaf5e819
Merge pull request #653 from realm/nh/update_android
...
Nh/update android
2016-11-15 10:06:20 -08:00
Søren Vind
06d277aacd
Bumped version of ESLint, added eslinting of specs, make all linting pass
2016-11-14 10:48:50 -08:00
Marius Rackwitz
b01349087c
Add a test which synchronizes a change between two clients
2016-11-14 17:36:47 +01:00
Nabil Hachicha
a53e802df3
Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests
2016-11-14 13:26:54 +00:00
Nabil Hachicha
fdf88c2f78
Adding a build type to switch between Core & Core+Sync
2016-11-14 13:26:33 +00:00
Ari Lazier
eef8a2de3b
property clean up sync state between tests in c++
2016-11-12 05:26:37 -08:00
Ari Lazier
695d6f9efb
suppress garbage debug info
2016-11-11 21:20:04 -08:00
Ari Lazier
baa8321453
fix test
2016-11-11 19:33:21 -08:00
Søren Vind
14e75f12bc
Documentation for .all and .current
2016-11-11 14:54:12 -08:00
Ari Lazier
bb7e98cbbe
use latest rn version
2016-11-11 12:01:31 -08:00
Ari Lazier
d229cd6130
throw exception when trying to open a realm with an invalid user
2016-11-11 00:14:52 -08:00
Ari Lazier
08ffc3bf15
ccache support
2016-11-10 23:55:26 -08:00
Ari Lazier
81402f890b
use yarn and fix for test app package.json
2016-11-10 23:11:31 -08:00
Søren Vind
88aae65721
Test logout, slightly better test scaffolding (so now we run tests to completion on the outer level of callbacks).
2016-11-10 18:06:27 -08:00
Ari Lazier
30679c2470
remove unneeded script phases
2016-11-10 15:54:24 -08:00
Ari Lazier
6d485866f6
all users should return a dictionary
2016-11-10 13:55:22 -08:00
Søren Vind
87b30fb4ec
Add tests of Realm.Sync.User.all and Realm.Sync.User.current. Fix both to only return active (logged-in) users. Fix current return values: Throws if >1 user logged in, returns undefined if no logged in.
2016-11-10 12:54:15 -08:00
Søren Vind
448f68a787
Reformat code, 2 spaces
2016-11-10 12:54:15 -08:00
Ari Lazier
fb47fb10cc
remove sync test code from test app
2016-11-10 11:51:37 -08:00
Søren Vind
164ea8ec79
Port over remaining tests for Realm.Sync.User
2016-11-10 10:35:36 -08:00
Søren Vind
f8eba17c48
Make it possible to run test suite with and without sync
2016-11-09 12:50:19 -08:00
Søren Vind
d5cd3d7266
Download and start ROS before running tests + Run all tests + Run using node4.4.7
2016-11-08 16:47:20 -08:00
Ari Lazier
8ce8f52105
add test for login
2016-11-08 14:07:04 -08:00
Ari Lazier
b2e71a5fb6
test fixes
2016-11-08 09:21:27 -08:00
Ari Lazier
fde1c5d00d
start implementing sync tests
2016-11-08 08:59:30 -08:00
Ari Lazier
5a49dbc325
make sync work with RealmJS tests
2016-10-27 13:49:41 -07:00
Ari Lazier
92adb669d5
hook up new object store apis
2016-10-26 17:00:46 -07:00
Yavor Georgiev
a66198fe46
make tests require the symlinked realm module
2016-10-13 16:09:14 +02:00
Ari Lazier
857369f5a4
download core and sync and get the test app running on sync
2016-10-04 17:27:09 -07:00
Ari Lazier
9d0df0de3d
Sync and fine grained notifications
2016-10-04 15:07:14 -07:00
Ari Lazier
1ea107258f
don't run npm install multiple times
2016-08-19 10:07:15 -07:00
Yavor Georgiev
fb7911e3fa
add support for the jest runner’s node environment
2016-08-10 15:50:37 +02:00
Yavor Georgiev
1a98077794
Add tests to ensure realm-js is usable inside mocha and ava tests
2016-08-10 15:47:55 +02:00
Ari Lazier
af0ddcdd3d
Merge pull request #533 from realm/mr/deprecate-type
...
Remove usage of Realm.Types in the spec and deprecate it
2016-08-08 12:27:11 -07:00
Ari Lazier
9c8a1ed8ae
fixes for RN 0.31.0
2016-08-07 09:33:36 -07:00
Marius Rackwitz
9d25435105
[Tests] Stop using Realm.Types
2016-08-04 10:10:28 -07:00
Ari Lazier
3b75de4554
test app and compile fixes for RN android 0.29.0+
2016-07-31 14:25:13 -07:00
Ari Lazier
d2f733f168
support latest react-native version
2016-07-31 14:23:12 -07:00
Scott Kyle
e8ea8e493e
Fix for linker error when building for iOS 7
...
By default, React Native projects target a minimum of iOS 7, but our projects were set to iOS 8 because previously we used a dynamic framework.
When building for an iOS 7 minimum target version, the linker would complain about thread local variables not working on iOS 7. So it was necessary to add even more checks (iOS >= 8 or OS X >= 10.7) before using native thread local variables rather than our shim.
This also changes our projects to target iOS 7 so we can catch these issues quicker in the future.
2016-06-27 12:16:35 -07:00
Scott Kyle
030807e2b9
Fix for failed test stopping tests in ReactTestsApp
2016-06-14 16:57:50 -07:00
Scott Kyle
17e7153a59
Very basic multiprocess change notification test
2016-06-13 17:24:43 -07:00
Scott Kyle
b42f5ab285
Allow Node tests to be asynchronous
2016-06-13 17:24:43 -07:00
Scott Kyle
723b50f649
Allow React tests to be async
2016-06-13 17:24:43 -07:00
Scott Kyle
2384cc4036
Reset Realm.defaultPath in testDefaultPath
...
Or else the rest of the tests use the new default path!
2016-06-13 17:24:43 -07:00
Ari Lazier
c7e156a7b8
Merge pull request #488 from realm/al-typos
...
fixes for typos and added upsert test
2016-06-13 14:51:53 -07:00