Home
last modified time | relevance | path

Searched refs:code_ (Results 1 - 19 of 19) sorted by relevance

/test/testfwk/arkxtest/uitest/test/
H A Dwidget_selector_test.cpp238 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
257 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
278 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
301 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
306 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
325 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
330 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
350 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
355 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
381 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
[all...]
H A Dfrontend_api_handler_test.cpp82 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_); in TEST_F()
101 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
106 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_) << "The handler should be unavailable after been removed"; in TEST_F()
123 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
140 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_); in TEST_F()
148 auto handler = [](const ApiCallInfo &in, ApiReplyInfo &out) { out.exception_.code_ = USAGE_ERROR; }; in TEST_F()
155 ASSERT_EQ(USAGE_ERROR, reply.exception_.code_); in TEST_F()
168 out.exception_.code_ = ERR_OPERATION_UNSUPPORTED; in TEST_F()
178 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
185 ASSERT_EQ(ERR_OPERATION_UNSUPPORTED, reply.exception_.code_); in TEST_F()
[all...]
H A Dipc_transactor_test.cpp156 ASSERT_EQ(result.exception_.code_, ERR_API_USAGE); in TEST()
163 ASSERT_EQ(result.exception_.code_, ERR_INTERNAL); in TEST()
216 ASSERT_EQ(result.exception_.code_, NO_ERROR); in TEST()
263 ASSERT_EQ(result0.exception_.code_, NO_ERROR); in TEST()
264 ASSERT_EQ(result1.exception_.code_, ERR_API_USAGE); in TEST()
H A Dui_action_test.cpp452 ASSERT_EQ(KEYCODE_BACK, event1.code_); in TEST_F()
455 ASSERT_EQ(KEYCODE_BACK, event2.code_); in TEST_F()
470 ASSERT_EQ(KEYCODE_CTRL, event1.code_); in TEST_F()
472 ASSERT_EQ(KEYCODE_V, event2.code_); in TEST_F()
475 ASSERT_EQ(KEYCODE_CTRL, event3.code_); in TEST_F()
477 ASSERT_EQ(KEYCODE_V, event4.code_); in TEST_F()
491 ASSERT_EQ(keyCode, event1.code_); in TEST_F()
494 ASSERT_EQ(keyCode, event2.code_); in TEST_F()
H A Dui_driver_test.cpp97 ASSERT_EQ(NO_ERROR, error.code_); in TEST_F()
156 ASSERT_EQ(NO_ERROR, error.code_); in TEST_F()
243 ASSERT_EQ(ERR_COMPONENT_LOST, error.code_); in TEST_F()
/test/testfwk/arkxtest/uitest/core/
H A Dwidget_operator.cpp92 if (error.code_ != NO_ERROR) { in GenericClick()
111 if (error.code_ != NO_ERROR) { in ScrollToEnd()
143 if (widgetFrom == nullptr || error.code_ != NO_ERROR) { in DragIntoWidget()
148 if (widgetTo == nullptr || error.code_ != NO_ERROR) { in DragIntoWidget()
161 if (retrieved == nullptr || error.code_ != NO_ERROR) { in PinchWidget()
176 if (retrieved == nullptr || error.code_ != NO_ERROR) { in InputText()
222 if (error.code_ != NO_ERROR) { in ScrollFindWidget()
H A Dwindow_operator.cpp194 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Split()
206 if (out.exception_.code_ != NO_ERROR) { in Split()
244 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Maximize()
257 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Resume()
270 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Minimize()
283 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Close()
301 if (out.exception_.code_ != NO_ERROR) { in BarAction()
H A Dui_action.h86 int32_t code_; member
280 explicit AnonymousSingleKey(int32_t code) : code_(code) {}; in AnonymousSingleKey()
284 recv.push_back(KeyEvent {ActionStage::DOWN, code_, opt.keyHoldMs_});
285 recv.push_back(KeyEvent {ActionStage::UP, code_, 0});
289 const int32_t code_; member in OHOS::uitest::final
H A Dui_driver.cpp144 if (error.code_ != NO_ERROR) { in DumpUiHierarchy()
225 if (err.code_ != NO_ERROR) { in RetrieveWidget()
293 if (err.code_ != NO_ERROR) { in FindWidgets()
339 if (err.code_ != NO_ERROR) { // abort on error in WaitForWidget()
406 if (err.code_ != NO_ERROR) { in FindWindow()
422 if (err.code_ != NO_ERROR) { in RetrieveWindow()
H A Dfrontend_api_defines.h72 ErrCode code_; member
79 code_ = ec; in ApiCallErr()
85 code_ = ec; in ApiCallErr()
H A Dfrontend_api_handler.cpp289 ErrCode ec = apiErr.code_; in ErrCodeMapping()
394 if (out.exception_.code_ != NO_ERROR) { in Call()
477 if (error.code_ != NO_ERROR) { in CheckCallArgType()
520 if (out.exception_.code_ != NO_ERROR) { in APiCallInfoChecker()
704 if (out.exception_.code_ != NO_ERROR) { in RegisterUiDriverComponentFinders()
710 out.exception_.code_ = ERR_ASSERTION_FAILED; in RegisterUiDriverComponentFinders()
803 out.resultValue_ = (out.exception_.code_ == NO_ERROR); in RegisterUiDriverMiscMethods1()
1021 out.resultValue_ = (out.exception_.code_ == NO_ERROR); in RegisterUiDriverMultiPointerOperators()
1154 if (out.exception_.code_ != NO_ERROR) { in GenericComponentAttrGetter()
1194 if (out.exception_.code_ ! in RegisterExtensionHandler()
[all...]
/test/testfwk/arkxtest/uitest/cj/
H A Duitest_ffi.cpp187 if (err.code_ != uitest::ErrCode::NO_ERROR) { in CJ_ApiCall()
188 ret.code = err.code_; in CJ_ApiCall()
197 if (result.exception_.code_ != uitest::ErrCode::NO_ERROR) { in CJ_ApiCall()
198 ret.code = result.exception_.code_; in CJ_ApiCall()
H A Dui_event_observer_impl.cpp160 if (out.exception_.code_ != NO_ERROR) { in HandleEventCallback()
/test/testfwk/arkxtest/uitest/server/
H A Dserver_main.cpp125 if (err.code_ != NO_ERROR) { in DumpLayoutImpl()
151 if (err.code_ == NO_ERROR) { in DumpLayout()
154 } else if (err.code_ != ERR_INITIALIZE_FAILED) { in DumpLayout()
164 if (err.code_ == NO_ERROR) { in DumpLayout()
/test/testfwk/arkxtest/uitest/connection/
H A Dipc_transactor.cpp97 auto ret = reply.WriteString(result.resultValue_.dump()) && reply.WriteUint32(result.exception_.code_) && in OnRemoteRequest()
160 result.exception_.code_ = static_cast<ErrCode>(reply.ReadUint32()); in Call()
355 reply.exception_.code_ = ERR_API_USAGE; in Transact()
430 if (err.code_ != NO_ERROR) { in SetBroadcastCommandHandler()
435 replyWant.SetParam("code", (int)(err.code_)); in SetBroadcastCommandHandler()
/test/testfwk/arkxtest/uitest/addon/
H A Dextension_executor.cpp152 const auto errCode = reply.exception_.code_; in CallThroughMessage()
182 EXTENSION_API_CHECK(err.code_ == NO_ERROR, err.message_, err.code_); in AtomicTouch()
225 EXTENSION_API_CHECK(err.code_ == NO_ERROR, err.message_, err.code_); in StartCapture()
/test/testfwk/arkxtest/uitest/record/
H A Dfind_widget.cpp26 if (err.code_ != NO_ERROR) { in FindWidget()
/test/testfwk/arkxtest/uitest/napi/
H A Duitest_napi.cpp212 ErrCode code = reply.exception_.code_; in UnmarshalReply()
215 } else if (reply.exception_.code_ != NO_ERROR) { in UnmarshalReply()
374 if (err.code_ != NO_ERROR) { in PreprocessTransaction()
375 error = CreateJsException(env, err.code_, err.message_); in PreprocessTransaction()
H A Dui_event_observer_napi.cpp135 if (out.exception_.code_ != NO_ERROR) { in HandleEventCallback()

Completed in 16 milliseconds