net.jqwik.api.facades.ShrinkingSupportFacade Maven / Gradle / Ivy
package net.jqwik.api.facades;
import java.util.*;
import org.apiguardian.api.*;
import net.jqwik.api.*;
import net.jqwik.api.lifecycle.*;
import static org.apiguardian.api.API.Status.*;
@API(status = INTERNAL)
public abstract class ShrinkingSupportFacade {
public static final ShrinkingSupportFacade implementation;
static {
implementation = FacadeLoader.load(ShrinkingSupportFacade.class);
}
public abstract T falsifyThenShrink(Arbitrary extends T> arbitrary, Random random, Falsifier falsifier);
public abstract T falsifyThenShrink(RandomGenerator extends T> arbitrary, Random random, Falsifier falsifier);
public abstract T shrink(
Shrinkable falsifiedShrinkable,
Falsifier falsifier,
Throwable originalError
);
public abstract ShrunkFalsifiedSample shrinkToSample(
Shrinkable falsifiedShrinkable,
Falsifier falsifier,
Throwable originalError
);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy