}
public void exec(Test test){
logger.info("Run test: "+test.getId()+" output directory in "+test.getOutputDirectory());
List<String> resources = test.getResources().getLocations();
logger.info("Resources to load "+resources.toString());
RestrictionsType restrictions = test.getOntoSpreadConfig().getRestrictions();
RestrictionManagerHelper manager = new RestrictionManagerHelper();
for (RestrictionType restriction : restrictions.getRestrictions()) {
addRestriction(manager,restriction);
}
iteration = 0;
//Set function type
FunctionTypeList functions = test.getOntoSpreadConfig().getFunctions();
for (FunctionType function : functions.getFunctions()) {
manager.setFunctionType(function);
logger.info("Function "+manager.getFunctionType());
for (RestrictionType restriction : restrictions.getRestrictions()) {
try {
execIterateRestriction(restriction,test,manager);
} catch (ConceptNotFoundException e) {
e.printStackTrace();
}