Scott Kyle
1b21f21c35
Symlink ReactTestApp assets for Android
2016-05-13 15:24:48 -07:00
Ari Lazier
e7b341dfdb
merge latest from master
2016-05-13 15:05:19 -07:00
Ari Lazier
9c1b923797
fixes for test app
2016-05-13 13:05:39 -07:00
Scott Kyle
323583ed67
Merge pull request #417 from realm/sk-node-6
...
Fix issues in Node 6
2016-05-12 12:39:31 -07:00
Ari Lazier
194f238c1c
add missing realm file
2016-05-12 10:24:11 -07:00
Nabil Hachicha
895c6a3056
Copying embedded Realm files using AssetManager from JNI
2016-05-11 19:56:59 +01:00
Nabil Hachicha
57701db8f4
copy Realm file from assets into default storage folder
2016-05-11 03:30:37 +01:00
Scott Kyle
351543ca09
Rename callback based on PR feedback
2016-05-10 11:37:09 -07:00
Scott Kyle
4300e865c7
Abstracted check for Node v6
2016-05-10 11:34:33 -07:00
Ari Lazier
da5a1fb2d8
remove files from test project - they are only needed in the test bundle
2016-05-09 13:44:35 -07:00
Ari Lazier
21b58b6a1e
test that conversion actually works
2016-05-09 13:32:10 -07:00
Ari Lazier
9c7b01091f
convert old date columns
2016-05-09 13:12:48 -07:00
Scott Kyle
fef4be96bd
Update tests for changing defaults and constructors
2016-05-06 15:41:17 -07:00
Ari Lazier
28a7efcd1b
add test for current date
2016-05-05 17:36:48 -07:00
Scott Kyle
4a5ac413cc
Skip test in Node v6 due to v8 regression
2016-05-04 02:15:17 -07:00
Ari Lazier
d26924e2f9
allow setting of non-persisted properties
2016-05-03 13:05:48 -07:00
Scott Kyle
db1283255f
Make React reloads and testing more reliable
...
Changed where we wait on the previous JS thread, which ultimately makes it more reliable and no longer leak memory on reloads.
Resolves #397
2016-05-02 16:19:29 -07:00
Scott Kyle
933e6070c5
Update test and example apps to use React Native 0.24.1
...
This might make tests run more reliably on iOS due to some internal changes, mainly "Stop the runloop from invalidate instead of dealloc" (99c7de2).
2016-05-02 16:19:29 -07:00
Scott Kyle
32a8a2ed72
Make migration tests work in Chrome debug mode
...
All realm operations for the RPC are now done in their own thread so it can be allowed to block on waiting for callback results. The recursive and multi-threaded nature of this makes it pretty tricky, but it works!
2016-04-29 13:55:49 -07:00
Ari Lazier
2b6b0b97f4
Merge pull request #406 from realm/al-workspace
...
Add workspace and clean up xcproject layout
2016-04-29 13:53:26 -07:00
Ari Lazier
0c05259558
remove old umbrella header
2016-04-29 12:58:25 -07:00
Ari Lazier
2b35360117
add readOnly property
2016-04-28 15:50:43 -07:00
Ari Lazier
b9b3812c86
support for read-only realms
2016-04-28 15:42:28 -07:00
Ari Lazier
a2ed550dde
Merge pull request #383 from realm/al-migration
...
Basic data migrations
2016-04-28 15:40:27 -07:00
Ari Lazier
0fdb008477
test fixes/additions
2016-04-28 14:08:54 -07:00
Ari Lazier
2c85f032d9
compare non-existent properties to undefined
2016-04-28 13:21:30 -07:00
Ari Lazier
a9eaf93acb
test dynamic schema access
2016-04-28 13:03:42 -07:00
Ari Lazier
baac975413
test schema in migrations
2016-04-28 12:53:04 -07:00
Ari Lazier
ef11443e28
test objectTypes
2016-04-28 12:46:59 -07:00
Ari Lazier
79446f957a
test and bug fixes
2016-04-28 12:44:48 -07:00
Ari Lazier
cff099a4af
tests and bugfixes
2016-04-28 12:16:16 -07:00
Scott Kyle
4705b6b3a5
Add test for Results invalidation
...
This triggers a crash!
2016-04-28 09:39:06 -07:00
Ari Lazier
17e5946af4
support for data migrations
2016-04-27 08:30:59 -07:00
Ari Lazier
27d973151f
pr fixes
2016-04-26 16:59:03 -07:00
Ari Lazier
b59784670b
create RealmObject class and make isValid a member
2016-04-26 16:30:04 -07:00
Ari Lazier
78cb44b1a1
add test for isValid
2016-04-19 17:29:34 -07:00
Ari Lazier
3509caedd5
bugfix for empty results, fix for realm.isValid
2016-04-19 17:29:34 -07:00
Scott Kyle
ece554e58f
Exit with an error code for failures of node tests
2016-04-19 16:53:49 -07:00
Scott Kyle
a05f7e2261
Fix some eslint errors
2016-04-19 01:38:46 -07:00
Scott Kyle
4731610a58
Merge branch 'master' into sk-node
...
* master:
add keypath tests
pr feedback, changelog
typo
bug fix
tests
support keypath comparisons for types that support it
support for null queries
don't require optional or link properties when creating objects
[0.11.1] Bump version
Update CHANGELOG with 0.11.1 fixes
Update changelog script
Remove changes_available implementation that asserts
Get correct path to adb from Android Studio
add some simple tests for Realm.write
Update apps to use React Native 0.22
2016-04-18 14:19:06 -07:00
Scott Kyle
133289ad85
All tests now pass on Node
2016-04-15 16:06:44 -07:00
Ari Lazier
b542fe8c7b
tests
2016-04-11 16:01:51 -07:00
Ari Lazier
4ac022ecc9
don't require optional or link properties when creating objects
2016-04-01 11:00:53 -07:00
Scott Kyle
34ece60e69
Merge pull request #335 from realm/sk-react-native-22
...
Update to use React Native 0.22
2016-03-29 16:08:33 -07:00
Ari Lazier
9d0b890923
add some simple tests for Realm.write
2016-03-29 09:02:36 -07:00
Scott Kyle
c9c941aac9
Update apps to use React Native 0.22
...
React is now a peer dependency, which means we need to add it to our package.json for npm v3 to work properly.
2016-03-24 17:35:46 -07:00
Scott Kyle
02b81ac056
Convert RealmReact to be a static library
...
We needed to do this due to the way React Native modules work. Our hacky solution for using a framework ended up falling apart due to it relying on symbols not getting stripped from the main application.
This static library is in its own Xcode project because rnpm links in *all* static libraries from a given Xcode project.
2016-03-23 10:50:19 -07:00
Scott Kyle
88f6191a61
Fix disabling of RCTDevMenu for tests on iOS 9.3
...
After upgrading to Xcode 7.3, the test bundle is being loaded before the rest of the app. We need to ensure +[RCTDevMenu load] is called before we remove it from the set of native modules.
2016-03-22 09:54:06 -07:00
Scott Kyle
0e74362e4c
Merge pull request #340 from realm/sk-collection
...
Make List and Results inherit from Collection
2016-03-21 15:27:18 -07:00
Ari Lazier
f13cd0a245
Merge pull request #342 from realm/al-fix-throws
...
fix for test bug in test harness for queries that should throw
2016-03-21 14:04:22 -07:00