summaryrefslogtreecommitdiffstats
path: root/phosphor-logging/test
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: add fixes to mock classPatrick Venture2018-12-031-2/+4
| | | | | | | | | | | | | The mock class is only compiled when included. Add a missing semicolon to the class definition. The interface class was renamed, update the name from which the mock class derives. Tested: Added a local instance of the object that forces compilation. Change-Id: I65dd92e1e29d0cf0532ebe209b356d3d8fe4f1d8 Signed-off-by: Patrick Venture <venture@google.com>
* add sdjournal interface to inject testsPatrick Venture2018-11-111-0/+27
The goal of the tests is not to test phosphor-logging, but rather allow code to call through phosphor-logging/log<> during a test. Change-Id: Id8c84ded473decc7f9f0be268116083093f86e54 Signed-off-by: Patrick Venture <venture@google.com>
OpenPOWER on IntegriCloud