Add unit tests and changes related 51/2951/10
authorE. Scott Daniels <daniels@research.att.com>
Tue, 24 Mar 2020 16:28:06 +0000 (12:28 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Wed, 25 Mar 2020 16:54:06 +0000 (12:54 -0400)
commit4e4fb5021cc9aa67390f6641a060b85c077a1880
tree896b5e166fb0dcd87c99490c02b9090523dda884
parent8cb3c6f5d5062b83f17a5739e0671490beb543de
Add unit tests and changes related

Base unit tests have been added with the means to generate
gcov coverage information and a small amounto of coverage
data.  Some changes were made to the code to make testing
coverage better and to fix identified issues.

Most important are the unique smart ptr changes; the
framework prototypes now require them to be shared pointers
as they are not released/reallocated (e.g. message Send()).

Issue-ID: RIC-148

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ibc593ddc8687ce6d727bf6d3e2939c02f1e0afef
20 files changed:
CMakeLists.txt
Dockerfile [new file with mode: 0644]
build_rmr.sh [new file with mode: 0755]
examples/xapp_t1.cpp
rmr-version.yaml [new file with mode: 0644]
src/messaging/callback.cpp
src/messaging/callback.hpp
src/messaging/default_cb.cpp
src/messaging/default_cb.hpp
src/messaging/message.cpp
src/messaging/message.hpp
src/messaging/messenger.cpp
src/messaging/messenger.hpp
test/.gitignore [new file with mode: 0644]
test/Makefile [new file with mode: 0644]
test/parse_gcov.sh [new file with mode: 0755]
test/rmr_em.c [new file with mode: 0644]
test/scrub_gcov.sh [new file with mode: 0755]
test/unit_test.cpp [new file with mode: 0644]
test/unit_test.sh [new file with mode: 0755]