summaryrefslogtreecommitdiffstats
path: root/src/test/util/debug_output.hpp
Commit message (Collapse)AuthorAgeFilesLines
* unit-test: Debug functions to dump data structuresAndrew Geissler2019-04-051-0/+72
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>
OpenPOWER on IntegriCloud