Package net.jqwik.engine.properties
Class PropertyCheckResult
- java.lang.Object
-
- net.jqwik.engine.properties.PropertyCheckResult
-
- All Implemented Interfaces:
net.jqwik.api.lifecycle.PropertyExecutionResult,ExtendedPropertyExecutionResult
public class PropertyCheckResult extends java.lang.Object implements ExtendedPropertyExecutionResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.jqwik.engine.execution.lifecycle.ExtendedPropertyExecutionResult
ExtendedPropertyExecutionResult.EdgeCasesExecutionResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description net.jqwik.engine.properties.PropertyCheckResult.CheckStatuscheckStatus()intcountChecks()intcountTries()ExtendedPropertyExecutionResult.EdgeCasesExecutionResultedgeCases()static PropertyCheckResultexhausted(java.lang.String stereotype, java.lang.String propertyName, int tries, int checks, java.lang.String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried)static PropertyCheckResultfailed(java.lang.String stereotype, java.lang.String propertyName, int tries, int checks, java.lang.String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried, net.jqwik.api.lifecycle.FalsifiedSample originalSample, net.jqwik.api.lifecycle.ShrunkFalsifiedSample shrunkSample, java.lang.Throwable throwable)java.util.Optional<java.util.List<java.lang.Object>>falsifiedParameters()net.jqwik.api.GenerationModegeneration()booleanisExtended()net.jqwik.api.lifecycle.PropertyExecutionResultmapTo(net.jqwik.api.lifecycle.PropertyExecutionResult.Status newStatus, java.lang.Throwable throwable)java.util.Optional<net.jqwik.api.lifecycle.FalsifiedSample>originalSample()java.lang.StringpropertyName()java.lang.StringrandomSeed()java.util.Optional<java.lang.String>seed()java.util.Optional<net.jqwik.api.lifecycle.ShrunkFalsifiedSample>shrunkSample()static PropertyCheckResultskipExample(java.lang.String stereotype, java.lang.String propertyName, java.lang.String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried, java.lang.Throwable throwable)net.jqwik.api.lifecycle.PropertyExecutionResult.Statusstatus()static PropertyCheckResultsuccessful(java.lang.String stereotype, java.lang.String propertyName, int tries, int checks, java.lang.String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried)java.util.Optional<java.lang.Throwable>throwable()java.lang.StringtoString()
-
-
-
Method Detail
-
successful
public static PropertyCheckResult successful(java.lang.String stereotype, java.lang.String propertyName, int tries, int checks, java.lang.String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried)
-
failed
public static PropertyCheckResult failed(java.lang.String stereotype, java.lang.String propertyName, int tries, int checks, java.lang.String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried, net.jqwik.api.lifecycle.FalsifiedSample originalSample, net.jqwik.api.lifecycle.ShrunkFalsifiedSample shrunkSample, java.lang.Throwable throwable)
-
skipExample
public static PropertyCheckResult skipExample(java.lang.String stereotype, java.lang.String propertyName, java.lang.String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried, java.lang.Throwable throwable)
-
exhausted
public static PropertyCheckResult exhausted(java.lang.String stereotype, java.lang.String propertyName, int tries, int checks, java.lang.String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried)
-
falsifiedParameters
public java.util.Optional<java.util.List<java.lang.Object>> falsifiedParameters()
- Specified by:
falsifiedParametersin interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
seed
public java.util.Optional<java.lang.String> seed()
- Specified by:
seedin interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
status
public net.jqwik.api.lifecycle.PropertyExecutionResult.Status status()
- Specified by:
statusin interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
throwable
public java.util.Optional<java.lang.Throwable> throwable()
- Specified by:
throwablein interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
mapTo
public net.jqwik.api.lifecycle.PropertyExecutionResult mapTo(net.jqwik.api.lifecycle.PropertyExecutionResult.Status newStatus, java.lang.Throwable throwable)- Specified by:
mapToin interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
isExtended
public boolean isExtended()
- Specified by:
isExtendedin interfaceExtendedPropertyExecutionResult
-
propertyName
public java.lang.String propertyName()
-
checkStatus
public net.jqwik.engine.properties.PropertyCheckResult.CheckStatus checkStatus()
-
countChecks
public int countChecks()
- Specified by:
countChecksin interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
countTries
public int countTries()
- Specified by:
countTriesin interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
randomSeed
public java.lang.String randomSeed()
- Specified by:
randomSeedin interfaceExtendedPropertyExecutionResult
-
originalSample
public java.util.Optional<net.jqwik.api.lifecycle.FalsifiedSample> originalSample()
- Specified by:
originalSamplein interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
shrunkSample
public java.util.Optional<net.jqwik.api.lifecycle.ShrunkFalsifiedSample> shrunkSample()
- Specified by:
shrunkSamplein interfacenet.jqwik.api.lifecycle.PropertyExecutionResult
-
generation
public net.jqwik.api.GenerationMode generation()
- Specified by:
generationin interfaceExtendedPropertyExecutionResult
-
edgeCases
public ExtendedPropertyExecutionResult.EdgeCasesExecutionResult edgeCases()
- Specified by:
edgeCasesin interfaceExtendedPropertyExecutionResult
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-