Package net.jqwik.api.lifecycle
Schnittstelle FalsifiedSample
- Alle bekannten Unterschnittstellen:
ShrunkFalsifiedSample
@API(status=MAINTAINED,
since="1.3.5")
public interface FalsifiedSample
A falsified sample is the collection of data that could be falsified during
a property run.
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe error which resulted in falsifying a property.List of footnotes to be added to failure report.The actual parameters used when running a property method.The list of shrinkables that were used to generate the parameters.
-
Methodendetails
-
parameters
The actual parameters used when running a property method.If parameters are muted during the run, e.g. elements have been added to a mutable collection, this method returns the muted objects.
- Gibt zurück:
- list of objects of same size as list returned by shrinkables().
-
shrinkables
List<Shrinkable<Object>> shrinkables()The list of shrinkables that were used to generate the parameters. The position of shrinkables corresponds to the actual parameter object in parameters().You can create a fresh, unchanged list of parameter objects through
sample.shrinkables().stream(Shrinkable::value).collect(Collectors.toList())
.- Gibt zurück:
- list of shrinkables of same size as list returned by parameters().
-
falsifyingError
The error which resulted in falsifying a property. If the property was falsified by return false this method returnsOptional.empty()
.- Gibt zurück:
- an optional error
-
footnotes
List of footnotes to be added to failure report.- Gibt zurück:
- list of strings
-