summaryrefslogtreecommitdiffstats
path: root/src/test/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Exception processing added for CallDBusMethod::op.Alexander Soldatov2018-12-061-1/+0
| | | | | | | | | | Patch adds exception processing for CallDBusMethod::op function. It prevents phosphor-dbus-monitor crashes, when calling service doesn't exist. Change-Id: Iac9be4c14a52fa9c12eb08dfec1f4dfd68e8cdfb Signed-off-by: Alexander Soldatov <a.soldatov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* sdevent: Remove in favor of sdeventplusWilliam A. Kennington III2018-12-061-0/+2
| | | | | | | | This change removes the one off sd-event wrapper from the project and uses the openbmc wide sdeventplus library. Change-Id: I8e042f875d06082e15606c7191a8073974f93990 Signed-off-by: William A. Kennington III <wak@google.com>
* tests: Get make check working againBrad Bishop2018-07-101-0/+1
| | | | | | | | | | | | A alias for string called 'Property' was added with 70aafbb58, making the Property type in propertygentest ambiguous and unable to build. Remove the ambiguity. callbacktest does not pass. Mark as expected to fail until resolved. Tested: propertygentest compiles again, test suite runs to completion Change-Id: I7df516e378dd7b8de94474ab90ce55c0ac8708a4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add unit test for watches created on object pathsMarri Devender Rao2018-06-051-0/+25
| | | | | | | | | | Verify the watches created for the object path being watched for 'interfaces added' signal. Resolves openbmc/openbmc#3003 Change-Id: I88a3adbbe91fcbe5bdf606d2f460d4d0c6d9c1a2 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Add persistency for eventsDhruvaraj Subhashchandran2018-04-111-0/+1
| | | | | | | | | Persist event D-bus objects using cereal Resolves openbmc/openbmc#2319 Change-Id: Ifa15d944fe1d1026761f65eeb647dcbdf6afdba0 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Implement create function in event managerRatan Gupta2018-02-231-1/+3
| | | | | | | | | Implement the logging event interface. Create the dbus event object based on the event type. Change-Id: Idfa9e5c43f170d904fd25f22d73e0509b1785fc9 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add ResolveCallout classMatt Spinler2017-11-141-1/+2
| | | | | | | | | | | | | | | This class is a type of callback, and when triggered will resolve all error log entries that have the specified callout. It does this by setting the Resolved property on the log entry. It can be used to do things like resolve all errors against a particular part when that part is replaced, which would be done by specifying this class as a callback on a watch on the Present property for the part in the inventory. Change-Id: I50557938c9e15a91744ee2a16d67eaa7f367ef04 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add tests for elogGunnar Mills2017-08-211-1/+7
| | | | | Change-Id: I58a6ac714cfa80462ab53d4487dc727e40038b06 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Invoke callbacks under make checkBrad Bishop2017-06-191-0/+12
| | | | | | | | | Add a simple test that invokes all the callbacks. There are no assertions but there is some value in ensuring the application will at least run without crashing. Change-Id: I117bff261202ae7e642094a659a954328351eac1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* build: Correct out of tree build bugsBrad Bishop2017-06-191-6/+6
| | | | | Change-Id: Id6e14414c6f15c11d1476039e3781d719f693d21 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add testcase for conditionsBrad Bishop2017-06-191-0/+25
| | | | | Change-Id: I94059c0be78d5b97e7e0e11c78d4a164a98a483e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add testcase for callback groupsBrad Bishop2017-06-191-0/+25
| | | | | Change-Id: Icbdc8612d73bed065227d9edfde1426206886652 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add testcase for callbacksBrad Bishop2017-06-191-0/+25
| | | | | Change-Id: Iff1ddb9c18b5384d05a4d2dbfba95ade8cc1783c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add testcases for property watchesBrad Bishop2017-06-191-0/+43
| | | | | Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I9e9266901414c71a34d9686f2a45bc4764602d53
* Add testcases for property and property groupsBrad Bishop2017-06-041-0/+25
| | | | | Change-Id: I4b30d0729a704d6833c840ea08daeee961a5730b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add testcases for path and path group supportBrad Bishop2017-06-041-0/+25
| | | | | Change-Id: I296de0e0cb30e0e25f6677a06bd04fe15c2fd015 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* build: Add a test directoryBrad Bishop2017-05-231-0/+13
Add a test directory to host future unit tests. Change-Id: I5072cb3055386f7b1718edc45241c723d9e63a54 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud