/openbmc/sdeventplus/test/source/ |
H A D | base.cpp | 68 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 D | time.cpp | 37 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 D | io.cpp | 36 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 D | event.cpp | 36 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 D | signal.cpp | 37 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 D | child.cpp | 37 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 D | timer.cpp | 52 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 …]
|