Package net.jqwik.api.lifecycle
Schnittstelle AfterContainerHook
- Alle Superschnittstellen:
LifecycleHook
- Alle bekannten Unterschnittstellen:
AroundContainerHook
Implement this hook to define behaviour for a container (class or whole test suite)
that should be run exactly once after of its property methods and child containers.
-
Feldübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
afterContainer
(ContainerLifecycleContext context) The code of this method will be run exactly once after all property methods and child containers.default int
The higher the value, the closer to the actual property methods, i.e. the earlier it will be run.default int
compareTo
(AfterContainerHook other) Von Schnittstelle geerbte Methoden net.jqwik.api.lifecycle.LifecycleHook
appliesTo, propagateTo
-
Felddetails
-
DO_NOTHING
-
-
Methodendetails
-
afterContainer
The code of this method will be run exactly once after all property methods and child containers.- Parameter:
context
- The container's context object- Löst aus:
Throwable
-
afterContainerProximity
default int afterContainerProximity()The higher the value, the closer to the actual property methods, i.e. the earlier it will be run. Default value is 0.Values greater than -10 will make it run before methods annotated with AfterContainer, values smaller than -10 will make it run after.
- Gibt zurück:
- an integer value
-
compareTo
-