/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/ |
H A D | js_component_test_utils.h | 29 using ErrInfo = OHOS::Ace::ComponentTest::ErrInfo; 30 using ErrCode = OHOS::Ace::ComponentTest::ErrCode; 57 ComponentTest::ComponentTestMatcherImpl* matcherImpl = nullptr; 58 ComponentTest::ComponentTestTesterImpl* testerImpl = nullptr; 59 ComponentTest::ComponentTestComponentImpl* componentImpl = nullptr; 73 ComponentTest::UiDirection direction = ComponentTest::UiDirection::TO_LEFT; 83 ComponentTest::ComponentTestMatcherImpl* GetMatcher(napi_env env, napi_value napiMatcher); 95 ComponentTest::ComponentTestManagerProxy::Record( \ 96 std::string(errInfo.message), ss.str(), OHOS::Ace::ComponentTest [all...] |
H A D | js_component_test.cpp | 67 ComponentTest::ComponentTestManagerProxy::RequestContinuousIdleStatusNotification([]() { in JSLoadComponentTestEntry() 68 LOGI("Previewer ComponentTest %{public}s Finished.", in JSLoadComponentTestEntry() 69 ComponentTest::ComponentTestManagerProxy::GetTestConfigPage().c_str()); in JSLoadComponentTestEntry() 70 ComponentTest::ComponentTestManagerProxy::Finish(); in JSLoadComponentTestEntry() 76 ComponentTest::TestCaseSize JSDefineTestGetCaseSize(napi_env env, napi_value arg) in JSDefineTestGetCaseSize() 82 ErrCode::RET_ERROR_PARAM_INVALID, "Failed to get parameter", ComponentTest::TestCaseSize::INVALID_SIZE); in JSDefineTestGetCaseSize() 85 ErrCode::RET_ERROR_PARAM_INVALID, "Failed to get parameter", ComponentTest::TestCaseSize::INVALID_SIZE); in JSDefineTestGetCaseSize() 87 "Parameter attr.size is not of type number", ComponentTest::TestCaseSize::INVALID_SIZE); in JSDefineTestGetCaseSize() 89 ErrCode::RET_ERROR_PARAM_INVALID, "Failed to get parameter", ComponentTest::TestCaseSize::INVALID_SIZE); in JSDefineTestGetCaseSize() 91 testCaseSize >= ComponentTest in JSDefineTestGetCaseSize() [all...] |
H A D | js_component_test_matcher.cpp | 80 ComponentTest::ComponentTestMatcherImpl* matcherImpl = new (std::nothrow) ComponentTest::ComponentTestMatcherImpl(); in Constructor() 89 ComponentTest::ComponentTestMatcherImpl* matcherImpl = in Destructor() 90 reinterpret_cast<ComponentTest::ComponentTestMatcherImpl*>(data); in Destructor() 122 ComponentTest::ComponentTestMatcherImpl* matcherImpl = GetMatcher(env, thisVar); in JSText() 131 ComponentTest::MatchType enumValue = static_cast<ComponentTest::MatchType>(matchType); in JSText() 151 ComponentTest::ComponentTestMatcherImpl* matcherImpl = GetMatcher(env, thisVar); in JSId() 169 ComponentTest::ComponentTestMatcherImpl* matcherImpl = GetMatcher(env, thisVar); in JSType() 190 ComponentTest in GenericBoolCallback() [all...] |
H A D | js_component_test_tester.cpp | 113 ComponentTest::ComponentTestTesterImpl* testerImpl = new (std::nothrow) ComponentTest::ComponentTestTesterImpl(); in Constructor() 122 ComponentTest::ComponentTestTesterImpl* testerImpl = in Destructor() 123 reinterpret_cast<ComponentTest::ComponentTestTesterImpl*>(data); in Destructor() 162 ComponentTest::ComponentTestManagerProxy::ClaimLongOperation(); in JSPump() 167 ComponentTest::ComponentTestManagerProxy::LongOperationComplete(); in JSPump() 193 ComponentTest::ComponentTestManagerProxy::PostJSTask( in JSFindComponent() 201 ComponentTest::ComponentTestComponentImpl* componentImpl = in JSFindComponent() 230 ComponentTest::ComponentTestManagerProxy::PostJSTask( in JSFindComponents() 238 std::unique_ptr<std::vector<ComponentTest in JSFindComponents() [all...] |
H A D | js_component_test_component.cpp | 97 ComponentTest::ComponentTestComponentImpl* componentImpl = in Constructor() 98 new (std::nothrow) ComponentTest::ComponentTestComponentImpl(); in Constructor() 107 ComponentTest::ComponentTestComponentImpl* componentImpl = in Destructor() 108 reinterpret_cast<ComponentTest::ComponentTestComponentImpl*>(data); in Destructor() 125 ComponentTest::ComponentTestManagerProxy::PostJSTask( in JSTap() 148 ComponentTest::ComponentTestManagerProxy::PostJSTask( in JSDoubleTap() 182 ComponentTest::ComponentTestManagerProxy::PostJSTask( in JSPress() 214 ComponentTest::ComponentTestManagerProxy::PostJSTask( in JSPinchOut() 246 ComponentTest::ComponentTestManagerProxy::PostJSTask( in JSPinchIn() 278 ComponentTest in JSInputText() [all...] |
H A D | js_component_test_utils.cpp | 38 ComponentTest::ComponentTestMatcherImpl* GetMatcher(napi_env env, napi_value napiMatcher) in GetMatcher() 40 ComponentTest::ComponentTestMatcherImpl* matcherImpl = nullptr; in GetMatcher()
|
H A D | js_component_test_component.h | 54 napi_env env, napi_value* result, ComponentTest::ComponentTestComponentImpl* componentImpl);
|
/foundation/arkui/ace_engine/frameworks/component_test/ |
H A D | test_config.h | 23 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 39 } // namespace OHOS::Ace::ComponentTest
|
H A D | pipeline_status.h | 19 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 93 } // namespace OHOS::Ace::ComponentTest
|
H A D | test_config.cpp | 26 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 59 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_manager.h | 24 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 39 } // namespace OHOS::Ace::ComponentTest
|
H A D | test_task_scheduler.h | 27 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 41 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_proxy.h | 24 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 43 } // namespace OHOS::Ace::ComponentTest
|
H A D | idle_watcher.h | 29 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 69 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_manager_impl.h | 28 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 64 } // namespace OHOS::Ace::ComponentTest
|
H A D | test_task_scheduler.cpp | 21 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 72 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_proxy.cpp | 23 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 81 } // namespace OHOS::Ace::ComponentTest
|
H A D | idle_watcher.cpp | 25 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 163 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_manager_impl.cpp | 24 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 117 } // namespace OHOS::Ace::ComponentTest
|
H A D | test_result_recorder.h | 24 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 174 } // namespace OHOS::Ace::ComponentTest
|
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | component_test_matcher_impl.h | 24 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 79 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_tester_impl.h | 26 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 59 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_component_impl.h | 28 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 79 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_matcher_impl.cpp | 24 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 151 } // namespace OHOS::Ace::ComponentTest
|
H A D | component_test_component_impl.cpp | 50 namespace OHOS::Ace::ComponentTest { namespace in OHOS::Ace 327 if (OHOS::Ace::ComponentTest::GetTextByPattern(frameNode, buff)) { in GetTextImpl() 329 } else if (OHOS::Ace::ComponentTest::GetTextByEventHub(frameNode, buff)) { in GetTextImpl() 331 } else if (OHOS::Ace::ComponentTest::GetTextByAccessibilityProperty(frameNode, buff)) { in GetTextImpl() 333 } else if (OHOS::Ace::ComponentTest::GetTextByLayoutProperty(frameNode, buff)) { in GetTextImpl() 780 } // namespace OHOS::Ace::ComponentTest
|