Lines Matching refs:test_mapping
317 test_mapping = self.tests_dirs_to_mapping(tests, dirs)
318 self.write_test_mapping(test_mapping)
322 test_mapping = {"imports": []}
329 test_mapping[test_group] = []
345 test_mapping[test_group].append({"name": test, "options": TEST_OPTIONS[test]})
347 test_mapping[test_group].append({"name": test})
348 test_mapping[test_group] = sorted(test_mapping[test_group], key=lambda t: t["name"])
351 test_mapping["imports"].append({"path": dir})
352 test_mapping["imports"] = sorted(test_mapping["imports"], key=lambda t: t["path"])
353 test_mapping = {section: entry for (section, entry) in test_mapping.items() if entry}
354 return test_mapping
356 def write_test_mapping(self, test_mapping): argument
360 json.dump(test_mapping, json_file, indent=2, separators=(',', ': '), sort_keys=True)
390 test_mapping = TestMapping(env, bazel, path)
391 test_mapping.create()