Home
last modified time | relevance | path

Searched refs:mock_observer (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dtask_queue_selector_unittest.cc274 MockObserver mock_observer; in TEST_F() local
275 selector_.SetTaskQueueSelectorObserver(&mock_observer); in TEST_F()
276 EXPECT_CALL(mock_observer, OnTaskQueueEnabled(_)).Times(1); in TEST_F()
285 MockObserver mock_observer; in TEST_F() local
286 selector_.SetTaskQueueSelectorObserver(&mock_observer); in TEST_F()
287 EXPECT_CALL(mock_observer, OnTaskQueueEnabled(_)).Times(0); in TEST_F()
292 MockObserver mock_observer; in TEST_F() local
293 selector_.SetTaskQueueSelectorObserver(&mock_observer); in TEST_F()
306 EXPECT_CALL(mock_observer, OnTaskQueueEnabled(_)).Times(2); in TEST_F()
762 MockObserver mock_observer; in TEST_F() local
[all …]
/external/openscreen/osp/impl/presentation/
Durl_availability_requester_unittest.cc143 MockReceiverObserver mock_observer; in TEST_F() local
144 listener_.AddObserver({url1_}, &mock_observer); in TEST_F()
160 EXPECT_CALL(mock_observer, OnReceiverAvailable(url1_, service_id_)); in TEST_F()
161 EXPECT_CALL(mock_observer, OnReceiverUnavailable(url1_, service_id_)) in TEST_F()
169 MockReceiverObserver mock_observer; in TEST_F() local
170 listener_.AddObserver({url1_}, &mock_observer); in TEST_F()
184 EXPECT_CALL(mock_observer, OnReceiverAvailable(url1_, service_id_)); in TEST_F()
185 EXPECT_CALL(mock_observer, OnReceiverUnavailable(url1_, service_id_)) in TEST_F()
193 MockReceiverObserver mock_observer; in TEST_F() local
194 listener_.AddObserver({url1_}, &mock_observer); in TEST_F()
[all …]
Dpresentation_controller_unittest.cc309 MockReceiverObserver mock_observer; in TEST_F() local
311 Controller::ReceiverWatch watch1(controller_.get(), urls, &mock_observer); in TEST_F()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/
Drx-test.hpp160 class mock_observer class
167 explicit mock_observer(std::shared_ptr<test_type::test_type_state> sc) in mock_observer() function in rxcpp::schedulers::detail::mock_observer
193 auto ts = std::make_shared<mock_observer<T>>(state); in make_subscriber()