Home
last modified time | relevance | path

Searched refs:child (Results 1 - 25 of 29) sorted by relevance

12

/test/ostest/wukong/component_event/include/
H A Dwukong_tree.h27 static const std::shared_ptr<WuKongTree> GetRoot(const std::shared_ptr<WuKongTree>& child) in GetRoot() argument
29 if (child->GetParent() == nullptr) { in GetRoot()
30 return child; in GetRoot()
32 return GetRoot(child->GetParent()); in GetRoot()
72 * @brief Get node children pointer, return 0 if no child.
112 virtual void AddChild(const std::shared_ptr<WuKongTree>& child) in AddChild() argument
114 children_.push_back(child); in AddChild()
/test/testfwk/developer_test/src/core/config/
H A Dconfig_manager.py112 for child in root:
113 if child.tag != target_name:
115 for child2 in child:
149 for child in root:
150 temp_list = [child.attrib]
151 for sub in child:
195 for child in root:
196 if tag_name == child.tag:
197 for sub in child:
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dresult_reporter.py481 for child in root:
482 child.tail = self.data_helper.LINE_BREAK_INDENT
483 if not child.get(ReportConstant.module_name) or child.get(
486 child.set(ReportConstant.module_name, module_name)
487 self._check_tests_and_unavailable(child)
489 for element in child:
492 ignored = int(child.get(ReportConstant.ignored, 0)) + 1
493 child.set(ReportConstant.ignored, "%s" % ignored)
494 test_suite_elements.append(child)
[all...]
H A Dreporter_helper.py381 for child in element:
384 for key, value in child.items():
386 if len(child) > 0:
390 message = child[0].get(ReportConstant.message, "")
391 if child[0].text and message != child[0].text:
392 message = "%s\n%s" % (message, child[0].text)
574 for child in self.summary_element:
576 suite.module_name = child.get(ReportConstant.module_name,
578 suite.name = child
[all...]
H A Dsuite_reporter.py211 child = test_case_elements[-1]
212 child.tail = self.data_helper.LINE_BREAK_INDENT
/test/ostest/wukong/component_event/src/
H A Dcomponent_tree.cpp42 for (auto child : children_) { in RecursUpdateInfo()
44 if (child->IsEqual(sourceChild)) { in RecursUpdateInfo()
45 std::static_pointer_cast<ComponentTree>(child)->RecursUpdateInfo( in RecursUpdateInfo()
H A Dwukong_tree.cpp23 for (auto child : children_) { in RecursUpdateNodeIndex()
24 child->RecursUpdateNodeIndex(offset); in RecursUpdateNodeIndex()
H A Dpage_tree.cpp59 // recurs child. in RecursStatistics()
60 for (auto child : parent->GetChildren()) { in RecursStatistics()
61 RecursStatistics(std::static_pointer_cast<ComponentTree>(child)); in RecursStatistics()
H A Dtree_manager.cpp66 // Get child AccessibilityElementInfo from Accessibility. in RecursGetChildElementInfo()
73 TRACK_LOG_STR("GetChildElementInfo child ID (%d), child count (%d), Type (%s)", in RecursGetChildElementInfo()
77 // save child AccessibilityElementInfo. in RecursGetChildElementInfo()
94 // Recurs get child AccessibilityElementInfo. in RecursGetChildElementInfo()
151 for (auto child : abilityNode->GetChildren()) { in FindAbility()
152 if (FindAbility(std::static_pointer_cast<AbilityTree>(child))) { in FindAbility()
431 ERROR_LOG_STR("UpdatePage child index (%d) more than elementInfoList_ GetChildren() size (%u)", index, in UpdatePage()
/test/testfwk/arkxtest/uitest/test/
H A Dmock_element_node_iterator.h116 auto child = obj["children"]; in DFSVisitJson() local
117 const size_t childCount = child.size(); in DFSVisitJson()
123 DFSVisitJson(eles, child.at(idx), childHierachy); in DFSVisitJson()
133 auto child = data["children"]; in ConstructIteratorByJson() local
/test/testfwk/arkxtest/uitest/core/
H A Dui_driver.cpp123 nlohmann::json child = nlohmann::json(); in DumpWindowsInfo() local
128 DumpHandler::DumpWindowInfoToJson(visitWidgets_, child); in DumpWindowsInfo()
130 child["attributes"]["abilityName"] = winCache.window_.abilityName_; in DumpWindowsInfo()
131 child["attributes"]["bundleName"] = winCache.window_.bundleName_; in DumpWindowsInfo()
132 child["attributes"]["pagePath"] = winCache.window_.pagePath_; in DumpWindowsInfo()
133 childDom.emplace_back(child); in DumpWindowsInfo()
H A Ddump_handler.cpp126 auto &child = childrenData.at(idx); in AddExtraAttrs() local
127 AddExtraAttrs(child, elementTrees, index); in AddExtraAttrs()
/test/testfwk/arkxtest/jsunit/src/module/report/
H A DReportExtend.js124 for (let child of json[key]) {
125 childrenStr += json2xml(child);
/test/xts/hats/kernel/freelist/safe_unlink/
H A DMalloc_safe_unlink.cpp94 static int child(void) in child() function
138 ret = child(); in start_child()
139 printf("child process normally out with %d\n", ret); in start_child()
187 ASSERT_TRUE(WTERMSIG(status) == SIGSEGV || WTERMSIG(status) == SIGILL) << "child process out with %s\n" << in HWTEST_F()
190 ASSERT_TRUE(false) << "child process finished normally\n"; in HWTEST_F()
/test/xts/hats/kernel/freelist/modify_pointer/
H A DMalloc_modify_pointer.cpp84 static int child(void) in child() function
119 ret = child(); in start_child()
120 printf("child process normally out with %d\n", ret); in start_child()
168 ASSERT_TRUE(WTERMSIG(status) == SIGSEGV || WTERMSIG(status) == SIGILL) << "child process out with %s\n" << in HWTEST_F()
171 ASSERT_TRUE(false) << "child process finished normally\n"; in HWTEST_F()
/test/xts/hats/kernel/freelist/encode_pointer/
H A DMalloc_encode_pointer.cpp81 static int child(void) { in child() function
128 ret = child(); in start_child()
129 printf("child process normally out with %d\n", ret); in start_child()
177 ASSERT_TRUE(WTERMSIG(status) == SIGSEGV || WTERMSIG(status) == SIGILL) << "child process out with %s\n" << in HWTEST_F()
180 ASSERT_TRUE(false) << "child process finished normally\n"; in HWTEST_F()
/test/testfwk/developer_test/src/core/command/
H A Drun.py270 for child in root:
271 print(child.tag, ":", child.attrib)
272 for grand in child:
/test/testfwk/xdevice/src/xdevice/_core/config/
H A Dconfig_manager.py242 is_top: bool, when the element has no child and if is the top, result as dict else as text
314 for child in self.config_content:
315 if tag_name == child.tag:
316 for sub in child:
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dupload.py74 for child in task_element:
75 if child.get(ReportConstant.message, ""):
77 error_msg, "%s;" % child.get(ReportConstant.message))
/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dfile_util.py152 for child in os.listdir(folder):
153 if child == ".svn":
156 folder_file = os.path.join(folder, child)
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/gestureScroll/
H A Dgesture_interfaceTest.h40 void setChildRecognizer(ArkUI_GestureRecognizer *child);
H A Dgesture_interfaceTest.cpp81 "GestureInterruptFunc get SetCurrentRecognizer %{public}p child %{public}p", in GestureInterruptFunc()
154 " ParallelInnerGestureFunc trigger find child pan"); in ParallelInnerGestureFunc()
160 "ParallelInnerGestureFunc set SetCurrentRecognizer %{public}p child %{public}p", in ParallelInnerGestureFunc()
332 "panGesture update state current %{public}d child %{public}d", *childState, in CreateNativeNode()
411 void GestureInterfaceTest::setChildRecognizer(ArkUI_GestureRecognizer *child) { childRecognizer_ = child; } in setChildRecognizer() argument
/test/xts/acts/demo/sectest/poc_patch_scan/2022-09/OpenHarmony-SA-2022-0901/
H A Dpoc.cpp25 struct cJSON *child; member
/test/ostest/wukong/input_factory/src/
H A Dcomponent_input.cpp131 for (auto child : parent->GetChildren()) { in CheckBundleFinished()
132 if (!CheckBundleFinished(std::static_pointer_cast<AbilityTree>(child))) { in CheckBundleFinished()
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddmlib.py538 for child in os.listdir(local):
539 file_path = os.path.join(local, child)
542 file_path, "%s/%s" % (remote, child),
545 self.do_push_file(file_path, "%s/%s" % (remote, child))

Completed in 16 milliseconds

12