use of de.dagere.peass.reexecutions.MissingExecutionFinder in project peass by DaGeRe.
the class FindMissingValidation method main.
public static void main(final String[] args) throws JsonParseException, JsonMappingException, IOException, JAXBException {
final RepoFolders folders = new RepoFolders();
File reexecuteFolder = new File("results/reexecute-validation");
reexecuteFolder.mkdirs();
for (String project : GetValidationExecutionFile.VALIDATION_PROJECTS) {
LOG.info("Analyzing {}", project);
File executionFile = GetValidationExecutionFile.getValidationExecutionFile(project);
ExecutionData tests = Constants.OBJECTMAPPER.readValue(executionFile, ExecutionData.class);
MissingExecutionFinder missingExecutionFinder = new MissingExecutionFinder(project, reexecuteFolder, tests, "commentExec");
missingExecutionFinder.findMissing(new File[] { folders.getValidationDataFolder(project) });
}
}
Aggregations