Commit graph

907 commits

Author SHA1 Message Date
alisdair sullivan
4a3f2a3fa4 add test for objectify generator 2013-02-11 16:36:46 -08:00
alisdair sullivan
e6380bc3a3 break special decodeable forms out to own test data 2013-02-10 19:39:42 -08:00
alisdair sullivan
086803cc95 fix listify and add objectify 2013-02-09 16:57:47 -08:00
alisdair sullivan
eaae88f072 add additional exp tests to float 2013-02-09 16:32:17 -08:00
alisdair sullivan
a883db30ce add exp to floats 2013-02-09 15:58:53 -08:00
alisdair sullivan
a584c74fbc add formatting tests to jsx_to_json 2013-02-09 15:50:52 -08:00
alisdair sullivan
2ebffe0616 add floats to tests 2013-02-09 15:49:56 -08:00
alisdair sullivan
d9e0611a52 remove stray tabs 2013-02-09 09:44:45 -08:00
alisdair sullivan
bef362ac0e include literals in compound list test 2013-02-08 21:44:15 -08:00
alisdair sullivan
d6a7d85cbb listify method to compose tests into flat array 2013-02-08 11:08:58 -08:00
alisdair sullivan
18f36ddb0a more test data generators 2013-02-08 10:43:52 -08:00
alisdair sullivan
7855fef0f3 consistent test data naming 2013-02-07 20:03:12 -08:00
alisdair sullivan
d0535dfe1c tweak test representation to remove 'end_json' from tests and insert in handlers to aid composability 2013-02-07 13:30:48 -08:00
alisdair sullivan
6ca54ae3d7 pad out test tests 2013-02-07 06:44:36 -08:00
alisdair sullivan
ba42f75780 first tentative steps towards more comprehensive and flexible test suite 2013-02-06 22:28:26 -08:00
alisdair sullivan
51cafcfb64 reduce test space by eliminating redundancies in extended codepoint parsing 2013-02-06 22:27:52 -08:00
alisdair sullivan
34ea2ba491 remove r15b03-1 from travis ci config 2013-02-06 21:31:16 -08:00
alisdair sullivan
ea2b2701ea add R15B01, R15B02 and R15B03-1 to travis ci config 2013-02-06 21:31:05 -08:00
alisdair sullivan
d3fd69a351 remove r15b03-1 from travis ci config 2013-02-06 11:25:00 -08:00
alisdair sullivan
04610a02cb add R15B01, R15B02 and R15B03-1 to travis ci config 2013-02-06 11:17:11 -08:00
alisdair sullivan
12b319eccc remove all old external test cases 2013-02-05 21:39:19 -08:00
alisdair sullivan
50133ffefd remove various tests from encoder and parser 2013-02-05 21:07:38 -08:00
alisdair sullivan
dfbda5a9d3 fix eunit test ordering in jsx_utils 2013-02-05 20:29:38 -08:00
alisdair sullivan
77548df033 add a few more tests for opt parsing 2013-02-05 20:25:41 -08:00
alisdair sullivan
f45cb39786 add test to jsx_utils for multiple defined pre_encoders 2013-02-05 20:12:29 -08:00
alisdair sullivan
c36bc7babb fix incorrect tail call in jsx_utils test generator 2013-02-05 19:59:09 -08:00
alisdair sullivan
a325d266bc whitespace 2013-02-05 16:54:59 -08:00
alisdair sullivan
1bf196b9e3 move all encoder escape tests to jsx_utils 2013-02-05 16:52:28 -08:00
alisdair sullivan
c99cbd9d12 move all tests relating to cleaning of binary strings to jsx_utils 2013-02-05 16:40:15 -08:00
alisdair sullivan
052a92d325 bad utf8 tests for clean_string/2 2013-02-05 12:24:56 -08:00
alisdair sullivan
d8cde35e45 add formatting tests to jsx_to_json 2013-02-05 00:07:15 -08:00
alisdair sullivan
822a668f8e remove integration tests and add unit tests to jsx_to_json.erl 2013-02-05 00:07:15 -08:00
alisdair sullivan
81f0321e32 add tests for stricter parsing of opts 2013-02-05 00:07:15 -08:00
alisdair sullivan
231a55c7e1 add unit tests for jsx_to_term, remove integration tests 2013-02-05 00:07:15 -08:00
alisdair sullivan
bd3a64f457 remove integration tests from jsx module 2013-02-05 00:07:15 -08:00
alisdair sullivan
b711bc9ef9 factor out clean_string to jsx_utils 2013-02-05 00:03:58 -08:00
alisdair sullivan
2395d6cb72 replace handrolled binary copy with call to binary:copy 2013-02-04 23:30:28 -08:00
alisdair sullivan
5efec8af8e reject invalid opts flags more strictly 2013-02-04 23:08:44 -08:00
alisdair sullivan
eaba8c7b0f remove redundant code in decoder 2013-01-22 23:44:15 -08:00
alisdair sullivan
ff7392deef Merge branch 'refactor' into develop 2013-01-22 20:55:58 -08:00
alisdair sullivan
d8a6a2c7fe Merge branch 'develop' of github.com:talentdeficit/jsx into develop 2013-01-22 20:53:19 -08:00
alisdair sullivan
21011964da add {incomplete, ...} to return types of core jsx functions
`encode`, `decode`, `format`, `prettify` and `minify` were incompletely specified

closes #27
2013-01-22 12:41:56 -08:00
alisdair sullivan
83a219ba80 more specific guarding in string fsm 2012-12-28 06:43:35 -08:00
alisdair sullivan
1982665507 extend decoder tests to be more comprehensive 2012-12-28 06:35:26 -08:00
alisdair sullivan
fe67eb5b26 Update src/jsx.erl
minor formatting changes
2012-12-22 11:01:34 -08:00
alisdair sullivan
844ee2407f previously, unambiguously incomplete input was sometimes treated as ambiguous. the 'incomplete_input' flag is no longer needed to parse this input correctly 2012-11-21 23:35:15 -08:00
alisdair sullivan
6ff94d8e5f strip trailing whitespace 2012-11-21 23:04:14 -08:00
Devin Torres
d588361304 Export JSON types so libraries wrapping JSX can use them in their typespecs 2012-11-06 08:30:00 -06:00
alisdair sullivan
cb14b92a22 v1.3.3 2012-10-22 11:36:21 -07:00
alisdair sullivan
fcbb1eba40 v1.3.3 2012-10-22 11:35:03 -07:00