<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-objmgr/src/test, branch master</title>
<subtitle>OpenBMC Phosphor object manager sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-objmgr/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-objmgr/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/'/>
<updated>2019-04-05T15:05:32+00:00</updated>
<entry>
<title>unit-test: Test interfaces added function</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-27T16:14:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=7f838376084fb8f5c00b8926013891cb58389033'/>
<id>urn:sha1:7f838376084fb8f5c00b8926013891cb58389033</id>
<content type='text'>
Tested:
- processing.cpp at 94% coverage
- Verified QEMU booted to standby and mapper command line worked
- Verified hardware CI (witherspoon) passed with this patch series

Change-Id: I73e5feb3495ed0aa974acd521fefd8d0193fc1b3
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Fix bug when endpoint empty</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-03-22T15:59:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=0a560a5c4f6447e2c8b4ba7216abebebe9aea0dd'/>
<id>urn:sha1:0a560a5c4f6447e2c8b4ba7216abebebe9aea0dd</id>
<content type='text'>
Could debate the proper handling of this situations but this commit at
least makes it consistent for the forward and reverse path

Change-Id: If0a8a16473c150f4d4361f9ca9aad9f06c391157
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Test associationChanged()</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-22T21:23:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=491f9ac3d2579779a0cec3d4d52e19f1ce908bad'/>
<id>urn:sha1:491f9ac3d2579779a0cec3d4d52e19f1ce908bad</id>
<content type='text'>
Testing: 100% coverage of associations.cpp

Change-Id: I978eb37acfbee0a5b6d497cab473691318184aaf
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Debug functions to dump data structures</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-27T15:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=7264d90dca3b7796b305e282aaad7ab19ce933ec'/>
<id>urn:sha1:7264d90dca3b7796b305e282aaad7ab19ce933ec</id>
<content type='text'>
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 &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Test checkAssociationEndpointRemoves()</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-21T21:07:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=e4ab6c90baf1e32df55a729055d9a5838905ad0d'/>
<id>urn:sha1:e4ab6c90baf1e32df55a729055d9a5838905ad0d</id>
<content type='text'>
Testing: 100% coverage of associations.cpp

Change-Id: I311af1c868416e8e898a25e593d399cd8297ccf9
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Test deleting entry on name change</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-12T02:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=2067926a03284fae98203c99f8a5d9acda0d2a47'/>
<id>urn:sha1:2067926a03284fae98203c99f8a5d9acda0d2a47</id>
<content type='text'>
Breaking off into a separate function enables easier unit testing of the
specific function

Testing: 97% coverage of processing.cpp

Change-Id: I08f229657a8f44230b711fabbae20fb403792637
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Request distinct name per test app</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-12T01:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=5b2e72765e4f547dd74a139f703c957c41a9078a'/>
<id>urn:sha1:5b2e72765e4f547dd74a139f703c957c41a9078a</id>
<content type='text'>
gtest will run test suites in parallel, need to ensure each test suite
(application) requests a distinct well-known name on Dbus.

Change-Id: Ib59211ada5ef6404e70747b7377912384cc8c60e
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Move association create funcs to util</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-08T20:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=bb7b592eb7818554f27fc99dbe3fe76cb4a116a5'/>
<id>urn:sha1:bb7b592eb7818554f27fc99dbe3fe76cb4a116a5</id>
<content type='text'>
These will be useful in other test suites so move into util directory

Change-Id: Ibea5c417e38210e6e1388cf4492af10a64db9077
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Move asio server to its own class</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-08T20:07:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=b04f0335379773c87ed0f8cb259ea37cef80981b'/>
<id>urn:sha1:b04f0335379773c87ed0f8cb259ea37cef80981b</id>
<content type='text'>
Other test suites will need this object so move to a utility directory
and inherit from.

Change-Id: Ia34c8149fc0df02c510717a6efd21f51086e97e6
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
<entry>
<title>unit-test: Test removeAssociations interface</title>
<updated>2019-04-05T15:05:32+00:00</updated>
<author>
<name>Andrew Geissler</name>
<email>geissonator@yahoo.com</email>
</author>
<published>2019-02-05T17:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=271b7dd00648c8a0d004e57b2c53ca642a6d3a42'/>
<id>urn:sha1:271b7dd00648c8a0d004e57b2c53ca642a6d3a42</id>
<content type='text'>
Testing: Verified code coverage shows 100% of new interface

Change-Id: I517acc02b06bbff971921e66a697fb297fde45c6
Signed-off-by: Andrew Geissler &lt;geissonator@yahoo.com&gt;
</content>
</entry>
</feed>
