Home
last modified time | relevance | path

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

/tools/repohooks/tools/
Dandroid_test_mapping_format_unittest.py192 self.test_mapping_file = os.path.join(self.tempdir, 'TEST_MAPPING')
200 with open(self.test_mapping_file, 'w') as f:
202 with open(self.test_mapping_file, 'r') as f:
207 with open(self.test_mapping_file, 'w') as f:
209 with open(self.test_mapping_file, 'r') as f:
216 with open(self.test_mapping_file, 'w') as f:
218 with open(self.test_mapping_file, 'r') as f:
226 with open(self.test_mapping_file, 'w') as f:
228 with open(self.test_mapping_file, 'r') as f:
236 with open(self.test_mapping_file, 'w') as f:
[all …]
Dandroid_test_mapping_format.py87 def _validate_import(entry, test_mapping_file): argument
101 (test_mapping_file, entry))
106 (test_mapping_file, entry))
109 def _validate_test(test, test_mapping_file): argument
123 (test_mapping_file, test))
128 'Failed test config: %s' % (test_mapping_file, test))
135 'config: %s' % (test_mapping_file, test))
142 'config: %s' % (test_mapping_file, test))
148 (test_mapping_file, option))
151 def _load_file(test_mapping_file): argument
[all …]
/tools/asuite/atest/
Dcli_translator.py231 def filter_comments(self, test_mapping_file): argument
253 with open(test_mapping_file) as json_file:
256 def _read_tests_in_test_mapping(self, test_mapping_file): argument
271 test_mapping_dict = json.loads(self.filter_comments(test_mapping_file))
276 test_mapping.Import(test_mapping_file, import_detail))
283 test_mapping_file, test)):
330 for test_mapping_file in test_mapping_files:
332 test_mapping_file)
373 test_mapping_file = os.path.join(path, file_name)
374 if os.path.exists(test_mapping_file):
[all …]
Dtest_mapping.py86 def __init__(self, test_mapping_file, details): argument
102 self.test_mapping_file = test_mapping_file
107 return 'Source: %s, path: %s' % (self.test_mapping_file, self.path)
112 os.path.dirname(self.test_mapping_file), self.path))
123 def is_match_file_patterns(test_mapping_file, test_detail): argument
141 test_mapping_dir = os.path.dirname(test_mapping_file)
Dtest_mapping_unittest.py62 test_mapping_file = ''
70 self.assertTrue(test_mapping.is_match_file_patterns(test_mapping_file,
73 self.assertFalse(test_mapping.is_match_file_patterns(test_mapping_file,
76 self.assertFalse(test_mapping.is_match_file_patterns(test_mapping_file,
78 test_mapping_file = '/a/b/TEST_MAPPING'
81 self.assertTrue(test_mapping.is_match_file_patterns(test_mapping_file,
/tools/tradefederation/core/atest/
Dcli_translator.py232 def filter_comments(self, test_mapping_file): argument
253 with open(test_mapping_file) as json_file:
256 def _read_tests_in_test_mapping(self, test_mapping_file): argument
271 test_mapping_dict = json.loads(self.filter_comments(test_mapping_file))
276 test_mapping.Import(test_mapping_file, import_detail))
283 test_mapping_file, test)):
346 for test_mapping_file in test_mapping_files:
348 test_mapping_file)
389 test_mapping_file = os.path.join(path, file_name)
390 if os.path.exists(test_mapping_file):
[all …]
Dtest_mapping.py88 def __init__(self, test_mapping_file, details): argument
104 self.test_mapping_file = test_mapping_file
109 return 'Source: %s, path: %s' % (self.test_mapping_file, self.path)
114 os.path.dirname(self.test_mapping_file), self.path))
125 def is_match_file_patterns(test_mapping_file, test_detail): argument
143 test_mapping_dir = os.path.dirname(test_mapping_file)
Dtest_mapping_unittest.py59 test_mapping_file = ''
67 self.assertTrue(test_mapping.is_match_file_patterns(test_mapping_file,
70 self.assertFalse(test_mapping.is_match_file_patterns(test_mapping_file,
73 self.assertFalse(test_mapping.is_match_file_patterns(test_mapping_file,
75 test_mapping_file = '/a/b/TEST_MAPPING'
78 self.assertTrue(test_mapping.is_match_file_patterns(test_mapping_file,