Scott Kyle
cf687ffca0
Fix for correctly locating GCDWebServer headers
...
This issue appeared when doing a fully clean build since we no longer use the GCDWebServers framework.
2015-12-08 16:58:29 -08:00
Scott Kyle
3cc0250da9
No longer embed frameworks into RealmReact.framework
...
Instead we build RealmJS and GCDWebServers as static libraries and link those instead.
2015-12-07 14:57:19 -08:00
Scott Kyle
25cfb68779
Remove use of explicit target dependencies
...
The target dependencies are discovered implicitly, and removing the use of explicitly defined dependencies actually resolved a very odd bug with Xcode when building ReactExample.app for a device.
2015-12-02 17:45:09 -08:00
Ari Lazier
bc0c7dae7f
search path fix
2015-11-30 12:58:23 -08:00
Ari Lazier
806ae5c890
also include example modules path
2015-11-30 12:46:11 -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
eb44b27633
move everything/rename to make room for android
2015-11-30 11:23:29 -08:00
Ari Lazier
e3b638edf3
pr fixes
2015-11-23 08:56:36 -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
49955a03e3
use cpp extension for pure cpp files
2015-11-20 19:32:35 -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
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
1c155fe136
schema config
2015-11-12 12:31:57 -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
a2cd949e09
Prevent tests from ever opening Chrome
...
The test is commented out for now.
2015-10-26 13:25:15 -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
7b5be78df2
close to working test harness
2015-10-14 18:52:55 -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