org.pitest.mutationtest.environment.CompositeReset Maven / Gradle / Ivy
package org.pitest.mutationtest.environment;
import org.pitest.mutationtest.engine.Mutant;
import java.util.Collections;
import java.util.List;
public class CompositeReset implements ResetEnvironment {
private final List children;
public CompositeReset(List children) {
this.children = Collections.unmodifiableList(children);
}
@Override
public void resetFor(Mutant mutatedClass) {
for (ResetEnvironment each : children) {
each.resetFor(mutatedClass);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy