Ari Lazier
40f0e5f274
move queryTests to parser dir
2015-11-20 14:51:04 -08:00
Ari Lazier
3a9137fa08
put tests in JSON
2015-11-19 14:36:42 -08:00
Ari Lazier
07e818bdf2
rebase fixes
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
e7e4b6715e
move query building to a separate file
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
Ari Lazier
5bdc6eba93
parse tree construction
2015-11-19 13:05:37 -08:00
Scott Kyle
616f78ea07
Add support for data properties in RPC layer
...
The data is base64 encoded before being sent via the RPC.
2015-11-17 13:32:31 -08:00
Ari Lazier
df15c5f722
integrate latest object store changes
2015-11-13 18:20:40 -08:00
Ari Lazier
92a94d3dcb
move embedded frameworks around
2015-11-12 11:50:42 -08:00
Ari Lazier
bcd8c2a3d3
pr fixes
2015-11-12 11:32:16 -08:00
Ari Lazier
5b29f09e7a
don't require any GCDWebServers dependency when building Release
2015-11-11 15:37:03 -08:00
Ari Lazier
b7d47ac543
apply newest object store changes
2015-10-26 15:27:43 -07:00
Scott Kyle
d3cf748dc1
Rename RealmRPC.mm -> RealmRPC.cpp
2015-10-26 01:20:14 -07:00
Ari Lazier
92a9113ef6
get it to compile
2015-10-22 15:31:26 -07:00
Ari Lazier
418d6dfc1c
partial port of rpc server to cpp
2015-10-22 10:44:10 -07:00
Ari Lazier
5d78670802
make ReactTests a subproject of RealmJS
2015-10-21 19:17:22 -07:00
Ari Lazier
290a595259
update to latest core
2015-10-21 19:12:36 -07:00
Scott Kyle
8ba3a24eae
Move RealmJSCoreTests.m to tests directory
...
Test failures were not pointing to the correct JS file path when it was in the src directory. This is where it belongs anyways.
2015-10-21 15:18:47 -07:00
Ari Lazier
f02fb05af4
add search paths for test path
2015-10-19 10:52:34 -07:00
Ari Lazier
7074d66c5f
always use release version of core
2015-10-19 09:58:26 -07:00
Scott Kyle
7f5902b021
Remove dependency on JavaScriptCore for RealmReactTests
...
The test structure is now provided by a JS API, that is used by all things that run tests. Also, the tests can be run manually by tapping a button in the ReactTests app.
2015-10-15 15:19:59 -07:00
Ari Lazier
e470c5d189
run tests from subclass
2015-10-14 15:46:46 -07:00
Scott Kyle
c8c1910910
Expose global cleanupTestRealms function
...
This handles clearing out all of the test files between each test case.
2015-10-14 15:26:05 -07:00
Scott Kyle
dc84ac63b6
Merge branch 'sk-react-framework' into sk-test-suite
...
* sk-react-framework: (27 commits)
Change RealmReact to be a dynamic framework
finish Array to List rename
RJSArray -> RJSList
move property getters to object store code
move List class to its own file
ObjectArray -> List
Add Notification constructor and destructor
Small improvement to notifications test
RJSException no longer requires JS strings
Protect realm and callback from GC in addNotification
Add comments
pr fixes
minimal tests for migrations
Check for NaN inside RJSValidatedValueToNumber
allow running all tests at the same path by invalidating all cached realm paths between test runs
Native methods should convert to numbers/bools
Out of bounds getters for Results return undefined
Out of bounds list item getters return undefined
Consolidate code that verifies array index bounds
Add list item setters in JS
...
2015-10-14 02:12:50 -07:00
Scott Kyle
9916fe14a4
Change RealmReact to be a dynamic framework
...
It embeds RealmJS and GCDWebServers frameworks. This fixes #58 , where there were issues with building for devices rather than just the simulator.
Some changes were made so that RealmReact.m didn't need to be weakly linked to libReact.a since that would actually cause any executable that uses this framework from being able to compile with bitcode.
2015-10-14 02:05:02 -07:00
Ari Lazier
f6e0d34022
RJSArray -> RJSList
2015-10-13 15:27:24 -07:00
Ari Lazier
385f387332
move property getters to object store code
2015-10-13 15:25:06 -07:00
Ari Lazier
77359f14e3
move List class to its own file
2015-10-13 14:44:31 -07:00
Ari Lazier
aa035717a5
allow running all tests at the same path by invalidating all cached realm paths between test runs
2015-10-12 16:43:05 -07:00
Ari Lazier
ae52840ee7
add GCDWebServer as dependency
2015-10-12 13:09:00 -07:00
Scott Kyle
db80c3a89a
Refactor tests to run again inside Xcode
...
Added a CommonJS module loader that is used by XCTestCase subclass to load and run the tests.
2015-10-08 15:54:30 -07:00
Ari Lazier
1991d9df95
move rpc server to RealmJS
2015-10-08 11:57:07 -06:00
Scott Kyle
6de1ffc51f
Add GCDWebServer back into Xcode project
2015-10-07 20:36:00 -07:00
Ari Lazier
055b0c9309
support list properties
2015-10-07 20:57:23 -06:00
Scott Kyle
1594b0588f
Add GCDWebServer as a submodule at version 3.2.7
2015-10-07 17:36:22 -07:00
Ari Lazier
18641994c7
transaction rpc methods, return size when creating results
2015-10-07 18:09:00 -06:00
Ari Lazier
476b3623bb
partial rpc server implemenation
2015-10-06 13:36:56 -06:00
Ari Lazier
6f2b137b1d
use latest object store changes
2015-09-28 15:33:44 -07:00
Ari Lazier
ee87cbc17a
primary keys and upsert
2015-09-03 14:05:56 -07:00
Ari Lazier
f7b4fd6f4a
test existing array functionality
2015-08-14 10:47:56 -07:00
Ari Lazier
bf11885df8
new react example
2015-08-13 10:29:37 -07:00
Ari Lazier
55b0a7d459
project fixes for test target
2015-08-13 09:51:09 -07:00
Ari Lazier
b65db0d3d0
missing files and project fixes
2015-08-13 09:28:53 -07:00
Ari Lazier
12b942fecd
move js work from realm-cocoa-private
2015-08-13 09:12:48 -07:00