Spdk/include/spdk_internal
Paul Luse be74ecf79a test: add one unit test showing example of ut_mock wrap
This patch shows how to use the spdk_mock library which now only
consists of --wrap capability for a few functions.

Next will be a patch that provides a generic mock capability to
use either the --wrap feature or a combination of globals and
stubs to make adding more UT easier wrt mocking. After that is
in place nvme_ut.c will be updated to use the new library for
all mocking.

Change-Id: I1a6ffb722da043bb70bd4cfe1afa7c5e39a0fccb
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/365074
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-06-15 13:46:19 -04:00
..
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
bdev.h bdev: remove parent/child I/O related code 2017-06-15 13:37:50 -04:00
copy_engine.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
event.h reactor: handle start_fn event after subsystem init is ready 2017-05-31 15:30:58 -04:00
log.h log: print trace flag names in SPDK_TRACELOG() 2016-11-28 13:15:08 -07:00
spdk_mock.h test: add one unit test showing example of ut_mock wrap 2017-06-15 13:46:19 -04:00