summaryrefslogtreecommitdiffstats
path: root/test/source/base.cpp
Commit message (Collapse)AuthorAgeFilesLines
* source/base: Remove unused ref constructorWilliam A. Kennington III2019-03-291-22/+0
| | | | | | | | | | | | We don't ever use this constructor and it was effectively package private. Remove it as we don't ever need to add references to our sd_event_source*. Tested: Built and run through unit test suite. Change-Id: I1ca9fd4ecfdef1a3fd5aa2ca214be657c1a04b94 Signed-off-by: William A. Kennington III <wak@google.com>
* internal/sdref: Remove in favor of stdplus/handleWilliam A. Kennington III2019-03-291-8/+9
| | | | | | | | | | | We no longer need to roll our own managed handle type now that stdplus implements a generic one. Tested: Built and run through unit tests. Change-Id: Id34cd8d3ffacf7901d49cac335fa93f744f0e310 Signed-off-by: William A. Kennington III <wak@google.com>
* clang-tidy: Basic configurationWilliam A. Kennington III2018-12-131-2/+2
| | | | | | | | | | | This also cleans up some outstanding issues detected by the configuration. Tested: Ran through unit test scripts. Change-Id: I3357a2280a681a87532d6d72315260db2ab73e87 Signed-off-by: William A. Kennington III <wak@google.com>
* source/base: Improve some method typesWilliam A. Kennington III2018-07-231-6/+7
|
* source/base: Make callback handling genericWilliam A. Kennington III2018-07-171-1/+3
|
* source/base: Refactor out callback routineWilliam A. Kennington III2018-07-171-30/+14
| | | | | The callback mechanism will be used by other callback methods in the same fashion, so we can template and re-use this functionality
* source/base: Support automatically configuring userdataWilliam A. Kennington III2018-07-171-1/+30
| | | | | This makes callbacks work correctly as the systemd callback functions need to know where to look for the object storing the real callback.
* test/source/base: Clean up duplicated codeWilliam A. Kennington III2018-07-171-192/+110
|
* source/base: Implement movingWilliam A. Kennington III2018-07-171-0/+162
|
* source/base: Make it possible to get the prepare callbackWilliam A. Kennington III2018-07-171-0/+8
|
* source/base: Make it possible to get the underlying sd_event_sourceWilliam A. Kennington III2018-07-171-6/+9
|
* source/base: Only disable the event if it existsWilliam A. Kennington III2018-07-171-0/+10
| | | | | This shouldn't happen in practice but will be needed to supporting moving.
* source/base: Take an event directly instead of sdeventWilliam A. Kennington III2018-07-171-13/+46
| | | | Also expose a mechanism for retrieving our internal event.
* source/base: Add the prepare callback functionalityWilliam A. Kennington III2018-07-171-0/+70
|
* source/base: Expose trivial built in methodsWilliam A. Kennington III2018-07-171-4/+155
|
* Large refactoringWilliam A. Kennington III2018-07-171-0/+59
OpenPOWER on IntegriCloud