use of de.dagere.peass.dependency.DependencyManager in project peass by DaGeRe.
the class DependencyReader method readCompletedVersions.
public void readCompletedVersions(final StaticTestSelection initialdependencies) {
dependencyManager = new DependencyManager(folders, executionConfig, kiekerConfig, env);
changeManager = new ChangeManager(folders, iterator, executionConfig, dependencyManager.getExecutor());
staticChangeHandler = new StaticChangeHandler(folders, executionConfig, dependencyManager);
dependencyResult.setVersions(initialdependencies.getVersions());
dependencyResult.setInitialversion(initialdependencies.getInitialversion());
InitialVersionReader initialVersionReader = new InitialVersionReader(initialdependencies, dependencyManager, iterator);
initialVersionReader.readCompletedVersions();
DependencyReaderUtil.write(dependencyResult, resultsFolders.getStaticTestSelectionFile());
lastRunningVersion = iterator.getTag();
}
use of de.dagere.peass.dependency.DependencyManager in project peass by DaGeRe.
the class DependencyReader method readInitialVersion.
public boolean readInitialVersion() throws IOException, InterruptedException, XmlPullParserException, ParseException, ViewNotFoundException {
dependencyManager = new DependencyManager(folders, executionConfig, kiekerConfig, env);
changeManager = new ChangeManager(folders, iterator, executionConfig, dependencyManager.getExecutor());
staticChangeHandler = new StaticChangeHandler(folders, executionConfig, dependencyManager);
InitialVersionReader initialVersionReader = new InitialVersionReader(dependencyResult, dependencyManager, iterator);
if (initialVersionReader.readInitialVersion()) {
DependencyReaderUtil.write(dependencyResult, resultsFolders.getStaticTestSelectionFile());
lastRunningVersion = iterator.getTag();
if (dependencyConfig.isGenerateTraces()) {
generateInitialViews();
}
dependencyManager.cleanResultFolder();
return true;
} else {
return false;
}
}
Aggregations