/test/testfwk/xdevice/src/xdevice/_core/executor/ |
D | source.py | 296 filename, _ = get_filename_extension(file_path) 297 uid = unique_id("TestSource", filename) 300 os.path.join(os.path.dirname(file_path), filename)) 302 module_name = _parse_module_name(config_file, filename) 304 desc = Descriptor(uuid=uid, name=filename, 305 source=TestSource(file_path, "", config_file, filename, 324 filename, ext = test_source.split()[0], "str" 326 filename, ext = get_filename_extension(test_source) 334 os.path.join(os.path.dirname(test_source), filename), ext, config) 344 os.path.join(os.path.dirname(test_source), filename), [all …]
|
/test/testfwk/developer_test/aw/python/distributed/common/ |
D | common.py | 75 def create_empty_result_file(savepath, filename, message=""): argument 81 if filename.endswith(".hap"): 82 filename = filename.split(".")[0] 96 (filename, message))
|
D | drivers.py | 47 def make_long_command_file(command, longcommand_path, filename): argument 48 sh_file_name = '%s.sh' % filename
|
D | devices.py | 47 filename = os.path.basename(hap_filepath) 52 "%s.bak" % filename))
|
/test/xts/acts/multimedia_lite/utils_posix/common/src/ |
D | ActsTestMediaUtils.cpp | 43 int32_t FileCheck(const char *filename) in FileCheck() argument 46 fileTmp.open(filename); in FileCheck() 77 const char *filename = filePath.data(); in SampleSaveCapture() local 78 int32_t ret = FileCheck(filename); in SampleSaveCapture()
|
/test/xts/acts/hiviewdfx/utils/native/ |
D | file_utils.h | 33 std::string ReadFile(std::string filename); 39 int GetTxtLine(std::string filename); 40 std::string ReadFile(std::string filename);
|
D | file_utils.cpp | 163 int GetTxtLine(std::string filename) in GetTxtLine() argument 165 FILE *fd = fopen(filename.c_str(), "r"); in GetTxtLine() 181 std::string ReadFile(std::string filename) in ReadFile() argument 183 std::ifstream ifile(filename); in ReadFile()
|
/test/testfwk/developer_test/src/core/driver/ |
D | drivers.py | 153 def _create_empty_result_file(filepath, filename, error_message): argument 159 if filename.endswith(".hap"): 160 filename = filename.split(".")[0] 174 (filename, error_message)) 206 def _create_fuzz_crash_file(filepath, filename): argument 218 'errors="0" failures="1" tests="1">\n' % filename) 221 'status="run">\n' % (filename, filename)) 231 def _create_fuzz_pass_file(filepath, filename): argument 243 'errors="0" failures="0" tests="1">\n' % filename) 246 'status="run"/>\n' % (filename, filename)) [all …]
|
/test/xts/acts/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/test/ |
D | Hidebug.test.js | 121 let filename = 'cpuprofiler-' + timestamp.toString(); 122 console.info(filename); 123 let path = '/data/app/el2/100/base/com.hidebug.test/files/' + filename + '.json' 124 hidebug.startProfiling(filename); 229 let filename = 'heap-' + timestamp.toString(); 230 console.info(filename); 231 let path = '/data/app/el2/100/base/com.hidebug.test/files/' + filename + '.heapsnapshot' 232 hidebug.dumpHeapData(filename); 422 let filename = "cpuprofiler_" + timestamp.toString(); 423 hidebug.startJsCpuProfiling(filename); [all …]
|
/test/xts/tools/lite/reliability/ |
D | NativePressTest.py | 92 for filename in filenames: 93 print("Get exception file " + filename) 95 filename + " " + testScriptPath + "\\faultlog\\") 97 filename + " " + testScriptPath + "\\faultlog\\")
|
/test/xts/acts/multimedia_lite/utils_posix/common/include/ |
D | ActsTestMediaUtils.h | 49 int32_t FileCheck(const char *filename);
|
/test/testfwk/developer_test/src/core/ |
D | utils.py | 29 filename, ext = os.path.splitext(fullname) 30 return filename, ext 183 filename = os.path.basename(suite_file) 184 suitename = filename.split("FuzzTest")[0]
|
/test/xts/acts/commonlibrary/ets_utils/threadWorker_lib_standard/entry/src/main/ets/workers/ |
D | newworker.js | 50 …or " + data.lineno + ", msg = " + data.message + ", filename = " + data.filename + ", colno = " + …
|
/test/xts/acts/commonlibrary/ets_utils/worker_lib_standard/entry/src/main/ets/workers/ |
D | worker.js | 54 …or " + data.lineno + ", msg = " + data.message + ", filename = " + data.filename + ", colno = " + …
|
/test/testfwk/xdevice/src/xdevice/_core/config/ |
D | resource_manager.py | 96 filename, ext = os.path.splitext(fullname) 97 return filename, ext
|
/test/xts/acts/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/ |
D | webviewpageLackattr.ets | 267 .then(filename => { 268 if (filename != null) { 269 console.info(`save web archive success: ${filename}`) 274 "STATUS": filename
|
/test/xts/acts/request/RequestTest_ets/entry/src/main/ets/test/ |
D | requestSystem.test.ets | 45 filename: 'file.txt', 90 filename: 'requestSystenTest',
|
/test/xts/tools/build/ |
D | utils.py | 185 for filename in fnmatch.filter(files, filename_pattern): 186 files.append(os.path.join(dir_path, filename))
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
D | result_reporter.py | 471 for filename in file_names: 473 (os.path.join(dir_path, filename), f_path + filename)) 645 for filename, arcname in long_size_file: 646 zip_info = zipfile.ZipInfo.from_file(filename, arcname) 652 with open(filename, "rb") as src, \
|
/test/testfwk/developer_test/src/core/testcase/ |
D | testcase_manager.py | 209 filename = os.path.basename(suite_file) 210 if filename.startswith("test_"):
|
/test/testfwk/developer_test/src/core/config/ |
D | resource_manager.py | 118 filename, ext = os.path.splitext(fullname) 120 return filename, ext
|
/test/xts/tools/lite/build/ |
D | utils.py | 222 for filename in fnmatch.filter(files, filename_pattern): 223 files.append(os.path.join(dir_path, filename))
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/ |
D | webg.ets | 119 … webAsyncController.storeWebArchive("/data/storage/el2/base/",true,(filename) => { 120 if(filename != null) { 121 Utils.emitEvent(filename,400)
|
D | web.ets | 150 … webAsyncController.storeWebArchive("/data/storage/el2/base/",true,(filename) => { 151 if(filename != null) { 152 Utils.emitEvent(filename,400)
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
D | drivers.py | 117 def _create_empty_result_file(filepath, filename, error_message): argument 123 if filename.endswith(".hap"): 124 filename = filename.split(".")[0] 139 (filename, error_message))
|