Searched refs:Variables (Results 1 – 21 of 21) sorted by relevance
/test/testfwk/xdevice/src/xdevice/ |
D | variables.py | 48 class Variables: class 64 Variables.modules_dir = MODULES_DIR 65 Variables.top_dir = TOP_DIR 66 Variables.res_dir = os.path.abspath(os.path.join( 70 Variables.temp_dir = os.path.join(_get_temp_dir(), "xdevice_data") 71 if not os.path.exists(Variables.temp_dir): 72 os.makedirs(Variables.temp_dir) 75 Variables.report_vars.log_dir = "log" 76 Variables.report_vars.report_dir = "reports" 77 Variables.report_vars.log_format = \ [all …]
|
D | __init__.py | 21 from .variables import Variables
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
D | encrypt.py | 35 from xdevice import Variables 36 if Variables.report_vars.pub_key_string: 37 return Variables.report_vars.pub_key_string 39 if Variables.report_vars.pub_key_file is not None: 40 if Variables.report_vars.pub_key_file == "": 42 if not os.path.exists(Variables.report_vars.pub_key_file): 43 Variables.report_vars.pub_key_file = None 47 pub_key_path = os.path.join(Variables.exec_dir, PUBLIC_KEY_FILE) 49 Variables.report_vars.pub_key_file = pub_key_path 52 pub_key_path = os.path.join(Variables.top_dir, PUBLIC_KEY_FILE) [all …]
|
D | result_reporter.py | 52 from xdevice import Variables 166 report_template = os.path.join(Variables.res_dir, "template") 755 dst_path = os.path.join(Variables.temp_dir, "latest") 971 pyc_path = os.path.join(Variables.res_dir, "tools", "binder.pyc")
|
D | reporter_helper.py | 460 from xdevice import Variables 464 self.template_name = os.path.join(Variables.res_dir, "template",
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
D | request.py | 75 from xdevice import Variables 82 Variables.task_name = start_time.strftime('%Y-%m-%d-%H-%M-%S') 84 Variables.task_name = config.report_path 87 report_path = os.path.join(Variables.exec_dir, 88 Variables.report_vars.report_dir, 89 Variables.task_name) 93 log_path = os.path.join(report_path, Variables.report_vars.log_dir) 102 self.config.top_dir = Variables.top_dir 103 self.config.exec_dir = Variables.exec_dir 112 from xdevice import Variables [all …]
|
D | source.py | 89 from xdevice import Variables 98 Variables.top_dir, "testcases")) 105 testcases_dirs.append(Variables.exec_dir) 106 if os.path.normcase(Variables.exec_dir) != os.path.normcase( 107 Variables.top_dir): 108 testcases_dirs.append(Variables.top_dir) 121 from xdevice import Variables 129 file_name = os.path.join(Variables.exec_dir, file_name)
|
D | concurrent.py | 252 from xdevice import Variables 254 [os.path.join(Variables.exec_dir, "config")])
|
D | scheduler.py | 1403 from xdevice import Variables 1409 data = {"type": stage, "name": Variables.task_name} 1427 data = {"type": stage, "name": Variables.task_name,
|
/test/testfwk/xdevice/src/xdevice/_core/config/ |
D | config_manager.py | 39 from xdevice import Variables 47 user_path = os.path.join(Variables.exec_dir, "config") 48 top_user_path = os.path.join(Variables.top_dir, "config") 49 config_path = os.path.join(Variables.res_dir, "config") 228 from xdevice import Variables 233 return os.path.abspath(os.path.join(Variables.exec_dir, 236 return os.path.abspath(os.path.join(Variables.exec_dir, "testcases")) 239 from xdevice import Variables 247 os.path.join(Variables.exec_dir, resource_dir)) 250 os.path.join(Variables.exec_dir, "resource"))
|
/test/testfwk/developer_test/src/main/ |
D | _init_global_config.py | 88 from xdevice import Variables 89 Variables.exec_dir = sys.framework_root_dir
|
/test/testfwk/xdevice/src/xdevice/_core/ |
D | utils.py | 314 from xdevice import Variables 329 inner_dir = os.path.abspath(os.path.join(Variables.exec_dir, 331 top_inner_dir = os.path.abspath(os.path.join(Variables.top_dir, 333 res_dir = os.path.abspath(os.path.join(Variables.exec_dir, resource_dir)) 334 top_res_dir = os.path.abspath(os.path.join(Variables.top_dir, 337 Variables.exec_dir, Variables.top_dir]) 397 from xdevice import Variables 400 log_path = os.path.join(report_path, Variables.report_vars.log_dir, module_name) 402 log_path = os.path.join(report_path, Variables.report_vars.log_dir)
|
D | logger.py | 98 from xdevice import Variables 103 Variables.report_vars.log_format)) 117 from xdevice import Variables 124 Variables.report_vars.log_format))
|
/test/testfwk/developer_test/src/core/command/ |
D | run.py | 166 from xdevice import Variables 167 latest_report_path = os.path.join(Variables.temp_dir, "latest/summary_report.xml") 288 from xdevice import Variables 289 latest_report_path = os.path.join(Variables.temp_dir, "latest/summary_report.xml")
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
D | device_lite.py | 53 from xdevice import Variables 54 user_path = os.path.join(Variables.exec_dir, "resource/tools") 55 top_user_path = os.path.join(Variables.top_dir, "config") 56 config_path = os.path.join(Variables.res_dir, "config")
|
/test/testfwk/xdevice/src/xdevice/_core/command/ |
D | console.py | 666 from xdevice import Variables 671 Variables.exec_dir, Variables.report_vars.report_dir, session) 687 from xdevice import Variables 688 history_path = os.path.join(Variables.temp_dir, "latest")
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/ |
D | kit_lite.py | 544 from xdevice import Variables 545 report_path = os.path.join(Variables.exec_dir, 546 Variables.report_vars.report_dir, 547 Variables.task_name)
|
/test/testfwk/xdevice/src/xdevice/_core/environment/ |
D | env_pool.py | 385 from xdevice import Variables 386 self.cache_file = os.path.join(Variables.temp_dir, "cache.dat")
|
/test/testfwk/developer_test/src/core/driver/ |
D | lite_driver.py | 333 from xdevice import Variables 341 current_dir = Variables.exec_dir
|
D | drivers.py | 127 from xdevice import Variables 128 log_path = os.path.join(report_path, Variables.report_vars.log_dir) 655 from xdevice import Variables
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
D | drivers_lite.py | 643 from xdevice import Variables 648 request.config.resource_path else Variables.exec_dir
|