History log of /openbmc/sdbusplus/test/timer.cpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 2bf0bb29 05-Dec-2023 Patrick Williams <patrick@stwcx.xyz>

timer: deprecate phosphor namespace

"phosphor" is a namespace used in some OpenBMC repositories but has
only one usage in sdbusplus and the class is not very OpenBMC-specific.

Move the Timer class

timer: deprecate phosphor namespace

"phosphor" is a namespace used in some OpenBMC repositories but has
only one usage in sdbusplus and the class is not very OpenBMC-specific.

Move the Timer class into the sdbusplus namespace and mark
'phosphor::Timer' as a deprecated alias.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia8c79a25755c9a2c4dc6f92bf1de8100622ef313

show more ...


# 9688ed68 06-Jan-2023 Ed Tanous <edtanous@google.com>

Add override keyword everywhere it's required

Clang catches some of these. Add override keywords where we override
functions, per cpp core guidelines.

Change-Id: I66f9e6dff53e07f0057d86a806701593b

Add override keyword everywhere it's required

Clang catches some of these. Add override keywords where we override
functions, per cpp core guidelines.

Change-Id: I66f9e6dff53e07f0057d86a806701593be16b188
Signed-off-by: Ed Tanous <edtanous@google.com>

show more ...


# 4dcf755b 18-Sep-2020 Patrick Williams <patrick@stwcx.xyz>

test: timer: fix warning under clang

Clang raises the following warning:

../test/timer.cpp:26:56: error: field 'events' is uninitialized when used here [-Werror,-Wuninitialized]

test: timer: fix warning under clang

Clang raises the following warning:

../test/timer.cpp:26:56: error: field 'events' is uninitialized when used here [-Werror,-Wuninitialized]
TimerTest() : rc(sd_event_default(&events)), timer(events)

Initialize 'events' to resolve.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia637709bf578e38211eeb2bbc56bb592b99004a6

show more ...


# 127b8abe 21-May-2020 Patrick Williams <patrick@stwcx.xyz>

clang-format: sync from docs master .clang-format

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8077816a5ddf7a067bdf537cb46e4e32f5c4ef65


# 7efcdaeb 06-Sep-2018 Vernon Mauery <vernon.mauery@linux.intel.com>

add common timer.hpp unit tests

Add unit tests for timer.hpp class. These are the unit tests copied from
the phosphor-host-ipmid/softoff/test directory.

Change-Id: I9d74c6eb528f

add common timer.hpp unit tests

Add unit tests for timer.hpp class. These are the unit tests copied from
the phosphor-host-ipmid/softoff/test directory.

Change-Id: I9d74c6eb528f652965f43a3a4b973368ed782bf0
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>

show more ...