blob: 8123e83b1a150d3144d1b09ef95c5c33f0aa78d5 [file] [log] [blame]
package org.junit.runners.parameterized;
import org.junit.runner.Runner;
import org.junit.runners.model.InitializationError;
/**
* A {@code ParametersRunnerFactory} creates a runner for a single
* {@link TestWithParameters}.
*
* @since 4.12
*/
public interface ParametersRunnerFactory {
/**
* Returns a runner for the specified {@link TestWithParameters}.
*
* @throws InitializationError
* if the runner could not be created.
*/
Runner createRunnerForTestWithParameters(TestWithParameters test)
throws InitializationError;
}