Home
last modified time | relevance | path

Searched refs:mockStub_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/barrierfree/accessibility/frameworks/asacfwk/test/unittest/
H A Daccessibility_element_operator_impl_test.cpp90 if (!mockStub_) {
109 if (!mockStub_) {
127 if (!mockStub_) {
145 if (!mockStub_) {
163 if (!mockStub_) {
182 if (!mockStub_) {
200 if (!mockStub_) {
218 if (!mockStub_) {
234 if (!mockStub_) {
257 if (!mockStub_) {
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_debug_listener_stub_test/
H A Dapp_debug_listener_stub_test.cpp36 sptr<MockAppDebugListenerStub> mockStub_; member in OHOS::AppExecFwk::AppDebugListenerStubTest
66 EXPECT_NE(mockStub_, nullptr);
75 auto result = mockStub_->OnRemoteRequest(
87 EXPECT_NE(mockStub_, nullptr);
93 auto result = mockStub_->OnRemoteRequest(
105 EXPECT_NE(mockStub_, nullptr);
123 EXPECT_NE(mockStub_, nullptr);
142 EXPECT_NE(mockStub_, nullptr);
160 EXPECT_NE(mockStub_, nullptr);
179 EXPECT_NE(mockStub_, nullptr);
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/distributed_file_inner/asset/
H A Dasset_recv_callback_stub_test.cpp59 mockStub_ = nullptr; in TearDownTestCase()
97 mockStub_->opToInterfaceMap_.erase(errCode);
137 auto ret = mockStub_->HandleOnStart(data, reply);
141 ret = mockStub_->HandleOnStart(data, reply);
146 ret = mockStub_->HandleOnStart(data, reply);
152 ret = mockStub_->HandleOnStart(data, reply);
160 ret = mockStub_->HandleOnStart(data, reply);
176 auto ret = mockStub_->HandleOnFinished(data, reply);
180 ret = mockStub_->HandleOnFinished(data, reply);
186 ret = mockStub_->HandleOnFinished(data, reply);
[all …]
H A Dasset_send_callback_stub_test.cpp48 mockStub_ = make_shared<MockAssetSendCallbackStub>(); in SetUpTestCase()
54 mockStub_ = nullptr; in TearDownTestCase()
81 auto ret = mockStub_->OnRemoteRequest(code, data, reply, option);
99 auto ret = mockStub_->OnRemoteRequest(errCode, data, reply, option);
103 mockStub_->opToInterfaceMap_.insert(make_pair(errCode, nullptr));
104 ret = mockStub_->OnRemoteRequest(errCode, data, reply, option);
106 mockStub_->opToInterfaceMap_.erase(errCode);
123 auto ret = mockStub_->OnRemoteRequest(code, data, reply, option);
129 ret = mockStub_->OnRemoteRequest(code, data, reply, option);
136 ret = mockStub_->OnRemoteRequest(code, data, reply, option);
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/distributed_file_inner/
H A Dfile_trans_listener_stub_test.cpp51 mockStub_ = make_shared<MockFileTransListenerStub>(); in SetUpTestCase()
59 mockStub_ = nullptr; in TearDownTestCase()
100 mockStub_->opToInterfaceMap_.erase(errCode);
210 ret = mockStub_->HandleOnFileReceive(data, reply);
215 ret = mockStub_->HandleOnFileReceive(data, reply);
221 ret = mockStub_->HandleOnFileReceive(data, reply);
243 ret = mockStub_->HandleOnFailed(data, reply);
249 ret = mockStub_->HandleOnFailed(data, reply);
256 ret = mockStub_->HandleOnFailed(data, reply);
278 ret = mockStub_->HandleOnFinished(data, reply);
[all …]