de.retest.recheck.printer.DefaultValueFinderProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of recheck Show documentation
Show all versions of recheck Show documentation
Replace traditional assertions with a single check.
package de.retest.recheck.printer;
import de.retest.recheck.ui.DefaultValueFinder;
@FunctionalInterface
public interface DefaultValueFinderProvider {
DefaultValueFinder findForAction( String name );
static DefaultValueFinderProvider none() {
final DefaultValueFinder noDefaults = ( attributes, key, value ) -> false;
return name -> noDefaults;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy