Home
last modified time | relevance | path

Searched refs:Variables (Results 1 – 21 of 21) sorted by relevance

/test/testfwk/xdevice/src/xdevice/
Dvariables.py48 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__.py21 from .variables import Variables
/test/testfwk/xdevice/src/xdevice/_core/report/
Dencrypt.py35 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 …]
Dresult_reporter.py52 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")
Dreporter_helper.py460 from xdevice import Variables
464 self.template_name = os.path.join(Variables.res_dir, "template",
/test/testfwk/xdevice/src/xdevice/_core/executor/
Drequest.py75 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 …]
Dsource.py89 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)
Dconcurrent.py252 from xdevice import Variables
254 [os.path.join(Variables.exec_dir, "config")])
Dscheduler.py1403 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/
Dconfig_manager.py39 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.py88 from xdevice import Variables
89 Variables.exec_dir = sys.framework_root_dir
/test/testfwk/xdevice/src/xdevice/_core/
Dutils.py314 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)
Dlogger.py98 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/
Drun.py166 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/
Ddevice_lite.py53 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/
Dconsole.py666 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/
Dkit_lite.py544 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/
Denv_pool.py385 from xdevice import Variables
386 self.cache_file = os.path.join(Variables.temp_dir, "cache.dat")
/test/testfwk/developer_test/src/core/driver/
Dlite_driver.py333 from xdevice import Variables
341 current_dir = Variables.exec_dir
Ddrivers.py127 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/
Ddrivers_lite.py643 from xdevice import Variables
648 request.config.resource_path else Variables.exec_dir