1 package org.junit.runners.parameterized; 2 3 import org.junit.runner.Runner; 4 import org.junit.runners.model.InitializationError; 5 6 /** 7 * A {@link ParametersRunnerFactory} that creates 8 * {@link BlockJUnit4ClassRunnerWithParameters}. 9 * 10 * @since 4.12 11 */ 12 public class BlockJUnit4ClassRunnerWithParametersFactory implements 13 ParametersRunnerFactory { createRunnerForTestWithParameters(TestWithParameters test)14 public Runner createRunnerForTestWithParameters(TestWithParameters test) 15 throws InitializationError { 16 return new BlockJUnit4ClassRunnerWithParameters(test); 17 } 18 } 19