Home
last modified time | relevance | path

Searched refs:expected_source (Results 1 – 7 of 7) sorted by relevance

/openbmc/sdeventplus/test/source/
H A Dbase.cpp68 sd_event_source* const expected_source = member in sdeventplus::source::__anon6c3f73390111::BaseTest
147 mock, sd_event_source_set_destroy_callback(expected_source, testing::_)) in TEST_F()
149 expect_base_destruct(*event, expected_source); in TEST_F()
150 EXPECT_THROW(BaseImpl(*event, expected_source, std::false_type()), in TEST_F()
162 EXPECT_CALL(mock, sd_event_source_set_destroy_callback(expected_source, in TEST_F()
166 sd_event_source_set_userdata(expected_source, testing::_)) in TEST_F()
169 BaseImpl source(*event, expected_source, std::false_type()); in TEST_F()
171 EXPECT_EQ(expected_source, source.get()); in TEST_F()
175 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in TEST_F()
179 expect_base_destruct(*event, expected_source); in TEST_F()
[all …]
H A Dtime.cpp37 sd_event_source* const expected_source = member in sdeventplus::source::__anon62b35d4d0111::TimeTest
77 .WillOnce(DoAll(SetArgPointee<1>(expected_source), SaveArg<5>(&handler), in TEST_F()
83 EXPECT_CALL(mock, sd_event_source_set_destroy_callback(expected_source, in TEST_F()
87 sd_event_source_set_userdata(expected_source, testing::_)) in TEST_F()
89 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in TEST_F()
97 EXPECT_EQ(expected_source, time.get()); in TEST_F()
108 expect_time_destroy(expected_event, expected_source); in TEST_F()
144 .WillOnce(DoAll(SetArgPointee<1>(expected_source), Return(0))); in SetUp()
148 expected_source, testing::_)) in SetUp()
151 mock, sd_event_source_set_userdata(expected_source, testing::_)) in SetUp()
[all …]
H A Dio.cpp36 sd_event_source* const expected_source = member in sdeventplus::source::__anon8d6417760111::IOTest
53 EXPECT_CALL(mock, sd_event_source_unref(expected_source)) in expect_destruct()
70 .WillOnce(DoAll(SetArgPointee<1>(expected_source), SaveArg<4>(&handler), in TEST_F()
76 EXPECT_CALL(mock, sd_event_source_set_destroy_callback(expected_source, in TEST_F()
80 sd_event_source_set_userdata(expected_source, testing::_)) in TEST_F()
82 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in TEST_F()
144 .WillOnce(DoAll(SetArgPointee<1>(expected_source), Return(0))); in SetUp()
148 expected_source, testing::_)) in SetUp()
151 mock, sd_event_source_set_userdata(expected_source, testing::_)) in SetUp()
153 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in SetUp()
[all …]
H A Devent.cpp36 sd_event_source* const expected_source = member in sdeventplus::source::__anon972e2b400111::EventTest
53 EXPECT_CALL(mock, sd_event_source_unref(expected_source)) in expect_destruct()
68 EXPECT_CALL(mock, sd_event_source_set_destroy_callback(expected_source, in TEST_F()
72 sd_event_source_set_userdata(expected_source, testing::_)) in TEST_F()
74 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in TEST_F()
80 .WillOnce(DoAll(SetArgPointee<1>(expected_source), SaveArg<2>(&handler), in TEST_F()
110 EXPECT_CALL(mock, sd_event_source_set_destroy_callback(expected_source, in TEST_F()
114 sd_event_source_set_userdata(expected_source, testing::_)) in TEST_F()
116 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in TEST_F()
122 .WillOnce(DoAll(SetArgPointee<1>(expected_source), SaveArg<2>(&handler), in TEST_F()
[all …]
H A Dsignal.cpp37 sd_event_source* const expected_source = member in sdeventplus::source::__anon7bac141c0111::SignalTest
54 EXPECT_CALL(mock, sd_event_source_unref(expected_source)) in expect_destruct()
70 .WillOnce(DoAll(SetArgPointee<1>(expected_source), SaveArg<3>(&handler), in TEST_F()
76 EXPECT_CALL(mock, sd_event_source_set_destroy_callback(expected_source, in TEST_F()
80 sd_event_source_set_userdata(expected_source, testing::_)) in TEST_F()
82 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in TEST_F()
143 .WillOnce(DoAll(SetArgPointee<1>(expected_source), Return(0))); in SetUp()
147 expected_source, testing::_)) in SetUp()
150 mock, sd_event_source_set_userdata(expected_source, testing::_)) in SetUp()
152 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in SetUp()
[all …]
H A Dchild.cpp37 sd_event_source* const expected_source = member in sdeventplus::source::__anonf0b8bea20111::ChildTest
54 EXPECT_CALL(mock, sd_event_source_unref(expected_source)) in expect_destruct()
71 .WillOnce(DoAll(SetArgPointee<1>(expected_source), SaveArg<4>(&handler), in TEST_F()
77 EXPECT_CALL(mock, sd_event_source_set_destroy_callback(expected_source, in TEST_F()
81 sd_event_source_set_userdata(expected_source, testing::_)) in TEST_F()
83 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in TEST_F()
144 .WillOnce(DoAll(SetArgPointee<1>(expected_source), Return(0))); in SetUp()
148 expected_source, testing::_)) in SetUp()
151 mock, sd_event_source_set_userdata(expected_source, testing::_)) in SetUp()
153 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in SetUp()
[all …]
/openbmc/sdeventplus/test/utility/
H A Dtimer.cpp52 sd_event_source* const expected_source = member in sdeventplus::utility::__anon9ead1e020111::TimerTest
77 sd_event_source_set_time(expected_source, time.count())) in expectSetTime()
84 expected_source, static_cast<int>(enabled))) in expectSetEnabled()
91 sd_event_source_get_enabled(expected_source, testing::_)) in expectGetEnabled()
122 EXPECT_CALL(mock, sd_event_source_unref(expected_source)) in SetUp()
124 EXPECT_CALL(mock, sd_event_source_set_destroy_callback(expected_source, in SetUp()
128 sd_event_source_set_userdata(expected_source, testing::_)) in SetUp()
131 EXPECT_CALL(mock, sd_event_source_get_userdata(expected_source)) in SetUp()
148 .WillOnce(DoAll(SetArgPointee<1>(expected_source), in SetUp()
172 .WillOnce(DoAll(SetArgPointee<1>(expected_source), SaveArg<5>(&handler), in TEST_F()
[all …]