Home
last modified time | relevance | path

Searched refs:mock_bus_ (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/dbus/
Dcros_dbus_service_unittest.cc42 mock_bus_ = new dbus::MockBus(options); in SetUp()
45 EXPECT_CALL(*mock_bus_.get(), ShutdownAndBlock()).WillOnce(Return()); in SetUp()
50 new dbus::MockExportedObject(mock_bus_.get(), in SetUp()
55 EXPECT_CALL(*mock_bus_.get(), in SetUp()
68 mock_bus_.get(), mock_proxy_resolution_service_provider); in SetUp()
76 mock_bus_->ShutdownAndBlock(); in TearDown()
80 scoped_refptr<dbus::MockBus> mock_bus_; member in chromeos::CrosDBusServiceTest
Dservice_provider_test_helper.cc36 mock_bus_ = new dbus::MockBus(options); in SetUp()
39 EXPECT_CALL(*mock_bus_.get(), ShutdownAndBlock()).WillOnce(Return()); in SetUp()
44 new dbus::MockExportedObject(mock_bus_.get(), in SetUp()
57 new dbus::MockObjectProxy(mock_bus_.get(), in SetUp()
76 mock_bus_->ShutdownAndBlock(); in TearDown()
79 mock_bus_ = NULL; in TearDown()
Dservice_provider_test_helper.h86 scoped_refptr<dbus::MockBus> mock_bus_; variable
/external/chromium_org/chromeos/dbus/
Dblocking_method_caller_unittest.cc51 mock_bus_ = new dbus::MockBus(options); in SetUp()
55 mock_bus_.get(), in SetUp()
67 EXPECT_CALL(*mock_bus_.get(), in SetUp()
74 EXPECT_CALL(*mock_bus_.get(), GetDBusTaskRunner()) in SetUp()
78 EXPECT_CALL(*mock_bus_.get(), ShutdownAndBlock()).WillOnce(Return()); in SetUp()
82 mock_bus_->ShutdownAndBlock(); in TearDown()
87 scoped_refptr<dbus::MockBus> mock_bus_; member in chromeos::BlockingMethodCallerTest
115 dbus::ObjectProxy* proxy = mock_bus_->GetObjectProxy( in TEST_F()
125 BlockingMethodCaller blocking_method_caller(mock_bus_.get(), proxy); in TEST_F()
Dnfc_client_unittest.cc97 mock_bus_ = new dbus::MockBus(options); in SetUp()
101 mock_bus_.get(), in SetUp()
105 mock_bus_.get(), in SetUp()
109 mock_bus_.get(), in SetUp()
113 mock_bus_.get(), in SetUp()
117 mock_bus_.get(), in SetUp()
121 mock_bus_.get(), in SetUp()
125 mock_bus_.get(), in SetUp()
129 mock_bus_.get(), in SetUp()
133 mock_bus_.get(), in SetUp()
[all …]
Dmodem_messaging_client_unittest.cc61 mock_bus_ = new dbus::MockBus(options); in SetUp()
64 mock_proxy_ = new dbus::MockObjectProxy(mock_bus_.get(), in SetUp()
80 EXPECT_CALL(*mock_bus_.get(), in SetUp()
85 EXPECT_CALL(*mock_bus_.get(), ShutdownAndBlock()).WillOnce(Return()); in SetUp()
89 client_->Init(mock_bus_.get()); in SetUp()
93 mock_bus_->ShutdownAndBlock(); in TearDown()
136 scoped_refptr<dbus::MockBus> mock_bus_; member in chromeos::ModemMessagingClientTest
Dgsm_sms_client_unittest.cc76 mock_bus_ = new dbus::MockBus(options); in SetUp()
79 mock_proxy_ = new dbus::MockObjectProxy(mock_bus_.get(), in SetUp()
94 EXPECT_CALL(*mock_bus_.get(), in SetUp()
99 EXPECT_CALL(*mock_bus_.get(), ShutdownAndBlock()).WillOnce(Return()); in SetUp()
103 client_->Init(mock_bus_.get()); in SetUp()
107 mock_bus_->ShutdownAndBlock(); in TearDown()
166 scoped_refptr<dbus::MockBus> mock_bus_; member in chromeos::GsmSMSClientTest
Dshill_client_unittest_base.cc123 mock_bus_ = new dbus::MockBus(options); in SetUp()
127 mock_bus_.get(), in SetUp()
152 EXPECT_CALL(*mock_bus_.get(), in SetUp()
158 EXPECT_CALL(*mock_bus_.get(), GetDBusTaskRunner()) in SetUp()
162 EXPECT_CALL(*mock_bus_.get(), ShutdownAndBlock()).WillOnce(Return()); in SetUp()
166 mock_bus_->ShutdownAndBlock(); in TearDown()
Dshill_ipconfig_client_unittest.cc37 client_->Init(mock_bus_.get()); in SetUp()
Dshill_client_unittest_base.h189 scoped_refptr<dbus::MockBus> mock_bus_; variable
Dshill_profile_client_unittest.cc45 client_->Init(mock_bus_.get()); in SetUp()
Dshill_service_client_unittest.cc37 client_->Init(mock_bus_.get()); in SetUp()
Dshill_device_client_unittest.cc63 client_->Init(mock_bus_.get()); in SetUp()
Dshill_manager_client_unittest.cc63 client_->Init(mock_bus_.get()); in SetUp()
/external/chromium_org/dbus/
Dmock_unittest.cc34 mock_bus_ = new MockBus(options); in SetUp()
38 mock_bus_.get(), in SetUp()
54 EXPECT_CALL(*mock_bus_.get(), in SetUp()
60 EXPECT_CALL(*mock_bus_.get(), ShutdownAndBlock()).WillOnce(Return()); in SetUp()
64 mock_bus_->ShutdownAndBlock(); in TearDown()
81 scoped_refptr<MockBus> mock_bus_; member in dbus::MockTest
133 ObjectProxy* proxy = mock_bus_->GetObjectProxy( in TEST_F()
162 ObjectProxy* proxy = mock_bus_->GetObjectProxy( in TEST_F()
/external/chromium_org/content/browser/geolocation/
Dwifi_data_provider_linux_unittest.cc31 mock_bus_ = new dbus::MockBus(options); in SetUp()
36 mock_bus_.get(), in SetUp()
51 mock_bus_.get(), in SetUp()
62 mock_bus_.get(), in SetUp()
74 *mock_bus_.get(), in SetUp()
80 *mock_bus_.get(), in SetUp()
88 *mock_bus_.get(), in SetUp()
95 EXPECT_CALL(*mock_bus_.get(), ShutdownAndBlock()).WillOnce(Return()); in SetUp()
100 wifi_provider_linux_->NewWlanApiForTesting(mock_bus_.get())); in SetUp()
109 scoped_refptr<dbus::MockBus> mock_bus_; member in content::GeolocationWifiDataProviderLinuxTest