001 package org.junit.runners.parameterized; 002 003 import org.junit.runner.Runner; 004 import org.junit.runners.model.InitializationError; 005 006 /** 007 * A {@link ParametersRunnerFactory} that creates 008 * {@link BlockJUnit4ClassRunnerWithParameters}. 009 * 010 * @since 4.12 011 */ 012 public class BlockJUnit4ClassRunnerWithParametersFactory implements 013 ParametersRunnerFactory { 014 public Runner createRunnerForTestWithParameters(TestWithParameters test) 015 throws InitializationError { 016 return new BlockJUnit4ClassRunnerWithParameters(test); 017 } 018 }