Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 34) sorted by relevance

12

/test/testfwk/xdevice/src/xdevice/_core/executor/
Dsource.py296 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/
Dcommon.py75 def create_empty_result_file(savepath, filename, message=""): argument
81 if filename.endswith(".hap"):
82 filename = filename.split(".")[0]
96 (filename, message))
Ddrivers.py47 def make_long_command_file(command, longcommand_path, filename): argument
48 sh_file_name = '%s.sh' % filename
Ddevices.py47 filename = os.path.basename(hap_filepath)
52 "%s.bak" % filename))
/test/xts/acts/multimedia_lite/utils_posix/common/src/
DActsTestMediaUtils.cpp43 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/
Dfile_utils.h33 std::string ReadFile(std::string filename);
39 int GetTxtLine(std::string filename);
40 std::string ReadFile(std::string filename);
Dfile_utils.cpp163 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/
Ddrivers.py153 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/
DHidebug.test.js121 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/
DNativePressTest.py92 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/
DActsTestMediaUtils.h49 int32_t FileCheck(const char *filename);
/test/testfwk/developer_test/src/core/
Dutils.py29 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/
Dnewworker.js50 …or " + data.lineno + ", msg = " + data.message + ", filename = " + data.filename + ", colno = " + …
/test/xts/acts/commonlibrary/ets_utils/worker_lib_standard/entry/src/main/ets/workers/
Dworker.js54 …or " + data.lineno + ", msg = " + data.message + ", filename = " + data.filename + ", colno = " + …
/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py96 filename, ext = os.path.splitext(fullname)
97 return filename, ext
/test/xts/acts/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/
DwebviewpageLackattr.ets267 .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/
DrequestSystem.test.ets45 filename: 'file.txt',
90 filename: 'requestSystenTest',
/test/xts/tools/build/
Dutils.py185 for filename in fnmatch.filter(files, filename_pattern):
186 files.append(os.path.join(dir_path, filename))
/test/testfwk/xdevice/src/xdevice/_core/report/
Dresult_reporter.py471 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/
Dtestcase_manager.py209 filename = os.path.basename(suite_file)
210 if filename.startswith("test_"):
/test/testfwk/developer_test/src/core/config/
Dresource_manager.py118 filename, ext = os.path.splitext(fullname)
120 return filename, ext
/test/xts/tools/lite/build/
Dutils.py222 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/
Dwebg.ets119 … webAsyncController.storeWebArchive("/data/storage/el2/base/",true,(filename) => {
120 if(filename != null) {
121 Utils.emitEvent(filename,400)
Dweb.ets150 … 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/
Ddrivers.py117 def _create_empty_result_file(filepath, filename, error_message): argument
123 if filename.endswith(".hap"):
124 filename = filename.split(".")[0]
139 (filename, error_message))

12