unit-test: Debug functions to dump data structures

Visualizing the key data structures in objmgr can be very useful for
debug and for writing test cases

Example output when new function called:
 ##### interface_map_type #####
------------------------------------
OBJ PATH:      /xyz/openbmc_project/test
DBUS SERVICE:   xyz.openbmc_project.Test
INTERFACE:        org.freedesktop.DBus.Introspectable
INTERFACE:        org.freedesktop.DBus.Peer
INTERFACE:        org.freedesktop.DBus.Properties
------------------------------------
 ##### AssociationOwnersType #####
------------------------------------
OBJ PATH:      /xyz/openbmc_project/test/xyz
DBUS SERVICE:   xyz.openbmc_project.Test
ASSOC PATH:      /xyz/openbmc_project/inventory/system/chassis/error
ENDPOINT:         /xyz/openbmc_project/test/xyz
ASSOC PATH:      /xyz/openbmc_project/test/xyz/inventory
ENDPOINT:         /xyz/openbmc_project/inventory/system/chassis
-----------------------------------
 ##### AssociationInterfaces #####
------------------------------------
OBJ PATH:      /xyz/openbmc_project/inventory/system/chassis/error
ENDPOINTS:      /xyz/openbmc_project/test/xyz
------------------------------------

Change-Id: I947ccdb071d887683c3998c6020677833579100c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
1 file changed
tree: 75e485636e0f2e44eb1d6ffc012fe479becafeda
  1. fail-monitor/
  2. libmapper/
  3. obmc/
  4. src/
  5. .clang-format
  6. .gitignore
  7. bootstrap.sh
  8. configure.ac
  9. LICENSE
  10. MAINTAINERS
  11. Makefile.am
  12. phosphor-mapper
  13. README.md
  14. setup.cfg
  15. setup.py.in
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.