blob: 16ea1f30e0298a2196f0ed4c5f499f10c24a6d62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.junit.runners.parameterized;
import org.junit.runner.Runner;
import org.junit.runners.model.InitializationError;
/**
* A {@code ParameterizedRunnerFactory} 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;
}
|