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

net.jqwik.api.facades.ShrinkingSupportFacade Maven / Gradle / Ivy

There is a newer version: 1.9.2
Show newest version
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 arbitrary, Random random, Falsifier falsifier);

	public abstract  T falsifyThenShrink(RandomGenerator 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