Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 97) sorted by relevance

1234

/test/xts/acts/storage/storageenvironmentjstest/src/main/js/test/
DgetUserDir.test.js19 environment,
38 let path = environment.getDesktopDir();
59 let path = environment.getDesktopDir("123%$&^");
82 let path = environment.getDesktopDir(true);
105 let path = environment.getUserDocumentDir();
126 let path = environment.getUserDocumentDir("123%$&^");
149 let path = environment.getUserDocumentDir(true);
172 let path = environment.getUserDownloadtDir();
193 let path = environment.getUserDownloadDir("123%$&^");
216 let path = environment.getUserDownloadDir(true);
DCommon.js16 import environment from '@ohos.file.environment';
29 environment,
/test/testfwk/xdevice/src/xdevice/
D__init__.py121 from _core.environment.manager_env import DeviceSelectionOption
122 from _core.environment.manager_env import EnvironmentManager
123 from _core.environment.env_pool import EnvPool
124 from _core.environment.env_pool import XMLNode
125 from _core.environment.env_pool import Selector
126 from _core.environment.env_pool import DeviceNode
127 from _core.environment.env_pool import DeviceSelector
128 from _core.environment.env_pool import is_env_pool_run_mode
129 from _core.environment.device_state import DeviceEvent
130 from _core.environment.device_state import TestDeviceState
[all …]
/test/testfwk/xdevice/src/xdevice/_core/executor/
Dconcurrent.py86 def __init__(self, test_driver, task, environment, message_queue): argument
91 self.environment = environment
99 if self.environment is None:
103 listener.device_sn = self.environment.devices[0].device_sn
112 execute_message = ExecuteMessage('', self.environment,
133 if self.environment is None:
139 self.environment.__get_serial__(), exception),
151 for device in config.environment.devices:
155 def _write_device_to_report(result_xml, environment): argument
157 if not os.path.exists(result_xml) or environment is None:
[all …]
Dscheduler.py39 from _core.environment.manager_env import EnvironmentManager
40 from _core.environment.manager_env import DeviceSelectionOption
273 environment = self.__allocate_environment__(
280 if environment:
281 Scheduler.__free_environment__(environment)
287 environment,
395 environment = None
404 environment = env_manager.apply_environment(device_options)
405 if len(environment.devices) == len(device_options):
406 return environment
[all …]
/test/testfwk/xdevice/src/xdevice/_core/environment/
Dmanager_env.py29 from _core.environment.device_state import DeviceAllocationState
101 def __init__(self, environment="", user_config_file=""): argument
105 self.env_start(environment, user_config_file)
108 def env_start(self, environment="", user_config_file=""): argument
111 config_file=user_config_file, env=environment).get_log_level()
120 manager_instance.init_environment(environment,
138 environment = Environment()
144 environment.add_device(device, index)
153 return environment
155 def release_environment(self, environment): argument
[all …]
/test/xts/acts/ability/ability_runtime/context/actsstagecontext/actsstagecontextpropertiestest/entry/src/main/ets/test/
DStageContextPropertiesUpdateConfiguration.test.ets38 environmentId = applicationContext.on('environment', envCallback);
41 applicationContext.off('environment', environmentId);
63 environmentId = applicationContext.on('environment', envCallback);
66 applicationContext.off('environment', environmentId);
106 environmentId = applicationContext.on('environment', envCallback);
109 applicationContext.off('environment', environmentId);
/test/xts/acts/telephony/telephonyjstest/netmanager_socket/entry/src/main/ets/test/
DSocketJsunit.test.ets80 console.info("The environment was not ready");
98 console.info("The environment was not ready");
116 console.info("The environment was not ready");
140 console.info("The environment was not ready");
165 console.info("The environment was not ready");
188 console.info("The environment was not ready");
211 console.info("The environment was not ready");
234 console.info("The environment was not ready");
257 console.info("The environment was not ready");
279 console.info("The environment was not ready");
[all …]
DConnectionJsunit.test.ets45 console.info("The environment was not ready");
68 console.info("The environment was not ready");
90 console.info("The environment was not ready");
112 console.info("The environment was not ready");
134 console.info("The environment was not ready");
164 console.info("The environment was not ready");
194 console.info("The environment was not ready");
215 console.info("The environment was not ready");
238 console.info("The environment was not ready");
261 console.info("The environment was not ready");
[all …]
DConnectionSecondJsUnit.test.ets31 console.info("The environment was not ready");
85 console.info("The environment was not ready");
135 console.info("The environment was not ready");
179 console.info("The environment was not ready");
221 console.info("The environment was not ready");
245 console.info("The environment was not ready");
285 console.info("The environment was not ready");
309 console.info("The environment was not ready");
349 console.info("The environment was not ready");
380 console.info("The environment was not ready");
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/
Dmanager_device.py43 from ohos.environment.dmlib import DeviceConnector
44 from ohos.environment.dmlib import HDC_NAME
45 from ohos.environment.dmlib import HDC_STD_NAME
70 def init_environment(self, environment="", user_config_file=""): argument
71 self._start_device_monitor(environment, user_config_file)
76 def _start_device_monitor(self, environment="", user_config_file=""): argument
79 config_file=user_config_file, env=environment).get_device(
87 config_file=user_config_file, env=environment).get_sn_list(
/test/testfwk/xdevice/
DREADME.md20 - **environment**: configures the test framework environment, enabling device discovery and devic…
29 │ ├── user_config.xml # XDevice environment configuration
40 The environment requirements for using this module are as follows:
69 Configure information about your environment in the **user\_config.xml** file.
71 **1. Configure the environment.**
73 … For devices that support hdc connection, refer to the following note to configure the environment.
79 …ices that support serial port connection, refer to the following note to configure the environment.
99 >**server/ip**: IP address of the mounting environment
100 >**server/port**: port number of the mounting environment
196 …>**-tcpath**: indicates the environment directory, which is **xxx/xdevice/testcases** by default…
DREADME_zh.md20 - environment,测试框架的环境配置模块,提供设备发现,设备管理的功能。
72 1. **environment环境相关配置**
77 <environment>
117 </environment>
183 //environment设置为可选,如不设置,将从框架中注册的设备中选择一个符合的空闲设备执行用例
184 "environment":{
/test/xts/acts/hiviewdfx_lite/hievent_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/distributeddatamgr_lite/dbm_kv_store_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/distributeddatamgr_lite/kv_store_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/startup_lite/syspara_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/applications/kitframework/
DTest.tmpl3 "environment": [
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/communication_lite/wifiservice_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/xts_lite/device_attest_lite/device_attestStart_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/kernel_lite/kernelcmsis_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/communication_lite/lwip_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/update_lite/dupdate_hal/
DTest.tmpl3 "environment": [
/test/xts/acts/sample_lite/hctest_hal/
DTest.tmpl3 "environment": [

1234