[allure-jsonunit] Deprecate `AllureConfigurableJsonMatcher` in favor of `ConfigurableJsonMatcher` by valfirst · Pull Request #1060 · allure-framework/allure-java

Expand Up @@ -20,13 +20,15 @@ import org.hamcrest.Matcher;
import net.javacrumbs.jsonunit.core.Configuration; import net.javacrumbs.jsonunit.core.ConfigurationWhen.ApplicableForPath; import net.javacrumbs.jsonunit.core.ConfigurationWhen.PathsParam; import net.javacrumbs.jsonunit.core.Option; import net.javacrumbs.jsonunit.core.internal.Diff; import net.javacrumbs.jsonunit.core.internal.Options; import net.javacrumbs.jsonunit.core.listener.DifferenceListener;
/** * Сontains basic matcher functionality and implementation of methods for matching configuration. * Contains basic matcher functionality and implementation of methods for matching configuration. * * @param <T> the type */ Expand Down Expand Up @@ -54,6 +56,11 @@ public T when(final Option first, final Option... next) { return (T) this; }
public T when(final PathsParam pathsParam, final ApplicableForPath... applicableForPaths) { this.configuration = this.configuration.when(pathsParam, applicableForPaths); return (T) this; }
public T withOptions(final Options options) { this.configuration = configuration.withOptions(options); return (T) this; Expand Down