com.wesleyhome.test.jupiter.InvalidParameterException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit-jupiter-params-generated Show documentation
Show all versions of junit-jupiter-params-generated Show documentation
Library to help generate test parameter permutations for parameterized tests in JUnit.
This version is an initial attempt to convert to building with Gradle.
package com.wesleyhome.test.jupiter;
import java.util.List;
import java.util.stream.Collectors;
@SuppressWarnings("ALL")
public class InvalidParameterException extends RuntimeException {
public InvalidParameterException(Class> parameterClass, List> dataProviderClasses) {
super(String.format("Unable to find suitable data provider for %s from %s",
parameterClass.getSimpleName(),
dataProviderClasses.stream()
.map(Class::toString)
.collect(Collectors.joining(", "))
));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy