Added simple unit/integration test framework and corresponding test program.
authorJon A. Cruz <jonc@osg.samsung.com>
Fri, 3 Jul 2015 06:36:44 +0000 (23:36 -0700)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 7 Jul 2015 12:47:08 +0000 (15:47 +0300)
commit5a75a41d0737480127d8ed695418c4ae6b735f42
treeafbfff14461ca0c088c9161481a17ac380911875
parent492c12fb8be4d3fb0b57c4548029cce5a82291c1
Added simple unit/integration test framework and corresponding test program.

Added a simple C-based test framework and an example program
that uses it to run through some simple unit tests.

This is new code inspired primarily by the approaches of Google
Test, Boost Test, JUnit and TestNG. Factors of others were also
considered during design and implementation.

Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
17 files changed:
.gitignore
Makefile.am
tools/zunitc/doc/zunitc.dox [new file with mode: 0644]
tools/zunitc/inc/zunitc/zunitc.h [new file with mode: 0644]
tools/zunitc/inc/zunitc/zunitc_impl.h [new file with mode: 0644]
tools/zunitc/src/main.c [new file with mode: 0644]
tools/zunitc/src/zuc_base_logger.c [new file with mode: 0644]
tools/zunitc/src/zuc_base_logger.h [new file with mode: 0644]
tools/zunitc/src/zuc_collector.c [new file with mode: 0644]
tools/zunitc/src/zuc_collector.h [new file with mode: 0644]
tools/zunitc/src/zuc_context.h [new file with mode: 0644]
tools/zunitc/src/zuc_event.h [new file with mode: 0644]
tools/zunitc/src/zuc_event_listener.h [new file with mode: 0644]
tools/zunitc/src/zuc_types.h [new file with mode: 0644]
tools/zunitc/src/zunitc_impl.c [new file with mode: 0644]
tools/zunitc/test/fixtures_test.c [new file with mode: 0644]
tools/zunitc/test/zunitc_test.c [new file with mode: 0644]