All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.ext.unit.junit.VertxUnitRunnerWithParametersFactory Maven / Gradle / Ivy

package io.vertx.ext.unit.junit;

import org.junit.runner.Runner;
import org.junit.runners.model.InitializationError;
import org.junit.runners.parameterized.ParametersRunnerFactory;
import org.junit.runners.parameterized.TestWithParameters;

/**
 * A {@link org.junit.runners.parameterized.ParametersRunnerFactory} for a {@link io.vertx.ext.unit.junit.VertxUnitRunner}
 * for enabling Vert.x Unit parameterized tests.
 *
 * @author Julien Viet
 */
public class VertxUnitRunnerWithParametersFactory implements ParametersRunnerFactory {

  @Override
  public Runner createRunnerForTestWithParameters(TestWithParameters test) throws InitializationError {
    return new VertxUnitRunnerWithParameters(test);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy