Commit graph

976 commits

Author SHA1 Message Date
alisdair sullivan
6c51597f65 slightly generalize decoder for tests 2013-02-23 22:49:46 -08:00
alisdair sullivan
230be8ebc2 import better tests 2013-02-23 22:36:35 -08:00
alisdair sullivan
74a688c827 reformat clean_string tests 2013-02-23 22:21:35 -08:00
alisdair sullivan
9244845c37 fix order of comments test 2013-02-21 00:13:07 -08:00
alisdair sullivan
6b6f713f96 add some tests for single quoted strings 2013-02-21 00:05:12 -08:00
alisdair sullivan
488132aecb basic strings now FAST in decoder, escapes and bad utf nyi 2013-02-20 23:57:06 -08:00
alisdair sullivan
de76cf48a7 streamline string parsing implementation in encoders 2013-02-20 21:29:12 -08:00
alisdair sullivan
ceb7ce6586 shiny and new string cleaning for encoder and parser 2013-02-19 22:51:54 -08:00
alisdair sullivan
fbd90e4df7 tighten input/output of maybe_escape 2013-02-19 15:09:28 -08:00
alisdair sullivan
ff170d5f4e add maybe_escape/2 function for future use 2013-02-19 01:00:35 -08:00
alisdair sullivan
0392be060d add tests for strings that need unescaping in decoding 2013-02-19 00:26:53 -08:00
alisdair sullivan
4d60fa2a08 add special number tests for floats and integers that have different representation in erlang and json 2013-02-13 21:54:09 -08:00
alisdair sullivan
cea0cb55c7 add compound object test 2013-02-13 21:45:56 -08:00
alisdair sullivan
9e01e3a704 reduce test cases to saner set 2013-02-13 19:13:50 -08:00
alisdair sullivan
5c96222cbf add additional comment tests 2013-02-12 12:06:45 -08:00
alisdair sullivan
ff6a83598b replace all incidences of opts with config 2013-02-12 11:54:42 -08:00
alisdair sullivan
2f47fdd642 simplify exportation of tests, add strings to test suite 2013-02-11 19:06:44 -08:00
alisdair sullivan
eaf19cde9c extend tests to decoder, encoder and parser 2013-02-11 18:22:45 -08:00
alisdair sullivan
7f3cb6e496 tweak objectify and listify test generators 2013-02-11 17:30:29 -08:00
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