Lines Matching refs:test_mapping
323 test_mapping = self.tests_dirs_to_mapping(tests, dirs)
324 self.write_test_mapping(test_mapping)
328 test_mapping = {"imports": []}
335 test_mapping[test_group] = []
351 test_mapping[test_group].append({"name": test, "options": TEST_OPTIONS[test]})
353 test_mapping[test_group].append({"name": test})
354 test_mapping[test_group] = sorted(test_mapping[test_group], key=lambda t: t["name"])
357 test_mapping["imports"].append({"path": dir})
358 test_mapping["imports"] = sorted(test_mapping["imports"], key=lambda t: t["path"])
359 test_mapping = {section: entry for (section, entry) in test_mapping.items() if entry}
360 return test_mapping
362 def write_test_mapping(self, test_mapping): argument
366 json.dump(test_mapping, json_file, indent=2, separators=(',', ': '), sort_keys=True)
396 test_mapping = TestMapping(env, bazel, path)
397 test_mapping.create()