tests: check invalid values crash
commit535f6d54b94ca34a4e9863333c23fb02df332b8f
authorNicola Fontana <ntd@entidi.it>
Tue, 3 Feb 2015 15:56:50 +0000 (3 16:56 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 3 Feb 2015 15:56:50 +0000 (3 16:56 +0100)
tree6fade79892cabbafa93512e9b8d570fb2da546e0
parent3385f3760863694c6a8b0a2e6b23f7eabc81f9ef
tests: check invalid values crash

This complete the previous serie of reverts by checking in the test
suite that invalid arguments on CPML API (apart cpml-gobject) crash the
process.

cpml-gobject is exempted because it depends on GLib, so there are the
g_return_if_fail family macros availables for reporting.
src/cpml/tests/test-primitive.c
src/cpml/tests/test-segment.c