Scott Kyle
8182c4816f
Add comment to explain regex in TestFailureError
2015-09-28 18:09:59 -07:00
Scott Kyle
675e26e200
Test failures now report the real failure location
...
In the case of test failures, a TestFailureError object is thrown, which removes the last two stack frames so the true source of the failure is revealed to the native code.
Clicking on a failure in the Xcode sidebar will take you to exactly where it occurred now.
Fixes #28
2015-09-28 16:09:03 -07:00
Scott Kyle
70ee822f19
Update splice method to mimic JS standard
...
It now will return the removed elements, and clamps the first two arguments to be acceptable values rather than throwing an exception.
2015-09-28 16:00:24 -07:00
Ari Lazier
4dca0358e1
add deleteAll to Realm
2015-09-08 14:07:14 -07:00
Ari Lazier
16be837817
support defaults
2015-09-04 15:43:26 -07:00
Ari Lazier
dcc159365e
more extensive upsert tests
2015-09-04 12:41:17 -07:00
Ari Lazier
e9aa46a8f7
more tests for partial update
2015-09-04 12:28:57 -07:00
Ari Lazier
10a04da42c
bundle RealmJS with the example app
2015-09-04 10:08:13 -07:00
Ari Lazier
870fe78aad
support sorting by a single property
2015-09-03 15:46:31 -07:00
Ari Lazier
cc0f821a99
fix for partial update of string properties
2015-09-03 14:37:22 -07:00
Ari Lazier
ee87cbc17a
primary keys and upsert
2015-09-03 14:05:56 -07:00
Ari Lazier
df05636e7a
delete can now take a results object as an argument
2015-09-02 21:31:29 -07:00
Ari Lazier
7ac7ab3c94
test object with invalid class name
2015-09-01 16:23:42 -07:00
Ari Lazier
fbf2399140
tests and bugfixes for splice and shift
2015-08-28 15:11:50 -07:00
Ari Lazier
ddbc6eb4c9
test for pop
2015-08-28 14:49:15 -07:00
Ari Lazier
bd39239f00
array mutation functions
2015-08-28 14:41:30 -07:00
Ari Lazier
e84c81542f
fix for array enumeration, test array.push
2015-08-27 13:33:20 -07:00
Ari Lazier
ccd2301d9e
todo example
2015-08-24 09:22:37 -07:00
Ari Lazier
95189a3a37
a few more tests
2015-08-17 11:46:08 -07:00
Ari Lazier
9a90c9c8a3
add querying for basic types
2015-08-17 11:40:13 -07:00
Ari Lazier
f7b4fd6f4a
test existing array functionality
2015-08-14 10:47:56 -07:00
Ari Lazier
dc0839772f
add Realm.delete
2015-08-14 09:47:33 -07:00
Ari Lazier
ca4dfa052c
proper copyright
2015-08-14 08:18:49 -07:00
Ari Lazier
12b942fecd
move js work from realm-cocoa-private
2015-08-13 09:12:48 -07:00