Ari Lazier
d9abcf0bc2
Merge pull request #199 from realm/sk-listview
...
Efficient React ListView for Realm collections
2016-02-17 13:13:33 -08:00
Nabil Hachicha
7d7cd87fb3
using RN 0.19.+ as a Gradle dep
2016-02-17 20:21:48 +00:00
Ari Lazier
5e9c0c12d2
properly load sqlite module
2016-02-17 11:55:27 -08:00
Thomas Goyne
87655793b7
Merge pull request #40 from realm/tg/list
...
Wrap more of LinkView in List
2016-02-16 17:35:58 -08:00
Ari Lazier
66ac82bb34
reduce query results size
2016-02-16 13:15:50 -08:00
Ari Lazier
a77a72ee49
remove of
2016-02-16 12:50:01 -08:00
Ari Lazier
b1fd7abe74
more keyword tests
2016-02-16 12:19:26 -08:00
Ari Lazier
c57eb99eb2
test query with not as a property name
2016-02-16 12:10:50 -08:00
Ari Lazier
48510805d7
test contains can be used as a property name in the parser
2016-02-16 11:56:29 -08:00
Thomas Goyne
7c350031d6
Merge pull request #37 from realm/tg/index-set-tests
...
Add IndexSet tests
2016-02-16 10:07:11 -08:00
Thomas Goyne
f5ae1bdf80
Merge pull request #39 from realm/tg/validate-schema-changes
...
Handle allowed schema changes in the transaction log observer
2016-02-16 10:07:01 -08:00
Ari Lazier
84272c467e
newer react native and dont repeat by default
2016-02-16 07:25:16 -08:00
Scott Kyle
c01c0faa7b
Update test script to actually test ReactExample
2016-02-16 00:37:10 -08:00
Ari Lazier
6fefef725a
change number of query results, do fewer insersions because they are slow
2016-02-15 21:52:02 -08:00
Scott Kyle
137e4d6288
Increase React test timeout interval for CI
2016-02-15 19:23:59 -08:00
Ari Lazier
8b41b0a6d0
cast rns date to int for storage
2016-02-15 17:52:40 -08:00
Ari Lazier
f34958ebae
use batch count for enumeration
2016-02-15 17:43:43 -08:00
Ari Lazier
2e2e7717b9
add checks for object counts, only clear objects when needed
2016-02-15 17:42:05 -08:00
Scott Kyle
3c653caa23
Merge pull request #228 from realm/sk-docs
...
API documentation
2016-02-15 17:08:18 -08:00
Scott Kyle
5f9f00e038
Make ListViewDataSource test go quicker
2016-02-15 16:56:39 -08:00
Ari Lazier
9de2fa8726
don't return the wrong thing
2016-02-15 16:52:10 -08:00
Ari Lazier
c4fc31fea3
assert the proper number of objects are processed in each test
2016-02-15 16:49:53 -08:00
Ari Lazier
a99bf349a7
use test objects and 'of' for realm tests
2016-02-15 16:14:09 -08:00
Scott Kyle
c64524f985
Test that example app loads properly
...
Re-using the existing React testing class to hook into the example app. Right now, the test is extremely basic but is able to be expanded later.
Resolves #36
2016-02-15 15:47:07 -08:00
Scott Kyle
2bdb6bfa28
Convert Example app to use ES6 import syntax
2016-02-15 15:40:55 -08:00
Ari Lazier
36c1ae1f8e
remove autogenerated garbage
2016-02-15 15:33:41 -08:00
Ari Lazier
5f49837841
remove autogenerated stuff
2016-02-15 15:31:24 -08:00
Scott Kyle
0188517e74
Add test for ListViewDataSource to React Test App
2016-02-15 14:56:44 -08:00
Scott Kyle
1f030a0618
Make several improvements to how tests run under RN
...
These changes include timeouts when waiting on notifications.
2016-02-15 14:50:16 -08:00
Scott Kyle
23a7c5b88d
Don't build JS bundles for the simulator
2016-02-15 14:50:16 -08:00
Scott Kyle
3e1889d342
Merge branch 'master' into sk-listview-merge
...
* master: (207 commits)
Convert to using new React Native MainActivity template
Create RealmReactPackage for our Android plugin
Fix doc for Android
NPM ignore react-native/android folder
Skip building Android module under Xcode
Skip building Android module for iOS tests
gitignore Android downloads folder
Update README with instructions to run on Android
Use un-patched RN for Android by installing hook into JSC
cleanup build system
Use Realm in node_modules for ReactTests on Android
Change Demo => ReactTests
adding a 'publishAndroid' task to generate the AAR with prebuilt .so files
Adjust POM_NAME
Use consistent package naming
Remove old Demo files
Add copyright to JNI file
Cleanup platform.hpp
Make our Android module buildable as a dependency
Add `npm test` command
...
2016-02-15 14:49:31 -08:00
Ari Lazier
e0a6bc0ab1
use separate transaction per insertion for sql
2016-02-15 14:12:26 -08:00
Ari Lazier
1614d02df0
share code
2016-02-15 13:52:38 -08:00
Ari Lazier
01f92ed72f
start of benchmarks
...
fixes
enumeration test and test setup
add async store api tests
Log benchmark test errors and some other minor edits
Only delete .realm* files for tests
sql lite tests
run all the tests
worthless
Make SQLite benchmarks work
Make Realm insertion benchmark work like SQLite
run each test in release multiple times
Open each database once per benchmark test
Use same AppDelegate for benchmarks as the example
This will load the non-dev JS from the packager.
Make the benchmarks actually match their labels
Delete benchmark databases during setup phase
Some minor code style updates to benchmarks
query tests
make query test mostly work
bug fix and improved logging
remove double insertions
improved logging and bugfix
better logging
batch insersions
more reasonable counts
android
2016-02-15 13:02:25 -08:00
Karson Miller
c3450248b9
wording
2016-02-15 10:03:17 -08:00
Karson Miller
57ff1e4e47
add terminology fixes
2016-02-15 10:02:57 -08:00
Karson Miller
6a95265529
First Draft of public readme
2016-02-15 09:21:55 -08:00
Thomas Goyne
a99cbb7b84
Merge pull request #41 from realm/tg/index_of
...
Remove the Query version of Results::index_of()
2016-02-12 17:37:24 -08:00
Scott Kyle
a2dca06fe1
Add simple test for generating API docs
2016-02-12 16:57:13 -08:00
Scott Kyle
ea2c119f4d
Remove some API doc qualifiers
2016-02-12 16:57:13 -08:00
Scott Kyle
b63dfd1c04
API documentation
...
This includes the initial draft of API docs that are generated by JSDoc using a template that was greatly improved to best handle this content.
2016-02-12 16:57:13 -08:00
Scott Kyle
41e0bf0fe4
Merge pull request #238 from realm/sk-android-package
...
Create RealmReactPackage for our Android plugin
2016-02-12 11:12:50 -08:00
Scott Kyle
e594087644
Convert to using new React Native MainActivity template
...
Adjusted the README to reflect the modern way of doing things.
2016-02-12 11:00:46 -08:00
Scott Kyle
74c780c3dc
Merge pull request #237 from realm/nh/fix_doc
...
Fix doc for Android
2016-02-12 09:49:55 -08:00
Scott Kyle
6e4b2440ba
Create RealmReactPackage for our Android plugin
...
Also renamed RealmReactAndroid to RealmReactModule to match the convention used by everyone else.
2016-02-12 09:49:11 -08:00
Nabil Hachicha
96e5e3f9fc
Fix doc for Android
2016-02-12 14:28:34 +00:00
Scott Kyle
aa22e59239
Merge pull request #205 from realm/al-android-example
...
Support for android
2016-02-11 17:21:04 -08:00
Scott Kyle
631efb72d7
NPM ignore react-native/android folder
2016-02-11 16:55:36 -08:00
Scott Kyle
5f7000d892
Skip building Android module under Xcode
2016-02-11 16:44:22 -08:00
Scott Kyle
69f0241adb
Skip building Android module for iOS tests
2016-02-11 13:24:21 -08:00