Home
last modified time | relevance | path

Searched refs:first_file_path (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ability/idl_tool/test/sa_test/
H A Dutil.py62 def compare_file(first_file_path, second_file_path): argument
63 with open(first_file_path, 'r') as first_file:
65 …return content_compare(first_file_path, second_file_path, first_file.readlines(), second_file.read…
68 def compare_target_files(first_file_path, second_file_path): argument
69 first_files_list = get_all_files(first_file_path)
72 first_files = set([file[len(first_file_path):] for file in first_files_list])
81 …if not compare_file("{}{}".format(first_file_path, files), "{}{}.txt".format(second_file_path, fil…
82 …print("file ", "{}{}".format(first_file_path, files), "{}{}.txt".format(second_file_path, files), \
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/base/
H A Dutil.py89 def compare_file(first_file_path, second_file_path, special_proc_func=None): argument
90 with open(first_file_path, 'r') as first_file:
92 return content_compare(first_file_path,
106 def compare_target_files(first_file_path, second_file_path, special_proc_func=None): argument
107 first_files_list = get_all_files(first_file_path)
110 first_files = set([file[len(first_file_path):] for file in first_files_list])
134 if not compare_file("{}{}".format(first_file_path, files),
136 … print("file ", "{}{}".format(first_file_path, files), "{}{}".format(second_file_path, files), \
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/test/unittest/
H A Dunit_test.py38 def compare_file(first_file_path, second_file_path): argument
39 with open(first_file_path, 'r') as first_file:
44 def compare_target_files(first_file_path, second_file_path): argument
45 first_files_list = get_all_files(first_file_path)
48 first_files = set([file[len(first_file_path):] for file in first_files_list])
54 …if not compare_file("{}{}".format(first_file_path, files), "{}{}.txt".format(second_file_path, fil…
55 …print("file ", "{}{}".format(first_file_path, files), "{}{}.txt".format(second_file_path, files), \