Scott Kyle
7a54b0a256
Merge pull request #176 from realm/sk-rpc-list-fix
...
Fix RPC client error after deleting objects
2015-12-04 12:24:10 -08:00
Scott Kyle
be0c2a91ea
Fix RPC client error after deleting objects
...
Specifically for objects with lists, since the mutation listener would fire on a list that no longer is attached. If during the mutation listener that error is thrown, then the listener will be removed and the error will not be propagated.
2015-12-01 14:05:33 -08:00
Scott Kyle
1f64573b4e
Update to support React Native 0.15.0
...
Resolves #173
2015-11-30 18:08:51 -08:00
Ari Lazier
564181a887
clean up header search paths
2015-11-30 12:14:50 -08:00
Ari Lazier
5d1e9d4dd3
pr fixes
2015-11-30 11:47:32 -08:00
Ari Lazier
5f584f747f
use underscore rather than dash
2015-11-30 11:23:29 -08:00
Ari Lazier
70edb99e5e
update android test app
2015-11-30 11:23:29 -08:00
Ari Lazier
17b693877d
add android test app
2015-11-30 11:23:29 -08:00
Ari Lazier
eb44b27633
move everything/rename to make room for android
2015-11-30 11:23:29 -08:00
Ari Lazier
cdb254ca44
tests for keypath queries
2015-11-29 18:56:50 -08:00
Ari Lazier
fbb1f42c6e
don't merge predicate to negated and group
2015-11-25 18:32:13 -08:00
Ari Lazier
812930285e
compount parser tests
2015-11-24 10:39:42 -08:00
Ari Lazier
dc62cbe52a
fixes for packager and npm version for react tests
2015-11-23 19:07:50 -08:00
Ari Lazier
9ea8ab25c5
pr feedback
2015-11-23 08:47:09 -08:00
Ari Lazier
ae5e4d82b8
fixes for remaining warnings
2015-11-20 19:50:58 -08:00
Ari Lazier
df7474feb3
run parser tests in RealmJSTests
2015-11-20 15:16:35 -08:00
Ari Lazier
40f0e5f274
move queryTests to parser dir
2015-11-20 14:51:04 -08:00
Ari Lazier
494fbd3a06
object tests
2015-11-20 14:14:35 -08:00
Ari Lazier
22ca94e36e
test and bug fixes for data queries
2015-11-19 15:17:57 -08:00
Ari Lazier
3a9137fa08
put tests in JSON
2015-11-19 14:36:42 -08:00
Ari Lazier
aa3bad1a69
more string tests and bugfix
2015-11-19 13:05:37 -08:00
Ari Lazier
7be7d330ac
more string tests
2015-11-19 13:05:37 -08:00
Ari Lazier
be93d3dd58
first string tests and custom error messages
2015-11-19 13:05:37 -08:00
Ari Lazier
a64fab83ad
make test cases json
2015-11-19 13:05:37 -08:00
Ari Lazier
d7d328d2fe
finish numeric tests
2015-11-19 13:05:37 -08:00
Ari Lazier
b2f682b94b
more int tests
2015-11-19 13:05:37 -08:00
Ari Lazier
e449f10fcc
some int tests
2015-11-19 13:05:37 -08:00
Ari Lazier
20ac833e41
bool tests
2015-11-19 13:05:37 -08:00
Ari Lazier
b6970906e0
JSON test cases
2015-11-19 13:05:37 -08:00
Ari Lazier
5784bbe6ed
start porting over objc query tests
2015-11-19 13:05:37 -08:00
Ari Lazier
f402a45a40
change argument syntax to use $ instead of {}
2015-11-19 13:05:37 -08:00
Ari Lazier
f3d7855c99
test and fix for date queries
2015-11-19 13:05:37 -08:00
Ari Lazier
3a198ec507
support query format strings
2015-11-19 13:05:37 -08:00
Ari Lazier
3b698400b7
support for querying boolean properties
2015-11-19 13:05:37 -08:00
Ari Lazier
d8c89c7098
support for truepredicate/falsepredicate, single quote strings - all tests now pass
2015-11-19 13:05:37 -08:00
Scott Kyle
7b115a934b
ArrayBufferView objects now fully supported
...
Previously we were not accounting for the byte offsets and misunderstood how the Uint8Array constructor worked. The tests now confirm everything works as expected with multiple different typed arrays and slices of the data.
2015-11-17 13:32:32 -08:00
Scott Kyle
7f32ab0b88
Improve JS test assertion failure messages
...
Only the first line is shown in Xcode, so we just a dash to separate the custom message from the helpful one provided by the assertion instead.
2015-11-17 13:32:32 -08:00
Scott Kyle
3bf84a1b6f
Update data properties to return ArrayBuffers
...
As a convenience, the setters will take typed Arrays (e.g. Uint8Array) since that is a common representation of data in JS (as they are "views" of ArrayBuffer objects).
The tests have been updated to reflect this new behavior.
2015-11-17 13:32:31 -08:00
Ari Lazier
283826e687
support latest version
2015-11-13 10:13:33 -08:00
Ari Lazier
5b29f09e7a
don't require any GCDWebServers dependency when building Release
2015-11-11 15:37:03 -08:00
Scott Kyle
5320df9a5f
Merge pull request #116 from realm/sk-realmjs-api
...
Create API that returns constructor JSObjectRef
2015-11-03 16:39:08 -08:00
Scott Kyle
2f4bcee5ce
Update test to ensure unique listener callback behavior
2015-11-03 14:45:06 -08:00
Scott Kyle
aff11983f3
Create API that returns constructor JSObjectRef
...
Resolves #98
2015-11-02 22:51:33 -08:00
Scott Kyle
8cb7e43e2e
Merge pull request #115 from realm/sk-fix-chrome-tests
...
Re-enable chrome tests
2015-11-02 17:00:11 -08:00
Scott Kyle
84b419c815
Fix to run RealmReactTests with release builds
...
In the case of a release build, React Native will not include the RCTWebSocketExecutor.
2015-11-02 15:20:49 -08:00
Ari Lazier
6c6931a97d
enable chrome tests
2015-11-02 13:50:16 -08:00
Scott Kyle
7181a00f01
Fix to make RealmReact tests work in Chrome again
...
Left the RealmReactChromeTests commented out for now until it's confirmed to work in the CI environment.
2015-11-02 13:38:00 -08:00
Scott Kyle
aa55b61b86
Update React Native to 0.13.2
2015-11-02 13:38:00 -08:00
Ari Lazier
87b2c0f6c4
basic tests for null objects during upsert
2015-11-02 13:30:42 -08:00
Ari Lazier
196a0a15a4
allow setting nullable properties to undefined
2015-11-02 10:08:23 -08:00