Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 18 of 18) sorted by relevance

/test/testfwk/arkxtest/uitest/test/
Dui_model_test.cpp144 WidgetTree tree("tree"); in TEST() local
145 tree.ConstructFromDom(dom, false); in TEST()
149 tree.DfsTraverse(visitor); in TEST()
167 WidgetTree tree("tree"); in TEST() local
168 tree.ConstructFromDom(dom, false); in TEST()
170 tree.DfsTraverse(visitor); in TEST()
181 WidgetTree tree("tree"); in TEST() local
182 tree.ConstructFromDom(dom, false); in TEST()
184 tree.DfsTraverse(visitor); in TEST()
186 auto rootPtr = tree.GetRootWidget(); in TEST()
[all …]
/test/testfwk/developer_test/src/core/config/
Dconfig_manager.py52 tree = ET.parse(self.filepath)
55 root = tree.getroot()
74 tree = ET.parse(self.filepath)
75 root = tree.getroot()
110 tree = ET.parse(self.filepath)
111 root = tree.getroot()
147 tree = ET.parse(self.filepath)
148 root = tree.getroot()
182 tree = ET.parse(self.filepath)
183 root = tree.getroot()
[all …]
Dresource_manager.py98 tree = ElementTree.parse(file_path)
99 root = tree.getroot()
/test/testfwk/arkxtest/uitest/core/
Dwidget_selector.cpp47 …static bool CheckHasLocator(const WidgetTree &tree, const Widget &widget, const WidgetMatcher &mat… in CheckHasLocator() argument
53 tree.DfsTraverseFronts(collector, widget); in CheckHasLocator()
55 tree.DfsTraverseRears(collector, widget); in CheckHasLocator()
60 …void WidgetSelector::Select(const WidgetTree &tree, vector<std::reference_wrapper<const Widget>> &… in Select() argument
64 tree.DfsTraverse(selfCollector); in Select()
80 if (!CheckHasLocator(tree, result.get(), locatorMatcher, front)) { in Select()
Dui_model.cpp319 static void DfsMarshalWidget(const WidgetTree& tree, const Widget& root, nlohmann::json& dom, in DfsMarshalWidget() argument
343 auto child = tree.GetChildWidget(root, childIndex); in DfsMarshalWidget()
349 DfsMarshalWidget(tree, *child, childData, widgetChildCountMap); in DfsMarshalWidget()
440 void PrepareToVisitSubTree(const WidgetTree &tree);
465 void MergerVisitor::PrepareToVisitSubTree(const WidgetTree &tree) in PrepareToVisitSubTree() argument
467 auto root = tree.GetRootWidget(); in PrepareToVisitSubTree()
534 auto merger = [&hierarchyPrefix, &tree = to](const Widget &widget, const Rect &bounds) { in MergeTrees()
536 auto newWidget = widget.Clone(tree.identifier_, newHierarchy); in MergeTrees()
538 tree.widgetMap_.insert(make_pair(newHierarchy, move(*newWidget))); in MergeTrees()
539 tree.widgetHierarchyIdDfsOrder_.emplace_back(newHierarchy); in MergeTrees()
[all …]
Dwidget_selector.h44 …void Select(const WidgetTree &tree, std::vector<std::reference_wrapper<const Widget>> &results) co…
Dui_driver.cpp48 auto tree = make_unique<WidgetTree>(""); in UpdateUi() local
49 tree->ConstructFromDom(hierarchy.second, true); in UpdateUi()
52 trees.push_back(move(tree)); in UpdateUi()
Dwidget_operator.cpp62 auto tree = driver.GetWidgetTree(); in TakeScopeUiSnapshot() local
63 if (tree != nullptr) { in TakeScopeUiSnapshot()
64 tree->DfsTraverseDescendants(snapshotTaker, root); in TakeScopeUiSnapshot()
/test/testfwk/arkxtest/uitest/record/
Dfind_widget.cpp24 auto tree = driver.GetWidgetTree(); in FindWidget() local
28 tree->DfsTraverse(visitor); in FindWidget()
Dui_record.cpp342 auto tree = driver.GetWidgetTree(); in RecordInitEnv() local
343 windowBounds = tree->GetRootWidget()->GetBounds(); in RecordInitEnv()
/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py81 tree = ElementTree.parse(filepath)
82 root = tree.getroot()
Dconfig_manager.py60 tree = ET.parse(self.file_path)
61 self.config_content = tree.getroot()
/test/testfwk/developer_test/src/core/command/
Drun.py136 tree = ElementTree.parse(latest_report_path)
137 root = tree.getroot()
/test/ostest/wukong/component_event/src/
Dtree_manager.cpp106 for (auto tree : children) { in RecursComponent() local
107 RecursComponent(std::static_pointer_cast<ComponentTree>(tree)); in RecursComponent()
/test/ostest/wukong/
DREADME.md22 … # Define the ability, page, Component tree to provide the ability to add nodes, traverse …
/test/testfwk/developer_test/
DREADME.md64 Building dependency tree
134 Building dependency tree
DREADME_zh.md7 …- [环境配置](https://gitee.com/openharmony/docs/tree/master/zh-cn/device-dev/subsystems/subsys-testgui…
/test/testfwk/xdevice/src/xdevice/_core/report/
Dreporter_helper.py273 tree = ElementTree.ElementTree(element)
274 tree.write(file_name, encoding="UTF-8", xml_declaration=True,