Class PropertyCheckResult

java.lang.Object
net.jqwik.engine.properties.PropertyCheckResult
All Implemented Interfaces:
net.jqwik.api.lifecycle.PropertyExecutionResult, ExtendedPropertyExecutionResult

public class PropertyCheckResult extends Object implements ExtendedPropertyExecutionResult
  • Method Details

    • successful

      public static PropertyCheckResult successful(String stereotype, String propertyName, int tries, int checks, String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried)
    • failed

      public static PropertyCheckResult failed(String stereotype, String propertyName, int tries, int checks, GenerationInfo generationInfo, 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, Throwable throwable)
    • skipExample

      public static PropertyCheckResult skipExample(String stereotype, String propertyName, String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried, Throwable throwable)
    • exhausted

      public static PropertyCheckResult exhausted(String stereotype, String propertyName, int tries, int checks, String randomSeed, net.jqwik.api.GenerationMode generation, net.jqwik.api.EdgeCasesMode edgeCasesMode, int edgeCasesTotal, int edgeCasesTried, Throwable throwable)
    • falsifiedParameters

      public Optional<List<Object>> falsifiedParameters()
      Specified by:
      falsifiedParameters in interface net.jqwik.api.lifecycle.PropertyExecutionResult
    • status

      public net.jqwik.api.lifecycle.PropertyExecutionResult.Status status()
      Specified by:
      status in interface net.jqwik.api.lifecycle.PropertyExecutionResult
    • throwable

      public Optional<Throwable> throwable()
      Specified by:
      throwable in interface net.jqwik.api.lifecycle.PropertyExecutionResult
    • mapTo

      public net.jqwik.api.lifecycle.PropertyExecutionResult mapTo(net.jqwik.api.lifecycle.PropertyExecutionResult.Status newStatus, Throwable throwable)
      Specified by:
      mapTo in interface net.jqwik.api.lifecycle.PropertyExecutionResult
    • isExtended

      public boolean isExtended()
      Specified by:
      isExtended in interface ExtendedPropertyExecutionResult
    • propertyName

      public String propertyName()
    • checkStatus

      public net.jqwik.engine.properties.PropertyCheckResult.CheckStatus checkStatus()
    • countChecks

      public int countChecks()
      Specified by:
      countChecks in interface net.jqwik.api.lifecycle.PropertyExecutionResult
    • countTries

      public int countTries()
      Specified by:
      countTries in interface net.jqwik.api.lifecycle.PropertyExecutionResult
    • generationInfo

      public GenerationInfo generationInfo()
      Specified by:
      generationInfo in interface ExtendedPropertyExecutionResult
    • originalSample

      public Optional<net.jqwik.api.lifecycle.FalsifiedSample> originalSample()
      Specified by:
      originalSample in interface net.jqwik.api.lifecycle.PropertyExecutionResult
    • shrunkSample

      public Optional<net.jqwik.api.lifecycle.ShrunkFalsifiedSample> shrunkSample()
      Specified by:
      shrunkSample in interface net.jqwik.api.lifecycle.PropertyExecutionResult
    • generation

      public net.jqwik.api.GenerationMode generation()
      Specified by:
      generation in interface ExtendedPropertyExecutionResult
    • edgeCases

      Specified by:
      edgeCases in interface ExtendedPropertyExecutionResult
    • toString

      public String toString()
      Overrides:
      toString in class Object