/test/testfwk/arkxtest/uitest/test/ |
D | ui_model_test.cpp | 144 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/ |
D | config_manager.py | 52 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 …]
|
D | resource_manager.py | 98 tree = ElementTree.parse(file_path) 99 root = tree.getroot()
|
/test/testfwk/arkxtest/uitest/core/ |
D | widget_selector.cpp | 47 …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()
|
D | ui_model.cpp | 319 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 …]
|
D | widget_selector.h | 44 …void Select(const WidgetTree &tree, std::vector<std::reference_wrapper<const Widget>> &results) co…
|
D | ui_driver.cpp | 48 auto tree = make_unique<WidgetTree>(""); in UpdateUi() local 49 tree->ConstructFromDom(hierarchy.second, true); in UpdateUi() 52 trees.push_back(move(tree)); in UpdateUi()
|
D | widget_operator.cpp | 62 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/ |
D | find_widget.cpp | 24 auto tree = driver.GetWidgetTree(); in FindWidget() local 28 tree->DfsTraverse(visitor); in FindWidget()
|
D | ui_record.cpp | 342 auto tree = driver.GetWidgetTree(); in RecordInitEnv() local 343 windowBounds = tree->GetRootWidget()->GetBounds(); in RecordInitEnv()
|
/test/testfwk/xdevice/src/xdevice/_core/config/ |
D | resource_manager.py | 81 tree = ElementTree.parse(filepath) 82 root = tree.getroot()
|
D | config_manager.py | 60 tree = ET.parse(self.file_path) 61 self.config_content = tree.getroot()
|
/test/testfwk/developer_test/src/core/command/ |
D | run.py | 136 tree = ElementTree.parse(latest_report_path) 137 root = tree.getroot()
|
/test/ostest/wukong/component_event/src/ |
D | tree_manager.cpp | 106 for (auto tree : children) { in RecursComponent() local 107 RecursComponent(std::static_pointer_cast<ComponentTree>(tree)); in RecursComponent()
|
/test/ostest/wukong/ |
D | README.md | 22 … # Define the ability, page, Component tree to provide the ability to add nodes, traverse …
|
/test/testfwk/developer_test/ |
D | README.md | 64 Building dependency tree 134 Building dependency tree
|
D | README_zh.md | 7 …- [环境配置](https://gitee.com/openharmony/docs/tree/master/zh-cn/device-dev/subsystems/subsys-testgui…
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
D | reporter_helper.py | 273 tree = ElementTree.ElementTree(element) 274 tree.write(file_name, encoding="UTF-8", xml_declaration=True,
|