com.anarsoft.vmlens.concurrent.junit.internal.InvokeListOfMethods Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of concurrent-junit Show documentation
Show all versions of concurrent-junit Show documentation
A http://junit.org test runner to run concurrent unit tests.
The newest version!
package com.anarsoft.vmlens.concurrent.junit.internal;
import java.util.List;
import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.Statement;
public class InvokeListOfMethods extends Statement {
private final Object target;
private final List befores;
public InvokeListOfMethods( List befores, Object target) {
this.befores = befores;
this.target = target;
}
@Override
public void evaluate() throws Throwable {
for (FrameworkMethod before : befores) {
before.invokeExplosively(target);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy