/test/testfwk/arkxtest/uitest/test/ |
D | frontend_api_handler_test.cpp | 82 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 r… 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 …]
|
D | widget_selector_test.cpp | 238 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 …]
|
D | ipc_transactor_test.cpp | 155 ASSERT_EQ(result.exception_.code_, ERR_API_USAGE); in TEST() 162 ASSERT_EQ(result.exception_.code_, ERR_INTERNAL); in TEST() 215 ASSERT_EQ(result.exception_.code_, NO_ERROR); in TEST() 262 ASSERT_EQ(result0.exception_.code_, NO_ERROR); in TEST() 263 ASSERT_EQ(result1.exception_.code_, ERR_API_USAGE); in TEST()
|
D | ui_action_test.cpp | 449 ASSERT_EQ(KEYCODE_BACK, event1.code_); in TEST_F() 452 ASSERT_EQ(KEYCODE_BACK, event2.code_); in TEST_F() 467 ASSERT_EQ(KEYCODE_CTRL, event1.code_); in TEST_F() 469 ASSERT_EQ(KEYCODE_V, event2.code_); in TEST_F() 472 ASSERT_EQ(KEYCODE_V, event3.code_); in TEST_F() 474 ASSERT_EQ(KEYCODE_CTRL, event4.code_); in TEST_F() 488 ASSERT_EQ(keyCode, event1.code_); in TEST_F() 491 ASSERT_EQ(keyCode, event2.code_); in TEST_F()
|
D | ui_driver_test.cpp | 97 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/ |
D | widget_operator.cpp | 92 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() 183 if (retrieved == nullptr || error.code_ != NO_ERROR) { in InputText() 228 if (error.code_ != NO_ERROR) { in ScrollFindWidget()
|
D | window_operator.cpp | 194 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()
|
D | frontend_api_defines.h | 72 ErrCode code_; 79 code_ = ec; in ApiCallErr() 85 code_ = ec; in ApiCallErr()
|
D | ui_action.h | 86 int32_t code_; member 280 explicit AnonymousSingleKey(int32_t code) : code_(code) {}; in AnonymousSingleKey() 284 recv.push_back(KeyEvent {ActionStage::DOWN, code_, opt.keyHoldMs_}); in ComputeEvents() 285 recv.push_back(KeyEvent {ActionStage::UP, code_, 0}); in ComputeEvents() 289 const int32_t code_;
|
D | ui_driver.cpp | 138 if (error.code_ != NO_ERROR) { in DumpUiHierarchy() 219 if (err.code_ != NO_ERROR) { in RetrieveWidget() 286 if (err.code_ != NO_ERROR) { in FindWidgets() 332 if (err.code_ != NO_ERROR) { // abort on error in WaitForWidget() 401 if (err.code_ != NO_ERROR) { in FindWindow() 417 if (err.code_ != NO_ERROR) { in RetrieveWindow()
|
D | frontend_api_handler.cpp | 281 ErrCode ec = apiErr.code_; in ErrCodeMapping() 385 if (out.exception_.code_ != NO_ERROR) { in Call() 464 if (error.code_ != NO_ERROR) { in CheckCallArgType() 507 if (out.exception_.code_ != NO_ERROR) { in APiCallInfoChecker() 691 if (out.exception_.code_ != NO_ERROR) { in RegisterUiDriverComponentFinders() 697 out.exception_.code_ = ERR_ASSERTION_FAILED; in RegisterUiDriverComponentFinders() 789 out.resultValue_ = (out.exception_.code_ == NO_ERROR); in RegisterUiDriverMiscMethods1() 1007 out.resultValue_ = (out.exception_.code_ == NO_ERROR); in RegisterUiDriverMultiPointerOperators() 1140 if (out.exception_.code_ != NO_ERROR) { in GenericComponentAttrGetter() 1253 if (out.exception_.code_ != NO_ERROR) { in RegisterUiWindowAttrGetters()
|
/test/testfwk/arkxtest/uitest/server/ |
D | server_main.cpp | 109 if (err.code_ != NO_ERROR) { in DumpLayoutImpl() 135 if (err.code_ == NO_ERROR) { in DumpLayout() 138 } else if (err.code_ != ERR_INITIALIZE_FAILED) { in DumpLayout() 148 if (err.code_ == NO_ERROR) { in DumpLayout()
|
D | system_ui_controller.cpp | 489 if (event.code_ == KEYCODE_NONE) { in InjectKeyEventSequence() 493 auto iter = std::find(downKeys.begin(), downKeys.end(), event.code_); in InjectKeyEventSequence() 495 LOG_W("Cannot release a not-pressed key: %{public}d", event.code_); in InjectKeyEventSequence() 500 keyEvent->SetKeyCode(event.code_); in InjectKeyEventSequence() 503 keyItem.SetKeyCode(event.code_); in InjectKeyEventSequence() 508 downKeys.push_back(event.code_); in InjectKeyEventSequence()
|
/test/testfwk/arkxtest/uitest/addon/ |
D | extension_executor.cpp | 187 const auto errCode = reply.exception_.code_; in CallThroughMessage() 217 EXTENSION_API_CHECK(err.code_ == NO_ERROR, err.message_, err.code_); in AtomicTouch() 260 EXTENSION_API_CHECK(err.code_ == NO_ERROR, err.message_, err.code_); in StartCapture()
|
/test/testfwk/arkxtest/uitest/record/ |
D | find_widget.cpp | 25 if (err.code_ != NO_ERROR) { in FindWidget()
|
/test/testfwk/arkxtest/uitest/connection/ |
D | ipc_transactor.cpp | 96 …et = reply.WriteString(result.resultValue_.dump()) && reply.WriteUint32(result.exception_.code_) && in OnRemoteRequest() 159 result.exception_.code_ = static_cast<ErrCode>(reply.ReadUint32()); in Call() 352 reply.exception_.code_ = ERR_API_USAGE; in Transact() 428 replyWant.SetParam("code", (int)(err.code_)); in SetBroadcastCommandHandler()
|
/test/testfwk/arkxtest/uitest/napi/ |
D | uitest_napi.cpp | 211 ErrCode code = reply.exception_.code_; in UnmarshalReply() 214 } 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()
|
D | ui_event_observer_napi.cpp | 135 if (out.exception_.code_ != NO_ERROR) { in HandleEventCallback()
|