summaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add test for excessive nesting during encodeMark Pulford2011-05-082-6/+16
|
* Add NaN/Inf encoding tests, rearrange test orderMark Pulford2011-05-081-71/+74
|
* Generate error when attempting to decode UTF-16/32Mark Pulford2011-05-081-0/+4
|
* Add UTF-16 surrogate pair decode supportMark Pulford2011-05-084-2/+93
| | | | | | | | - Add tests for UTF-16 decoding and failures - Add getutf8.pl to assist with UTF-16 decode testing - Re-add test_decode_cycle() which was accidentally removed earlier - Rename bytestring.dat to octets-escaped.dat
* Test octect encode/decode separatelyMark Pulford2011-05-082-24/+9
|
* Convert tests to automatically verify outputMark Pulford2011-05-081-106/+107
|
* Implement data driven test frameworkMark Pulford2011-05-083-29/+158
| | | | | | | | - Add run_test(): Test a function and verify its output - Add run_test_group(): Execute a test batch - Add serialise_value(): Serialise a Lua value into the Lua syntax - Add file_save() helper function - Add NaN comparison support to compare_values()
* Add test to compare objects after decode/encodeMark Pulford2011-05-072-3/+40
|
* Document permission received to use examplesMark Pulford2011-05-041-0/+2
| | | | | | | | | | | Douglas Crockford <douglas@crockford.com> has given permission for these examples to be used. Message-ID: <4DC01FB7.8090001@crockford.com> Date: Tue, 03 May 2011 08:31:03 -0700 From: Douglas Crockford To: Mark Pulford Subject: Re: JSON examples
* Add basic JSON tests and benchmarkMark Pulford2011-05-0311-0/+465