Post review fixes for test_json_parser test module
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 23 Apr 2024 19:27:40 +0000 (15:27 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 23 Apr 2024 19:32:06 +0000 (15:32 -0400)
commitba3e6e2bca97df14920375b0a1ebf4eab95b78b5
treeee3e960a3d3ae2ff28dc719f5aa86aeea8b2173b
parentb7d35d393edbe2d4333dde81496e8a362abc85bd
Post review fixes for test_json_parser test module

. Add missing copytight notices
. improve code coverage
. put work files in a temp directory in the standard location
. improve error checking in C code
. indent perl files with perltidy
. add some comments

per comments from Michael Paquier

Discussion: https://postgr.es/m/ZiC3-cdFys4-6xSk@paquier.xyz
src/test/modules/test_json_parser/t/001_test_json_parser_incremental.pl
src/test/modules/test_json_parser/t/002_inline.pl
src/test/modules/test_json_parser/t/003_test_semantic.pl
src/test/modules/test_json_parser/t/004_test_parser_perf.pl
src/test/modules/test_json_parser/test_json_parser_incremental.c
src/test/modules/test_json_parser/test_json_parser_perf.c
src/test/modules/test_json_parser/tiny.json
src/test/modules/test_json_parser/tiny.out