Klasse EngineLifecycleContext

java.lang.Object
net.jqwik.engine.execution.EngineLifecycleContext
Alle implementierten Schnittstellen:
net.jqwik.api.lifecycle.ContainerLifecycleContext, net.jqwik.api.lifecycle.LifecycleContext

public class EngineLifecycleContext extends Object implements net.jqwik.api.lifecycle.ContainerLifecycleContext
  • Konstruktordetails

    • EngineLifecycleContext

      public EngineLifecycleContext(org.junit.platform.engine.TestDescriptor engineDescriptor, net.jqwik.api.Reporter reporter, net.jqwik.api.lifecycle.ResolveParameterHook resolveParameterHook)
  • Methodendetails

    • optionalContainerClass

      public Optional<Class<?>> optionalContainerClass()
      Angegeben von:
      optionalContainerClass in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • optionalElement

      public Optional<AnnotatedElement> optionalElement()
      Angegeben von:
      optionalElement in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • newInstance

      public <T> T newInstance(Class<T> clazz)
      Angegeben von:
      newInstance in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • resolveParameter

      public Optional<net.jqwik.api.lifecycle.ResolveParameterHook.ParameterSupplier> resolveParameter(Executable executable, int index)
      Angegeben von:
      resolveParameter in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • reporter

      public net.jqwik.api.Reporter reporter()
      Angegeben von:
      reporter in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • wrapReporter

      public void wrapReporter(Function<net.jqwik.api.Reporter,net.jqwik.api.Reporter> wrapper)
      Angegeben von:
      wrapReporter in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • label

      public String label()
      Angegeben von:
      label in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • findAnnotation

      public <A extends Annotation> Optional<A> findAnnotation(Class<A> annotationClass)
      Angegeben von:
      findAnnotation in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • findAnnotationsInContainer

      public <A extends Annotation> List<A> findAnnotationsInContainer(Class<A> annotationClass)
      Angegeben von:
      findAnnotationsInContainer in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • findRepeatableAnnotations

      public <T extends Annotation> List<T> findRepeatableAnnotations(Class<T> annotationClass)
      Angegeben von:
      findRepeatableAnnotations in Schnittstelle net.jqwik.api.lifecycle.LifecycleContext
    • toString

      protected String toString(Class<? extends net.jqwik.api.lifecycle.LifecycleContext> contextType)