Home
last modified time | relevance | path

Searched refs:sdbusMock (Results 1 – 11 of 11) sorted by relevance

/openbmc/sdbusplus/test/server/
H A Dobject.cpp44 EXPECT_CALL(sdbusMock, in TEST_F()
55 EXPECT_CALL(sdbusMock, in TEST_F()
68 EXPECT_CALL(sdbusMock, in TEST_F()
78 EXPECT_CALL(sdbusMock, in TEST_F()
87 EXPECT_CALL(sdbusMock, in TEST_F()
100 EXPECT_CALL(sdbusMock, in TEST_F()
110 EXPECT_CALL(sdbusMock, in TEST_F()
117 EXPECT_CALL(sdbusMock, in TEST_F()
130 EXPECT_CALL(sdbusMock, in TEST_F()
142 EXPECT_CALL(sdbusMock, in TEST_F()
[all …]
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_utils.cpp18 sdbusplus::SdBusMock sdbusMock; in TEST() local
19 auto bus = sdbusplus::get_mocked_new(&sdbusMock); in TEST()
21 EXPECT_CALL(sdbusMock, sd_bus_message_new_method_call( in TEST()
24 EXPECT_CALL(sdbusMock, sd_bus_message_ref(IsNull())) in TEST()
26 sdbusplus::message_t msg(nullptr, &sdbusMock); in TEST()
32 EXPECT_CALL(sdbusMock, in TEST()
37 EXPECT_CALL(sdbusMock, sd_bus_message_at_end(IsNull(), 0)) in TEST()
43 EXPECT_CALL(sdbusMock, sd_bus_message_read_basic(IsNull(), 's', _)) in TEST()
57 EXPECT_CALL(sdbusMock, sd_bus_message_exit_container(IsNull())) in TEST()
H A Dtest_item_updater.cpp66 sdbusplus::SdBusMock sdbusMock; member in TestItemUpdater
67 sdbusplus::bus_t mockedBus = sdbusplus::get_mocked_new(&sdbusMock);
95 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(dBusPath))) in TEST_F()
99 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath))) in TEST_F()
123 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(dBusPath))) in TEST_F()
127 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath))) in TEST_F()
164 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(dBusPath))) in TEST_F()
168 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath0))) in TEST_F()
261 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath))) in TEST_F()
295 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath))) in TEST_F()
[all …]
H A Dtest_activation.cpp68 sdbusplus::SdBusMock sdbusMock; member in TestActivation
69 sdbusplus::bus_t mockedBus = sdbusplus::get_mocked_new(&sdbusMock);
255 ON_CALL(sdbusMock, sd_bus_call(_, _, _, _, nullptr)) in TEST_F()
374 EXPECT_CALL(sdbusMock, sd_bus_message_new_method_call(_, _, _, _, _, in TEST_F()
397 EXPECT_CALL(sdbusMock, sd_bus_message_new_method_call(_, _, _, _, _, in TEST_F()
421 EXPECT_CALL(sdbusMock, sd_bus_message_new_method_call(_, _, _, _, _, in TEST_F()
/openbmc/phosphor-logging/test/
H A Delog_quiesce_test.cpp25 sdbusplus::SdBusMock sdbusMock; member in phosphor::logging::test::TestQuiesceOnError
26 sdbusplus::bus_t mockedBus = sdbusplus::get_mocked_new(&sdbusMock);
105 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(testing::_, testing::_)) in TEST_F()
108 EXPECT_CALL(sdbusMock, in TEST_F()
133 EXPECT_CALL(sdbusMock, in TEST_F()
162 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(testing::_, testing::_)) in TEST_F()
165 EXPECT_CALL(sdbusMock, in TEST_F()
192 EXPECT_CALL(sdbusMock, in TEST_F()
221 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(testing::_, testing::_)) in TEST_F()
224 EXPECT_CALL(sdbusMock, in TEST_F()
[all …]
H A Dserialization_tests.hpp24 sdbusplus::SdBusMock sdbusMock; variable
25 sdbusplus::bus_t bus = sdbusplus::get_mocked_new(&sdbusMock);
H A Dextensions_test.cpp64 sdbusplus::SdBusMock sdbusMock; in REGISTER_EXTENSION_FUNCTION() local
65 sdbusplus::bus_t bus = sdbusplus::get_mocked_new(&sdbusMock); in REGISTER_EXTENSION_FUNCTION()
/openbmc/phosphor-health-monitor/test/
H A Dtest_health_metric_collection.cpp24 sdbusplus::SdBusMock sdbusMock; member in HealthMetricCollectionTest
25 sdbusplus::bus_t bus = sdbusplus::get_mocked_new(&sdbusMock);
95 EXPECT_CALL(sdbusMock, in TEST_F()
112 EXPECT_CALL(sdbusMock, in TEST_F()
135 EXPECT_CALL(sdbusMock, in TEST_F()
146 EXPECT_CALL(sdbusMock, in TEST_F()
160 EXPECT_CALL(sdbusMock, in TEST_F()
H A Dtest_health_metric.cpp26 sdbusplus::SdBusMock sdbusMock; member in HealthMetricTest
27 sdbusplus::bus_t bus = sdbusplus::get_mocked_new(&sdbusMock);
63 EXPECT_CALL(sdbusMock, sd_bus_emit_properties_changed_strv( in TEST_F()
72 EXPECT_CALL(sdbusMock, sd_bus_emit_properties_changed_strv( in TEST_F()
81 EXPECT_CALL(sdbusMock, in TEST_F()
/openbmc/sdbusplus/test/bus/
H A Dexception.cpp11 sdbusplus::SdBusMock sdbusMock; member in Exception
12 sdbusplus::bus_t bus = sdbusplus::get_mocked_new(&sdbusMock);
/openbmc/phosphor-state-manager/test/
H A Dtest_scheduled_host_transition.cpp28 sdbusplus::SdBusMock sdbusMock; member in phosphor::state::manager::TestScheduledHostTransition
29 sdbusplus::bus_t mockedBus = sdbusplus::get_mocked_new(&sdbusMock);