Package de.tum.in.test.api.jqwik
Class JqwikTestGuard
java.lang.Object
de.tum.in.test.api.jqwik.JqwikTestGuard
- All Implemented Interfaces:
net.jqwik.api.lifecycle.AroundPropertyHook,net.jqwik.api.lifecycle.LifecycleHook
@API(status=INTERNAL)
public final class JqwikTestGuard
extends java.lang.Object
implements net.jqwik.api.lifecycle.AroundPropertyHook
This class' main purpose is to guard the
HiddenTests execution and
evaluate the Deadline.
Adaption for jqwik.
- Author:
- Christian Femers
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JqwikTestGuard() -
Method Summary
Modifier and Type Method Description net.jqwik.api.lifecycle.PropertyExecutionResultaroundProperty(net.jqwik.api.lifecycle.PropertyLifecycleContext context, net.jqwik.api.lifecycle.PropertyExecutor property)intaroundPropertyProximity()
-
Constructor Details
-
JqwikTestGuard
public JqwikTestGuard()
-
-
Method Details
-
aroundPropertyProximity
public int aroundPropertyProximity()- Specified by:
aroundPropertyProximityin interfacenet.jqwik.api.lifecycle.AroundPropertyHook
-
aroundProperty
public net.jqwik.api.lifecycle.PropertyExecutionResult aroundProperty(net.jqwik.api.lifecycle.PropertyLifecycleContext context, net.jqwik.api.lifecycle.PropertyExecutor property) throws java.lang.Throwable- Specified by:
aroundPropertyin interfacenet.jqwik.api.lifecycle.AroundPropertyHook- Throws:
java.lang.Throwable
-