org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParametersFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reactor-junit4 Show documentation
Show all versions of reactor-junit4 Show documentation
JUnit is a unit testing framework for Java, created by Erich Gamma and Kent Beck.
The newest version!
package org.junit.runners.parameterized;
import org.junit.runner.Runner;
import org.junit.runners.model.InitializationError;
/**
* A {@link ParametersRunnerFactory} that creates
* {@link BlockJUnit4ClassRunnerWithParameters}.
*
* @since 4.12
*/
public class BlockJUnit4ClassRunnerWithParametersFactory implements
ParametersRunnerFactory {
public Runner createRunnerForTestWithParameters(TestWithParameters test)
throws InitializationError {
return new BlockJUnit4ClassRunnerWithParameters(test);
}
}