Home
last modified time | relevance | path

Searched refs:clockFake (Results 1 – 2 of 2) sorted by relevance

/openbmc/telemetry/tests/src/
H A Dtest_metric.cpp25 clockFake.steady.reset(); in TestMetric()
26 clockFake.system.set(systemTimestamp); in TestMetric()
58 ClockFake& clockFake = *clockFakePtr; member in TestMetric
145 clockFake.system.timestamp()) in TEST_F()
349 sut->sensorUpdated(*sensorMocks.front(), clockFake.steadyTimestamp(), in TEST_P()
351 clockFake.advance(timestamp); in TEST_P()
367 sut->sensorUpdated(*sensorMocks.front(), clockFake.steadyTimestamp(), in TEST_P()
369 clockFake.advance(timestamp); in TEST_P()
407 clockFake.system.set(Milliseconds{72}); in TEST_F()
427 clockFake.system.set(Milliseconds{62}); in TEST_F()
[all …]
H A Dtest_report.cpp64 ClockFake& clockFake = *clockFakePtr; member in TestReport
72 clockFake.system.set(systemTimestamp); in TestReport()
773 clockFake.system.advance(10ms); in TEST_P()
784 clockFake.system.advance(10ms); in TEST_P()
796 clockFake.system.advance(10ms); in TEST_P()
816 clockFake.system.advance(10ms); in TEST_F()
900 clockFake.system.advance(10ms); in TEST_F()