Home
last modified time | relevance | path

Searched refs:resource_dir (Results 1 – 10 of 10) sorted by relevance

/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py100 def process_resource_file(resource_dir, preparer_list, device): argument
110 src = os.path.join(resource_dir, push_value[0:pos].strip())
120 src = os.path.join(resource_dir, push_value[0:pos].strip())
135 resource_dir = os.path.join(os.path.dirname(testsuite_filepath),
137 if os.path.exists(resource_dir):
138 xml_filepath = os.path.join(resource_dir, "resource_test.xml")
142 resource_dir = ""
148 return data_dic, resource_dir
151 resource_dir = os.path.abspath(os.path.dirname(xml_filepath))
152 return data_dic, resource_dir
[all …]
Dconfig_manager.py242 resource_dir = data_dic.get("dir", "")
243 if resource_dir:
244 if os.path.isabs(resource_dir):
245 return resource_dir
247 os.path.join(Variables.exec_dir, resource_dir))
/test/testfwk/developer_test/src/core/config/
Dresource_manager.py37 resource_dir = ""
43 return data_dic, resource_dir
46 resource_dir = os.path.abspath(os.path.dirname(xml_filepath))
47 return data_dic, resource_dir
131 def process_resource_file(self, resource_dir, preparer_list, device): argument
140 src = os.path.join(resource_dir, push_value[0:pos].strip())
154 src = os.path.join(resource_dir, push_value[0:pos].strip())
165 def lite_process_resource_file(self, resource_dir, preparer_list): argument
174 src = os.path.join(resource_dir, copy_value[0:pos].strip())
182 src = os.path.join(resource_dir, copy_value[0:pos].strip())
[all …]
/test/testfwk/developer_test/aw/python/distributed/distribute/
Ddistribute.py94 resource_dir = get_resource_dir(self.suite_dir, device.name)
99 device.push_file(os.path.join(resource_dir, target_name),
112 resource_dir = get_resource_dir(self.suite_dir, device.name)
116 device.push_file(os.path.join(resource_dir, target_name),
/test/testfwk/developer_test/aw/python/distributed/common/
Ddrivers.py153 resource_data_dic, resource_dir = \
155 resource_manager.process_preparer_data(resource_data_dic, resource_dir,
/test/testfwk/developer_test/src/core/driver/
Ddrivers.py668 resource_data_dic, resource_dir = resource_manager.get_resource_data_dic(suite_file)
669 resource_manager.process_preparer_data(resource_data_dic, resource_dir,
705 resource_dir,
911 resource_data_dic, resource_dir = resource_manager.get_resource_data_dic(suite_file)
920 resource_manager.process_preparer_data(resource_data_dic, resource_dir, self.config.device)
956 resource_manager.process_cleaner_data(resource_data_dic, resource_dir, self.config.device)
1239 resource_data_dict, resource_dir = \
1242 resource_dir,
1268 resource_manager.process_cleaner_data(resource_data_dict, resource_dir,
Dlite_driver.py190 resource_data_dic, resource_dir = \
192 resource_manager.lite_process_preparer_data(resource_data_dic, resource_dir)
/test/xts/tools/build/
Dsuite.py321 def _archive_test_resource(self, xml_file, root_dir, resource_dir): argument
337 os.path.join(resource_dir, value))
361 os.path.join(resource_dir, value))
/test/testfwk/xdevice/src/xdevice/_core/
Dutils.py315 resource_dir = "resource"
325 if tail in [resource_dir, testcases_dir]:
333 res_dir = os.path.abspath(os.path.join(Variables.exec_dir, resource_dir))
335 resource_dir))
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Dopenharmony.py774 resource_data_dict, resource_dir = \
777 resource_dir,
797 resource_manager.process_cleaner_data(resource_data_dict, resource_dir,