json: Add unit tests for error handling
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 12 Jul 2018 21:15:34 +0000 (09:15 +1200)
committerGary Lockyer <gary@samba.org>
Wed, 25 Jul 2018 04:29:50 +0000 (06:29 +0200)
commit6f4f8c51e0acd92aae1b57041cf787706820db77
tree46931bc836062397cc34ccfc5698d76074eed0fd
parent79f494e51eabb5176747fcf3b9f2efad10ec7f97
json: Add unit tests for error handling

Add cmocka unit tests to exercise the error handling in the JSON
routines.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/audit_logging/tests/audit_logging_error_test.c [new file with mode: 0644]
lib/audit_logging/wscript_build
source4/dsdb/samdb/ldb_modules/tests/test_audit_log_errors.c [new file with mode: 0644]
source4/dsdb/samdb/ldb_modules/tests/test_group_audit_errors.c [new file with mode: 0644]
source4/dsdb/samdb/ldb_modules/wscript_build_server
source4/selftest/tests.py