Class StoreRepository
java.lang.Object
net.jqwik.engine.execution.lifecycle.StoreRepository
StoreRepository and ScopedStore CANNOT handle concurrent execution of properties!
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ScopedStore<T>create(org.junit.platform.engine.TestDescriptor scope, Object identifier, net.jqwik.api.lifecycle.Lifespan lifespan, Supplier<T> initialValueSupplier) voidfinishProperty(org.junit.platform.engine.TestDescriptor scope) voidfinishScope(org.junit.platform.engine.TestDescriptor scope) voidfinishTry(org.junit.platform.engine.TestDescriptor scope) <T> Optional<ScopedStore<T>>static StoreRepositoryintsize()
-
Constructor Details
-
StoreRepository
public StoreRepository()
-
-
Method Details
-
getCurrent
-
create
public <T> ScopedStore<T> create(org.junit.platform.engine.TestDescriptor scope, Object identifier, net.jqwik.api.lifecycle.Lifespan lifespan, Supplier<T> initialValueSupplier) -
get
public <T> Optional<ScopedStore<T>> get(org.junit.platform.engine.TestDescriptor retriever, Object identifier) -
finishScope
public void finishScope(org.junit.platform.engine.TestDescriptor scope) -
finishProperty
public void finishProperty(org.junit.platform.engine.TestDescriptor scope) -
finishTry
public void finishTry(org.junit.platform.engine.TestDescriptor scope) -
size
public int size()
-