
protected Map<String,ProgramVariantValidationResult> validations = new HashMap<>();
</BUG>
public CompoundValidationResult() {
}
<BUG>public void addValidation(String mode, ProgramVariantValidationResult p){
</BUG>
this.validations.put(mode, p);
}
<BUG>public ProgramVariantValidationResult getValidation(String mode){
</BUG>
return this.validations.get(mode);

package fr.inria.astor.core.validation.validators;
import java.util.HashMap;
import java.util.Map;
import fr.inria.astor.core.entities.TestCaseVariantValidationResult;
public class CompoundValidationResult implements TestCaseVariantValidationResult {
protected Map<String,TestCaseVariantValidationResult> validations = new HashMap<>();
public CompoundValidationResult() {
