aboutsummaryrefslogtreecommitdiff
path: root/tests/common.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add test for excessive nesting during encodeMark Pulford2011-05-081-6/+11
|
* Add UTF-16 surrogate pair decode supportMark Pulford2011-05-081-0/+4
| | | | | | | | - 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
* Implement data driven test frameworkMark Pulford2011-05-081-21/+147
| | | | | | | | - 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-071-0/+31
|
* Add basic JSON tests and benchmarkMark Pulford2011-05-031-0/+79