Home
last modified time | relevance | path

Searched refs:test_mapping_file (Results 1 – 11 of 11) sorted by relevance

/aosp_15_r20/tools/repohooks/tools/
H A Dandroid_test_mapping_format_unittest.py193 self.test_mapping_file = os.path.join(self.tempdir, 'TEST_MAPPING')
201 with open(self.test_mapping_file, 'w', encoding='utf-8') as file:
203 with open(self.test_mapping_file, 'r', encoding='utf-8') as file:
208 with open(self.test_mapping_file, 'w', encoding='utf-8') as file:
210 with open(self.test_mapping_file, 'r', encoding='utf-8') as file:
217 with open(self.test_mapping_file, 'w', encoding='utf-8') as file:
219 with open(self.test_mapping_file, 'r', encoding='utf-8') as file:
227 with open(self.test_mapping_file, 'w', encoding='utf-8') as file:
229 with open(self.test_mapping_file, 'r', encoding='utf-8') as file:
237 with open(self.test_mapping_file, 'w', encoding='utf-8') as file:
[all …]
H A Dandroid_test_mapping_format.py80 def _validate_import(entry: Dict[str, Any], test_mapping_file: str):
100 def _validate_test(test: Dict[str, Any], test_mapping_file: str) -> bool:
144 def process_file(test_mapping_file: str):
147 test_mapping_data = json.loads(_filter_comments(test_mapping_file))
161 _validate_import(test, test_mapping_file)
165 _validate_test(test, test_mapping_file)
/aosp_15_r20/tools/asuite/atest/
H A Dcli_translator.py442 def filter_comments(self, test_mapping_file): argument
468 with open(test_mapping_file, encoding='utf-8') as json_file:
471 def _read_tests_in_test_mapping(self, test_mapping_file): argument
488 test_mapping_dict = json.loads(self.filter_comments(test_mapping_file))
497 imports.append(test_mapping.Import(test_mapping_file, import_detail))
505 test_mapping_file, test
560 for test_mapping_file in test_mapping_files:
561 all_tests, imports = self._read_tests_in_test_mapping(test_mapping_file)
610 test_mapping_file = os.path.join(path, file_name)
611 if os.path.exists(test_mapping_file):
[all …]
H A Dtest_mapping.py85 def __init__(self, test_mapping_file, details): argument
101 self.test_mapping_file = test_mapping_file
106 return 'Source: %s, path: %s' % (self.test_mapping_file, self.path)
111 os.path.join(os.path.dirname(self.test_mapping_file), self.path)
123 def is_match_file_patterns(test_mapping_file, test_detail): argument
142 test_mapping_dir = os.path.dirname(test_mapping_file)
H A Dtest_mapping_unittest.py62 test_mapping_file = ''
75 test_mapping.is_match_file_patterns(test_mapping_file, test_detail)
79 test_mapping.is_match_file_patterns(test_mapping_file, test_detail)
83 test_mapping.is_match_file_patterns(test_mapping_file, test_detail)
85 test_mapping_file = '/a/b/TEST_MAPPING'
91 test_mapping.is_match_file_patterns(test_mapping_file, test_detail)
/aosp_15_r20/build/make/ci/
H A Dtest_mapping_module_retriever.py44 def FilterComments(test_mapping_file: str) -> str:
55 return re.sub(_COMMENTS_RE, r'\1', test_mapping_file)
104 test_mapping_file = os.path.join(os.path.join(os.getcwd(), path), 'TEST_MAPPING')
106 content = FilterComments(open(test_mapping_file, "r").read())
/aosp_15_r20/art/test/utils/
H A Dregen-test-files886 test_mapping_file = os.path.join(self.art_dir, "TEST_MAPPING")
887 with open(test_mapping_file, "w") as f:
/aosp_15_r20/prebuilts/sdk/
H A Dupdate_prebuilts.py41 test_mapping_file = os.path.join(androidx_dir, 'TEST_MAPPING') variable
926 files_to_restore = [androidx_owners, java_plugins_bp_path, test_mapping_file,
/aosp_15_r20/prebuilts/sdk/update_prebuilts/
H A Dupdate_prebuilts.py41 test_mapping_file = os.path.join(androidx_dir, 'TEST_MAPPING') variable
926 files_to_restore = [androidx_owners, java_plugins_bp_path, test_mapping_file,
/aosp_15_r20/external/python/cpython3/Lib/test/
Dmultibytecodec_support.py301 def test_mapping_file(self): member in TestBase_Mapping
/aosp_15_r20/external/python/cpython2/Lib/test/
Dmultibytecodec_support.py275 def test_mapping_file(self): member in TestBase_Mapping